// JavaScript Document
var isIE=document.all?true:false;
var isDOM=document.getElementById?true:false;
var isNS4=document.layers?true:false;
function toggleT(_w,_h) {
  if (isDOM)
  {
    if (_h=='s') {
		 document.getElementById(_w).style.visibility='visible';
		 document.getElementById(_w).title='show';	
		 }
    if (_h=='h') {
		document.getElementById(_w).title='hide';	
		setTimeout('hidethis("'+_w+'")',1250);
	}
  }
  else if (isIE) {
    if (_h=='s') eval("document.all."+_w+".style.visibility='visible';");
    if (_h=='h') {
		eval("document.all."+_w+".title ='hide';");
		setTimeout('hidethis("'+_w+'")',1250);
	}
  }
  else if(isNS4) {
    if (_h=='s') eval("document.layers['"+_w+"'].visibility='show';");
    if (_h=='h') {
		eval("document.layers['"+_w+"'].title='hide';");
		setTimeout('hidethis("'+_w+'")',1250);
	}
  }
}

function hidethis(_w){
	if (isDOM){
		if(document.getElementById(_w).title =='hide'){
			document.getElementById(_w).style.visibility='hidden';
		}
	} else if (isIE) {
		if (document.all._w.title == 'hide'){
			eval("document.all."+_w+".style.visibility='hidden';");
		}
  	} else if(isNS4) {
		if (document.layers['+_w+'].title == 'hide'){    
			eval("document.layers['"+_w+"'].visibility='hide';");
		}
  }
}
function CloseWindow() {
		window.opener.focus();
		window.close();
}