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,y;
 x=0;
 y=0;
// deduct 32 from the body offsetwidth to adjust the left of division.
if (myid=="menu1")
 {var thisid;
 thisid=document.getElementById("prodid"); 
 
 thisid.style.visibility="visible";
// z=screen.width;

z=document.body.offsetWidth; 
//alert(z);
 var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z+20;
 else
 x=z;
 y=415 
 y=parseInt(y,10);
 x=x-y;
  if (z<775)
 x=360;
 x=parseInt(x,10);
//alert(x);
 thisid.style.left=x;
}
 
 
}

function remmenu(msg)
{
var thisid;
  thisid=document.getElementById("prodid");
  //thisid1=document.getElementById("prodid1");  
  thisid.style.visibility="hidden";
 // thisid1.style.visibility="hidden";
  
}

function showmenu1()
{
 var thisid,x,y;
 x=0;
 y=0;
 thisid=document.getElementById("prodid"); 
 z=document.body.offsetWidth; 
 var btype;
 btype=getbrowsertype();
 if (btype==1)
 x=z+20;
 else
 x=z;
 y=415 
 
 y=parseInt(y,10);
 x=x-y;
  if (z<775)
 x=360;
 x=parseInt(x,10);
 l=x+'px';
 if(thisid.style.left==l)
  thisid.style.visibility='visible';
}

function remmenu1()
{//alert("r");
 var thisid;
 thisid=document.getElementById("prodid"); 
 thisid.style.visibility='hidden';

}
function settdover(msg,msg1)
{//window.alert(msg);
var thiselem,thiselem1;
  thiselem=document.getElementById(msg);
  thiselem1=document.getElementById(msg1);
 thiselem.bgColor ='#68A073';
 thiselem1.style.color='#ffffff';
 thiselem.style.cursor='hand'
}
function settdout(msg,msg1)
{var thiselem,thiselem1;
  thiselem=document.getElementById(msg);
  thiselem1=document.getElementById(msg1);
   thiselem.bgColor ='#000000';
   thiselem1.style.color='#ffffff';
   //#b76e0a
}



