//20090623 EL: skipped blurlinks
function bodyOnload() {
}

function initTip() {
	var div = document.getElementsByTagName("div");
	for(var i=0; i<div.length ;i++) {
		if( div[i].className == "toolTip" ) div[i].style.visibility="hidden";
	}
}

function showTip(obj) {
	document.getElementById(obj).style.visibility=(document.getElementById(obj).style.visibility=='hidden')?'visible':'hidden';
}

function doForm(myFormName) {
	if (formVal(document.forms[myFormName])) {
		document.forms[myFormName].submit();
		return true;
	}
	return false;
}

function doPop(doc, naam, width, height) {
	var x  = (screen.width - width) / 2;
	var y  = (screen.height - height) / 2;
	var newpop = window.open(doc, naam, "width="+width+",height="+height+", toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,zoombox=0,left="+x+",top="+y);
	newpop.focus();
}

function doPop2(doc, str, naam, width, height) {
	var x  = (screen.width - width) / 2;
	var y  = (screen.height - height) / 2;
	var newpop = window.open(doc+"?f_id="+str, naam, "width="+width+",height="+height+", toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,zoombox=0,left="+x+",top="+y);
	newpop.focus();
}

function doPop3(doc, str, naam, width, height) {
	var x  = (screen.width - width) / 2;
	var y  = (screen.height - height) / 2;
	var newpop = window.open(doc, naam, "width="+width+",height="+height+", toolbar=1,location=1,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,zoombox=0,left="+x+",top="+y);
	newpop.focus();
}

function sluiten(str) {
	window.opener.location.reload(str);
	window.close();
}

function gewoonSluiten() {
	window.opener.location.reload();
	window.close();
}

function inserticon(from,to){
	document.getElementById(to).value += from;
	document.getElementById(to).focus();
}

