var VPIC;
var HPIC;
var sys = navigator.appName;
function browser_init()
{   
  
     if ("Netscape"==sys)
     {
        VPIC = "vpic1";
        HPIC = "hpic1";
        Document = "document";
        Top = "top";
        Left = "left";
        Width = "width";
        Visibility = "visibility";
        Window_width = window.innerWidth;
     }
     else
     {
       VPIC = "vpic2";
       HPIC = "hpic2";
       Document = "document.all";
       Top = "style.pixelTop";
       Left = "style.pixelLeft";
       Width = "style.width";
       Window_width = document.body.offsetWidth;
       Visibility = "style.visibility";
     }
}
function pic_switch(oname,img)
{
   eval(Document+"."+oname+".src = \'"+img+"\'");
   eval(Document+"."+oname+".src = \'"+img+"\'");

   return;
}
function vis_switch(oname_on, oname_off)
{
   eval(Document+"."+oname_off+"."+Visibility+"=\"hidden\"");
   eval(Document+"."+oname_on+"."+Visibility+"=\"visible\"");
   return;
}
function popawin(URL,w,h)
{
  param_string = "width  = " + w +
                 ",height = " + h +
                 ",status = no,resizable = yes"   ;                      
  var w = window.open(URL,"subwindow",param_string);
  return;
}
