
// JavaScript Document

function showMe(id) { 
	active = id; 
	if (document.all) { 
	document.all[active].style.visibility = "visible";
	} 
	if(document.layers) { 
	document.layers[active].visibility = "show" ;
	} 
	if(document.getElementById) {
	document.getElementById(active).style.visibility='visible';
	} 
}

function hideMe(id){
	active = id; 
	if (document.all) { 
	document.all[active].style.visibility = "hidden"; 
	} 
	if(document.layers){ 
	document.layers[active].visibility = "hide";
	} 
	if(document.getElementById) {
	document.getElementById(active).style.visibility='hidden';
	} 
}



var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}


sfHover = function() {
	var sfEls = document.body.getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
