// Μενώ - 1
var ns4 = document.layers;
var ns6 = document.getElementById && !document.all;
var ie4 = document.all;
var ie5 = false;
if (ie4) {	if (navigator.userAgent.indexOf('MSIE 5')>0) { ie5 = true; }  }
ver = (ie4 || ns4 || ns6) ? 1 : 0;
var vs="visible" ;
var hd="hidden";
if (ns4)  { vs="show" ;  hd="hide";  }
document.writeln('<STYLE TYPE="text/css"> #oww  {visibility: '+hd+'};</STYLE>' );
function detOver(id) 
{	if          (ns4)   return  document.layers[id]; 
	else if (ns6)   return  document.getElementById( id).style ; 
	else if ( ie4)   return  document. all[id].style;
	return  true ;
}
function detImage(id) 
{  	if (document.images)
	{	if(typeof(document.images[id])=="object") 	return document.images[id];
		else if(document.layers) 					return document.layers.document.images[id];
   	}
	return  true ;
}
var ActiveL=0;
var ActiveL1=0;
var over1;
var x1;
var y1;
function dispL(L,x,y) 
{	if ( ver) 
   {   	over=detOver("L"+L);
   		over.left  =  x ; 
		over.top =   y;
		if(L==1) { ActiveL=1; detOver("oww").visibility=vs; }
	}
	return  true ;
}
function  L_Off (L,x,y)
{	if(L==1)
	{	over1=detOver("L"+L);	x1= x ;	y1= y;	ActiveL=0;    setTimeout( 'hideW() ' , 1000); }
	else 
	{	over=detOver("L"+L); over.left  =  x ; over.top = y;  }
	return  true ;
}
function disp(L,x,y) 
{ 	over=detOver("D"+L);	
	over.left  =  x ; 
	over.top =   y;
	ActiveL1=1;
	detImage("V"+L).src = "Fon/1_2.jpg";
	return  true ;	
}
function d_Off (L,x,y) 
{     	over=detOver("D"+L);	
		over.left  =  x ; 
		over.top =   y;  
		detImage("V"+L).src = "Fon/1_1.jpg";
		ActiveL1=0; 
		setTimeout( 'hideW() ' , 1000);
	return  true ;	
}
function  M_Off (L,x,y)
{  	over=detOver(L);
	over.left  =  x ; 
	over.top =   y;  
	ActiveL=0;
    setTimeout( 'hideW() ' , 1000);
	return  true ;
}
function hideW() 
{	if (( ActiveL1==0) &&( ActiveL==0) )
    {	over1.left  =  x1; 
	    over1.top =   y1;  
		over=detOver("oww");
		over.visibility=hd;		
		}
	return  true ;	
}




var ActiveLayer;
var ActiveLayer2;
function show(s)
 {	ActiveLayer=1;
	id="ow"+s;
	detOver(id).visibility=vs; 
	return false;
}
function show2(s)
 {	ActiveLayer2=1;
	id="ow"+s;
	detOver(id).visibility=vs; 
	return false;
}
function Keep (s,layerName)
 {	ActiveLayer=1;
	idd="D"+s;
	if (s) detImage(idd).src = "Fon/1_2.jpg";
	return false;
 }
function Keep2 (s,layerName)
 {	ActiveLayer2=1;
	idd="D"+s;
	if (s) detImage(idd).src = "Fon/1_2.jpg";
	return false;
 }
function Off (s,layerName)
 {  setTimeout('hide()', 2000);
	ActiveLayer=0;
	idd="D"+s;
	if (s) detImage(idd).src = "Fon/1_1.jpg";
	return false;
 }
function Off2 (s,layerName)
 {	setTimeout('hide2()', 2000);
	ActiveLayer2=0;
	idd="D"+s;
	if (s) detImage(idd).src = "Fon/1_1.jpg";
	return false;
 }
function hide()
 {	if (ActiveLayer==1) {return false}
	id="ow1";
 	detOver(id).visibility=hd; 
 }
function hide2()
 {	if (ActiveLayer2==1) {return false}
 	id="ow2";
 	detOver(id).visibility=hd; 
 }
