function HideLayer(id) {
	var thisDiv = document.getElementById(id);
	thisDiv.style.visibility = "hidden";
}

function ShowLayer(id) {
	var thisDiv = document.getElementById(id);
	thisDiv.style.visibility = "visible";
}

function newWin(url,name,width,height,left,top,resize,menu,dir,scroll,locate,stat,tool,depend) {
		if (! url) { url="/"; }
		if (! name) { name="new_win"; }
		if (! width) { width=550; }
        if (! height) { height=350; }
		if (! left) { left=20; }
		if (! top) { top=20; }
		if (! resize) { resize=1; }
		if (! menu) { menu=0; }
		if (! dir) { dir=0; }
		if (! scroll) { scroll=1; }
		if (! locate) { locate=0; }
		if (! stat) { stat=0; }
		if (! tool) { tool=0; }
		if (! depend) { depend=1; }
				
        var remote=window.open(url,name,'resizable='+resize+',menubar='+menu+',scrollbars='+scroll+',location='+locate+',status='+stat+',toolbar='+tool+',dependent='+depend+',width='+width+',height='+height+',left='+left+',screenX='+left+',top='+top+',screenY='+top+',directories='+dir+'');
		remote.focus();
		return false;
}
