<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function getbrowsertype()
{
    var AgntUsr=navigator.userAgent.toLowerCase();
    var AppVer=navigator.appVersion.toLowerCase();
    var DomYes=document.getElementById?1:0;
    var NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')==-1?1:0;
    var ExpYes=AgntUsr.indexOf('msie')!=-1?1:0;
    if (NavYes==1)
    return 1;
    if (ExpYes==1)
    return 0;
    
    
    //alert(NavYes);
    //alert(ExpYes);
}

function showmenu(myid)
{var x;
x=0;
// deduct 32 from the body offsetwidth to adjust the left of division.
if (myid=="Image7")
 {var thisid;
 thisid=document.getElementById("prodid"); 
 
 thisid.style.visibility="visible";
 
// z=screen.width;
z=document.body.offsetWidth; 
//alert(z);
z1=document.body.offsetHeight;
//alert(z1);
 var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-560+30;
 else
 x=z-560;

 x=x/2;
 
 x=x+32;
 
//alert(x);
 thisid.style.left=x;
// alert(thisid.style.visibility);
 }
 
else if (myid=="Image8")
 {var thisid;
 thisid=document.getElementById("prodid1"); 

 
 thisid.style.visibility="visible";
// z=screen.width;
z=document.body.offsetWidth; 
//alert(z);
z1=document.body.offsetHeight;
//alert(z1);
 var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-500+30;
 else
 x=z-500;

 x=x/2;
 
 x=x+149;
 
//alert(x);
 thisid.style.left=x;
 }
 
 else if (myid=="Image9")
 {var thisid;
 thisid=document.getElementById("prodid2"); 
 
 thisid.style.visibility="visible";
// z=screen.width;
z=document.body.offsetWidth; 
//alert(z);
z1=document.body.offsetHeight;
//alert(z1);
 var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-800+30;
 else
 x=z-800;

 x=x/2;
 
 x=x+247;
 
//alert(x);
 thisid.style.left=x;
 }

else if (myid=="Image10")
 {var thisid;
 thisid=document.getElementById("prodid3"); 
 
 thisid.style.visibility="visible";
// z=screen.width;
z=document.body.offsetWidth; 
//alert(z);
z1=document.body.offsetHeight;
//alert(z1);
 var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-490+30;
 else
 x=z-490;

 x=x/2;
 
 x=x+277;
 
//alert(x);
 thisid.style.left=x;
 }
 
else if (myid=="Image11")
 {var thisid;
 thisid=document.getElementById("prodid4"); 
 
 thisid.style.visibility="visible";
// z=screen.width;
z=document.body.offsetWidth; 
//alert(z);
z1=document.body.offsetHeight;
//alert(z1);
 var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-550+30;
 else
 x=z-550;

 x=x/2;
 
 x=x+427;
 
//alert(x);
 thisid.style.left=x;
 }  
 
}

function remmenu(msg)
{
var thisid;
 thisid=document.getElementById("prodid"); 
if (msg=="Image7")
{thisid.style.visibility="hidden";}
else{
thisid.style.visibility="hidden";
}

thisid=document.getElementById("prodid1");
if (msg=="Image8")
{
	
	thisid.style.visibility="hidden";}
else{
thisid.style.visibility="hidden";
}

//thisid=document.getElementById("prodid2");
//if (msg=="Image9")
//{thisid.style.visibility="hidden";}
//else{
//thisid.style.visibility="hidden";
//}

thisid=document.getElementById("prodid3");
if (msg=="Image10")
{thisid.style.visibility="hidden";}
else{
thisid.style.visibility="hidden";
}

thisid=document.getElementById("prodid4");
if (msg=="Image11")
{thisid.style.visibility="hidden";}
else{
thisid.style.visibility="hidden";
}

}

function showmenu1()
{
var thisid;
thisid=document.getElementById("prodid"); 
z=document.body.offsetWidth; 
var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-560+30;
 else
 x=z-560;
//alert(z);

x=x/2;
x=x+32;
l=x+'px';
//alert(l);

if(thisid.style.left==l)
thisid.style.visibility='visible';
//alert(thisid.style.visibility);
}

function showmenu1a()
{
thisid=document.getElementById("prodid1"); 
z=document.body.offsetWidth; 
var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-500+30;
 else
 x=z-500;
//alert(z);

x=x/2;
x=x+149;
l=x+'px';
if(thisid.style.left==l)
thisid.style.visibility='visible';
//alert(x);
}

function showmenu1b()
{
thisid=document.getElementById("prodid2"); 
z=document.body.offsetWidth; 
var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-800+30;
 else
 x=z-800;
//alert(z);

x=x/2;
x=x+247;
l=x+'px';
if(thisid.style.left==l)
thisid.style.visibility='visible';
//alert(x);
}

function showmenu1c()
{
thisid=document.getElementById("prodid3"); 
z=document.body.offsetWidth; 
var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-490+30;
 else
 x=z-490;
//alert(z);

x=x/2;
x=x+277;
l=x+'px';
if(thisid.style.left==l)
thisid.style.visibility='visible';
//alert(x);
}

function showmenu1d()
{
thisid=document.getElementById("prodid4"); 
z=document.body.offsetWidth; 
var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z-550+30;
 else
 x=z-550;
//alert(z);

x=x/2;
x=x+427;
l=x+'px';
if(thisid.style.left==l)
thisid.style.visibility='visible';
//alert(x);
}

function remmenu1()
{
var thisid;
 thisid=document.getElementById("prodid"); 
 thisid.style.visibility='hidden';
 //alert("rem");
}

function remmenu1a()
{
var thisid;
 thisid=document.getElementById("prodid1"); 
 thisid.style.visibility='hidden';
}

function remmenu1b()
{
var thisid;
 thisid=document.getElementById("prodid2"); 
 thisid.style.visibility='hidden';
}

function remmenu1c()
{
var thisid;
 thisid=document.getElementById("prodid3"); 
 thisid.style.visibility='hidden';
}

function remmenu1d()
{
var thisid;
 thisid=document.getElementById("prodid4"); 
 thisid.style.visibility='hidden';
}

function setancover(msg)
{//window.alert(msg);
var thiselem;
  thiselem=document.getElementById(msg);
 thiselem.style.color ='black';
}
function setancout(msg)
{ var thiselem;
  thiselem=document.getElementById(msg);
 thiselem.style.color='white';
}
function settdover(msg,msg1)
{//window.alert(msg);
 //window.alert(msg1);
var thiselem,thiselem1;
  thiselem=document.getElementById(msg);
  thiselem1=document.getElementById(msg1);
  thiselem.bgColor ='#ffcc66';
  thiselem1.style.color='black';
  thiselem.style.cursor='hand'
}
function settdout(msg,msg1)
{var thiselem,thiselem1;
  thiselem=document.getElementById(msg);
  thiselem1=document.getElementById(msg1);
   thiselem.bgColor ='white';
   thiselem1.style.color='black';
   //#b76e0a
}


function stuopen()
{
	
	mcancelcloseleft();
	// close old layer
	if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
	ddmenuitem = document.getElementById("studiv");
	ddmenuitem.style.visibility = 'visible';
	
		
   z=document.body.offsetWidth; 
//alert(z);
z1=document.body.offsetHeight;


//alert(document.getElementById("left1").offsetParent.offsetTop)

//var posY=""
//alert(posY)
 //posY= ddmenuitem.offsetTop;
//alert(posY)
//while(ddmenuitem.offsetParent){
//posX=posX+ddmenuitem.offsetParent.offsetLeft;
//posY=posY+ddmenuitem.offsetParent.offsetTop;
//if(ddmenuitem==document.getElementsByTagName('body')[0]){break}
//else{ddmenuitem=ddmenuitem.offsetParent;}
//}

//alert(posX)
//alert(posY)

//alert(z1);
 var btype;
 btype=getbrowsertype();
//alert(btype)
 if (btype==1)
 x=z-800+100;
 
 else
 x=z-800;
 
 x=x/2;
 
 x=x+120;
 
//alert(x);
 ddmenuitem.style.left=x;
 
 var bo
 bo=getbrowsertype();
 if (btype==1)
 
 //alert( posY)
 ddmenuitem.style.top=document.getElementById("left12").offsetParent.offsetTop+139

	
	
}




function mcancelcloseleft()
{
	
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}

var timeout	= 500;
var closetimer	= 0;
var ddmenuitem	= 0;


function mcloseleft(m)
{
	
    //cc1(clso)
	///alert(ddmenuitem)
	closetimer = window.setTimeout(mclose1, timeout);
}



function mclose1()
{
	//alert(ddmenuitem)
	if(ddmenuitem) 
	
	ddmenuitem.style.visibility = 'hidden';
	//close1(clso);
	//cc1(clso)
	
}

function settdover123(msg,msg1,n,f)
{//window.alert(msg);
var thiselem,thiselem1;
  thiselem=document.getElementById(msg);
  thiselem1=document.getElementById(msg1);
  thiselem.bgColor ='#ffcc66';
  thiselem1.style.color='black';
  thiselem.style.cursor='hand';
 if (f=='0')
 {
	
	//alert(clso)
submenu1(n,msg1)
 }
 
 
 }
function settdout12(msg,msg1)
{var thiselem,thiselem1;
  thiselem=document.getElementById(msg);
  thiselem1=document.getElementById(msg1);
   thiselem.bgColor ='white';
   thiselem1.style.color='black';
   //#b76e0a
   
  
   
}

function setancover1(msg)
{//window.alert(msg);
var thiselem;
  thiselem=document.getElementById(msg);
  //alert(thiselem)
  
}
function setancout1(msg)
{ var thiselem;
  thiselem=document.getElementById(msg);
 thiselem.style.color='white';
    
}


function settdover12(msg,msg1)
{//window.alert(msg);
var thiselem,thiselem1;
  thiselem=document.getElementById(msg);
  thiselem1=document.getElementById(msg1);
 thiselem.bgColor ='#ffcc66';
 thiselem1.style.color='black';
 thiselem.style.cursor='hand'
   
 }



function settdout123(msg,msg1,n,f)
{var thiselem,thiselem1;
  thiselem=document.getElementById(msg);
  thiselem1=document.getElementById(msg1);
   thiselem.bgColor ='white';
   thiselem1.style.color='black';
   //#b76e0a
   
  if (f=='0')
  {
   cc1(n)
   //alert(clso)
  }

  
   
}




//document.onclick = mclose1;
 


function submenu1(n,msg1)
{
	//alert(n)
mcancelcloseleft();
if(ddmenuitem) ddmenuitem.style.visibility = 'visible';
ddmenuitem1 = document.getElementById(n);
//alert(ddmenuitem1)
	ddmenuitem1.style.visibility = 'visible';
 
 //  z=document.body.offsetWidth; 
//alert(z);
//z1=document.body.offsetHeight;
//alert(z1);
// var btype;
 //btype=getbrowsertype();
 //if (btype==1)
  
 //x=z-600+300;
 //z1=z1+388
 //s=400+10
 
 
// else
 
// x=z-400;
 
// x=x/2;
 //alert(x);
 //x=x+200;
 
 
 
 
var obj = document.getElementById(msg1);
var posX = obj.offsetLeft;var posY = obj.offsetTop;
while(obj.offsetParent){
posX=posX+obj.offsetParent.offsetLeft;
posY=posY+obj.offsetParent.offsetTop;
if(obj==document.getElementsByTagName('body')[0]){break}
else{obj=obj.offsetParent;}
}
 
 
 ddmenuitem1.style.left=posX+116;
 //ddmenuitem .style.top=z
 ddmenuitem1.style.top=posY-2;
 
 //getXY()
 
 //alert(d)
 
 
}
 
function vv1(m)
 
{
	
//alert("l")
var thisid;
 thisid=document.getElementById(m); 
 thisid.style.visibility='hidden';
 mcloseleft()
 
 
 
}

function cc1(m)
{
 //alert(m)
thisid=document.getElementById(m); 
 thisid.style.visibility='hidden';
 
 
}

function close1(k)
{
if (k!="")
{
thisid=document.getElementById(k); 
 thisid.style.visibility='hidden';	
	 mcloseleft()
}
}

function sleft(j)
{
//alert("lll")	
thisid=document.getElementById(j); 
 thisid.style.visibility='hidden';		
	
}









//-->