<!--
var menuOpen='';
var menuInt='';
var active = "none";
var timer = 0;


function show_hide(id) {
	if(document.getElementById(id).style.display != 'none') {
		document.getElementById(id).style.display = 'none';
	}
	else {
		document.getElementById(id).style.display = 'block';
	}
}


function show(sid,spanid) {	
	clearTimeout(timer);	
	dobj = document.getElementById(spanid);  	
  	document.getElementById(sid).style.top=divTop(dobj)+15;
  	document.getElementById(sid).style.left=divLeft(dobj);	
	document.getElementById(sid).style.display = "block";
	if(active != sid && active != "none") {
		hide(active);
	}
	active = sid;
}

function starthide(sid) {	
	timer = setTimeout("hide('"+sid+"')", 300);
}

function hide(sid) {
	clearTimeout(timer);
	document.getElementById(sid).style.display = "none";
}

	
function divLeft (el) {

	var ol = el.offsetLeft;

	while ((el = el.offsetParent) != null) {
		ol += el.offsetLeft;
	}

return ol;

}

function divTop (el) {

	var ol = el.offsetTop;

	while ((el = el.offsetParent) != null) {
		ol += el.offsetTop;
	}

return ol;
}



function open_mailwindow(url){
	geneva = window.open(url,'open_mailwindow','width=640,height=380,history=no,resizable=no,status=no,scrollbars=no,menubar=no');
}


function open_printpage(url){
	geneva = window.open(url,'open_printpage','width=615,history=no,resizable=yes,status=no,scrollbars=yes,menubar=yes');
}

function open_newwindow(url, w, h) {
         var win = window.open(url,'open_survey','toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,WIDTH='+w+',HEIGHT='+h);
		 win.focus();
}


//-->