<!--
var browser=1;
var ready=0;
var loc;

function makeMenu(obj){
    this.css=eval('document.all.lay'+obj+'.style');
	this.x=this.css.pixelLeft; this.y=this.css.pixelTop;
	this.hideIt=b_hideIt;	this.showIt=b_showIt; this.moveIt=b_moveIt											
	return this
}

function b_showIt(){this.css.visibility="visible";}
function b_hideIt(){this.css.visibility="hidden";}
function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}

function findPosX(id)
{
  var curleft = 0;
 if (document.all)
 {
 obj=document.all[id];
  while (obj.offsetParent)
  {
   curleft += obj.offsetLeft
   obj = obj.offsetParent;
  }
 }
return curleft;
}

function findPosY(id)
{
 var curtop = 0;
 if (document.all)
 {
 obj=document.all[id];
  while (obj.offsetParent)
  {
   curtop += obj.offsetTop
   obj = obj.offsetParent;
  }
 }
return curtop;
}

function show_menu(id)
{
if(!ready) return;
	for (i=1;i<=(oMenu.length-1);i++) { 
		oMenu[i].hideIt();
	}
	oMenu[id].showIt();	
}

function init(){
	oMenu=new Array();

	for (i=1;i<=5;i++)
	{
		oMenu[i]=new makeMenu(i);
		var x=findPosX(eval("'anch'+i"));
		var y=findPosY(eval("'anch'+i"));
		oMenu[i].moveIt(x,y);
	}
	ready=1;
}

function hide_all()
{
	if(browser)
	{
		for (i=1;i<=(oMenu.length-1);i++)
		{
			oMenu[i].hideIt();
		}
	}

}


function checkO()
{
if(!ready) return 0;
whichEl = event.srcElement;
while ((whichEl.id.indexOf("anch") == -1)&&(whichEl.id.indexOf("lay") == -1)){
	whichEl = whichEl.parentElement;
	if (whichEl == null) { 
		hide_all();
		return true; 
	}
}
return true;
}

document.onmouseover=checkO;


function newWindowEx(url,id,width,height,resize,scroll,menu,tool)
{
if (loc!=id)
{
	zoom=window.open(url+'&close=1', id, 'width = '+width+' , height = '+height+',resizable='+resize+',scrollbars='+scroll+',menubar='+menu+',toolbar='+tool+',status=0, left='+Math.max(0,(screen.width-width)/2)+', top='+Math.max(0,(screen.height-height)/2))
	loc=id;
}
else 
{
	zoom.close();
	zoom=window.open(url+'&close=1', id, 'width = '+width+' , height = '+height+',resizable='+resize+',scrollbars='+scroll+',menubar='+menu+',toolbar='+tool+',status=0, left='+Math.max(0,(screen.width-width)/2)+', top='+Math.max(0,(screen.height-height)/2))
}
}

function on(id, idA){
	eval("document.all['a"+idA+"'].className='leftMenuO'"); 
//	eval("document.all['cell"+id+"'].className='menucellO'");
	id.className='menucellO';
	
}

function off(id, idA){
	eval("document.all['a"+idA+"'].className='leftMenu'"); 
//	eval("document.all['cell"+id+"'].className='menucell'");
	id.className='menucell';
}
//-->
