 // window popup function
function winpop(url, wid, hei) {
  if(wid != null && hei != null) { 
  	win=open(url,"win","height="+ hei +",width="+wid+",resizable=yes,scrollbars=no");win.focus(); 
  } else {
	win=open(url,"win");win.focus();
  }
}

//shows the sub menu 
function showmenu(){
	if(document.getElementById){
		document.getElementById('menu').style.visibility="visible";
	}

	if(document.layers){
		document.menu.visibility="visible";
	}

	if(document.all && !(document.getElementById)){
		menu.style.visibility="visible";
	}
}

//hides the sub menu
function hideall(){
	if(document.getElementById){
		document.getElementById('menu').style.visibility="hidden";
	}

	if(document.layers){
		document.menu.visibility="hidden";
	}

	if(document.all && !(document.getElementById)){
		menu.style.visibility="hidden";
	}
}

// EMAIL ANTILEECH SCRIPT by Frederic Andrieux & Boweries Inc. Ltd. (c)2002
// http://www.boweries.com/scripts/email_antileech.shtml
function sendmail (address) {
address = address.split("#"); // Change the # to any string for better personalization
address = address.join("@");
window.open ('mailto:'+address,'_blank');
}

