//////////////////////////Netscape Reload/////////////////////////////////
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//////////////////////////Menu Rollovers/////////////////////////////////
if (document.images) {
  var defImg = "pack";

  var viewoff = new Image();
  viewoff.src = "../images/splash/view_cart.jpg";
  var viewon = new Image();
  viewon.src = "../images/splash/view_cart_o.jpg";
  var checkoutoff = new Image();
  checkoutoff.src = "../images/splash/checkout.jpg";
  var checkouton = new Image();
  checkouton.src = "../images/splash/checkout_o.jpg";
}

function actMenuItem(imgName) {
  act(imgName);
  inact(defImg);
}

function inactMenuItem(imgName) {
  inact(imgName);
  act(defImg);
}

function act(imgName) {
  if (document.images)
    document.images[imgName].src = eval(imgName + "on.src");
}

function inact(imgName) {
  if (document.images)
    document.images[imgName].src = eval(imgName + "off.src");
}


////////////////////////// Auto Jump Category Code /////////////////////////////////
function openDir( form ) { 
var newIndex = form.fieldname.selectedIndex; 
if ( newIndex == 0 ) { 
alert( "Please select a Category" ); 
} else { 
cururl = form.fieldname.options[ newIndex ].value; 
window.location.assign( cururl ); 
}} 

