bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer>=3) ||
        (bName == "Microsoft Internet Explorer" && bVer>=4)) browser= "n3";
else browser="n2";
// Create image objects, preload all act and inact images.
if (browser=="n3") {
        homeon = new Image();
        homeon.src = "/img/buttons/homeon.gif";
        jewelryon = new Image();
        jewelryon.src = "/img/buttons/jewelryon.gif";
        gemson = new Image();
        gemson.src = "/img/buttons/gemson.gif";
        abouton = new Image();
        abouton.src = "/img/buttons/abouton.gif";
        contacton = new Image();
        contacton.src = "/img/buttons/contacton.gif";
		
        homeoff = new Image();
        homeoff.src = "/img/buttons/homeoff.gif";
        jewelryoff = new Image();
        jewelryoff.src = "/img/buttons/jewelryoff.gif";
        gemsoff = new Image();
        gemsoff.src = "/img/buttons/gemsoff.gif";
        aboutoff = new Image();
        aboutoff.src = "/img/buttons/aboutoff.gif";
        contactoff = new Image();
        contactoff.src = "/img/buttons/contactoff.gif";
}
function imgOn(imgName){
        if(browser=="n3"){
        document[imgName].src = eval(imgName + "on.src");
        }
}
function imgOff(imgName){
        if(browser=="n3"){
        document[imgName].src = eval(imgName + "off.src");
        }
}
// Launch separate window, specifically sized, on demand.
function launch(file,name,winwidth,winheight)      
{ 
var string= "width="+winwidth+",height="+winheight+"toolbar=no, scrollbars=yes,directories=no,menubar=no,resizable=no,dependent=yes"  
hwnd = window.open(file,name,string);                  
  if (navigator.appName == "Netscape") 
			{ 
        hwnd.focus() 
      } 
}