<!--
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
var n = 0;
var ie =0;
var browser=0;

function Menu(obj){
	/*this.css=(n) ? eval('document.'+obj):eval('document.all.'+obj+'.style')					
   	this.ref=(n) ? eval('document.'+obj+'.document'):eval('document');		
	this.height=n?this.ref.height:eval(obj+'.offsetHeight')
	this.x=(n)? this.css.left:this.css.pixelLeft;
	this.y=(n)? this.css.top:this.css.pixelTop;							
	this.hideIt=hideIt;	this.showIt=showIt; this.moveIt=moveIt											
	return this*/
}
function showIt(){/*this.css.visibility="visible"*/}
function hideIt(){/*this.css.visibility="hidden"*/}
function moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}
function init(){
	Lay=new Array();
	Lay[0]=new Menu('divLay1');
	Lay[1]=new Menu('divLay2');
	Lay[2]=new Menu('divLay3');
	Lay[3]=new Menu('divLay4');
	Lay[4]=new Menu('divLay5');
     
	
	

	
}

function menu(num)
{
	
}

function closeIt()
{
	/*if(browser)
	{
			for(i=0;i<Lay.length;i++)
			{
				Lay[i].hideIt();
				
			}
		}*/
}

//текстовые подсказки
function openPr(num)
{
	if(browser)
	{
			for(i=0;i<Pr.length;i++)
			{
				if(i!=num) Pr[i].hideIt()
				
			}
			Pr[num].showIt();
		}
}

function closePr()
{
	if(browser)
	{
			for(i=0;i<Pr.length;i++)
			{
				Pr[i].hideIt();
				
			}
		}
}

function initall() {
n = (document.layers) ? 1:0;
ie = (document.all) ? 1:0;
browser=((n || ie) && parseInt(navigator.appVersion)>=4)
if (browser) init();
}

	function Winopen(url, id, width, height)
	{
  width=550;
	zoom = window.open(url, id, 'width = ' + width + ', height = ' + height + ',resizable=0,scrollbars=1,menubar=0,status=0');
	}

	function Cliententer(url, id, width, height)
	{
	zoom = window.open(url, "client", 'width = ' + width + ', height = ' + height + ',resizable=0,scrollbars=0,menubar=0,status=0');
	}
//-->
