<!--
function popup(htmlFile, winName, popW, popH) {
	var handle = window.open(htmlFile, winName, 'resizable=yes,scrollbars=yes,status=no,menubar=no,toolbar=no,width='+popW+',height='+popH+',left=40,top=40');
	if (handle.focus) {handle.focus();}
}

function setStatus(statusTxt) {
	window.status = statusTxt;
	return true;
}

function showHide(elmName) {
	try {
		var elm = document.getElementById(elmName);
		elm.style.display = ((elm.style.display=='')? 'none' : '');
	} catch(e) {;}	
}
//menu
var currMnu=null;
document.onclick = new Function("showHideMnu(null)");
function getLoc(elm,offsetType) {
	var loc = 0; while (elm!=null) {loc+=elm[offsetType]; elm=elm.offsetParent;} return loc;
}
function showHideMnu(elm,mnuName,showBln) {
	if (mnuName!=null) {
		if (!showBln) {mnuName.style.display='none';}
		else {mnuName.style.display=''; mnuName.style.pixelLeft = getLoc(elm,"offsetLeft"); mnuName.style.pixelTop = getLoc(elm,"offsetTop")+elm.offsetHeight+6;}
	}
	if ((mnuName!=currMnu)&&(currMnu!=null)) { currMnu.style.display='none'; } currMnu=mnuName;
}

function writeContact(uname,dname) {
	document.write('<'+'a hr'+'ef="'+'mai'+'lto:'+uname+'@'+dname+'"'); document.write('>'+uname+'@'+dname+'<'+'/'+'a>');
}
// -->


