<!--
//Determine Operating System
system = navigator.appVersion;

if (navigator.appVersion.indexOf("Mac") != -1 ) OS = "Mac";
else if (navigator.appVersion.indexOf("PowerPC") != -1 ) OS = "Mac";
else if (navigator.appVersion.indexOf("Win") != -1 ) OS = "Win";
else if (navigator.appVersion.indexOf("SunOS") != -1 ) OS = "Solaris";
else  OS = "Linux";

//Determine Browser Version
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);

//Write Style Sheets
if (OS == "Mac" && bName=="Netscape"){
        document.write("<link rel='stylesheet' type='text/css' href='mac_netscape.css'>");
    }
else if (OS =="Mac" && bName=="Microsoft Internet Explorer"){
        document.write("<link rel='stylesheet' type='text/css' href='mac_ie.css'>");
    }
else if (OS =="Win" | OS == "Linux" && bName=="Netscape"){
        document.write("<link rel='stylesheet' type='text/css' href='win-linux_netscape.css'>");
    }
else if (OS =="Solaris" && bName=="Netscape"){
        document.write("<link rel='stylesheet' type='text/css' href='win-linux_netscape.css'>");
    }
else if (OS =="Win" | OS == "Linux" && bName=="Microsoft Internet Explorer"){
        document.write("<link rel='stylesheet' type='text/css' href='win-linux_ie.css'>");
        }
// -->
//
function popwindow(item_id) {
  newwin = window.open('popwindow_frames.asp?item_id='+item_id, 'popwindow', 'toolbar=1,location=0,directories=0,scrollbars=1,status=0,menubar=0,resizable=1,width=420,height=310');

  //
  // Set focus if version is IE 5 or Netscape.
  //
  if (bName=="Microsoft Internet Explorer" && parseInt(bVer)<5){
      newwin.opener = self;
  }
  else {
     newwin.creator = self;
  }
}

// -->
//

function button_on(btn_name)
{	//alert(btn_name + "," + document.images[btn_name].src)
	document.images[btn_name].src = "images/" + btn_name + "_on.gif"
}

function button_off(btn_name)
{
	document.images[btn_name].src = "images/" + btn_name + ".gif"
}


if (document.images) {
   enter = new Image
   enterover = new Image

   enter.src = "images/btn_enter.jpg"
   enterover.src = "images/btn_enter_over.jpg"
}
else {
enter = ""
enterover = ""
document.go = ""
}

/* Functions that handle preload. */
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];}}
}
// -->

// Pop Up Window -->

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->