function hidestatus(){
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
function bookmark() {
window.external.AddFavorite(location.href,document.title);
}
var hide  = true;
function showhide(obj,l) {
if (l == null) {tl='olayer'}else{tl='olayer'+l;}
	var x = new getObj(tl);
	hide = !hide;
	x.style.visibility = (hide) ? 'hidden' : 'visible';
	setLyr(obj,tl);
}
function setLyr(obj,lyr) {
	var newX = findPosX(obj);
	var newY = findPosY(obj);
	if (lyr == 'testP') newY -= 50;
	var x = new getObj(lyr);
	if (navigator.appName == 'Microsoft Internet Explorer') {x.style.top = newY + 'px';} else {x.style.top = newY-14 + 'px';}
	x.style.left = newX + 'px';
}
function findPosX(obj){
	var curleft = 0;
	if (obj.offsetParent)	{
		while (obj.offsetParent) {
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	}	else if (obj.x)	curleft += obj.x;
	return curleft;
}
function findPosY(obj){
	var curtop = 0;
	if (obj.offsetParent)	{
		while (obj.offsetParent){
			curtop += obj.offsetTop
			obj = obj.offsetParent;
		}
	}	else if (obj.y)	curtop += obj.y;
	return curtop;
}
function getObj(name){
 if (document.getElementById) {
	   this.obj = document.getElementById(name);
	   this.style = document.getElementById(name).style;
 } else if (document.all) {
	   this.obj = document.all[name];
	   this.style = document.all[name].style;
 } else if (document.layers) {
	   if (document.layers[name]) {
	   	this.obj = document.layers[name];
	   	this.style = document.layers[name];
	   } else {
	    this.obj = document.layers.testP.layers[name];
	    this.style = document.layers.testP.layers[name];
	   }
 }
}

