<!-- Begin to hide script contents from old browsers.

// Obsession Byt bilder

// First get the name and version of the browser
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

// Only IE 4.0 and Netscape 3.0 and above supports this
// kind of image manipulation
if ((browserName == "Netscape" && browserVer >= 3) ||
    (browserName == "Microsoft Internet Explorer" && browserVer >= 4))
   supported = true;
else 
   supported = false;
 
// Second image    
if (supported) {
   s = new Image(253, 141);
   s.src  = img_directory + "meny_sx.gif";
   
   e = new Image(253, 141);
   e.src  = img_directory + "meny_ex.gif";

   o = new Image(253, 141);
   o.src  = img_directory + "meny_ox.gif";
   
   orig = new Image(253, 141);
   orig.src = img_directory + "tom.gif";
}
  
function img_act1(imgName) {
   if (supported) {
      imgOn = eval(imgName + ".src");
      document.rub_1.src = imgOn;
   }
}

function img_act2(imgName) {
   if (supported) {
      imgOn = eval(imgName + ".src");
      document.rub_2.src = imgOn;
   }
}

function img_act3(imgName) {
   if (supported) {
      imgOn = eval(imgName + ".src");
      document.rub_3.src = imgOn;
   }
}

function img_inact1() {
   if (supported) {
      imgOff = eval("orig.src");
      document.rub_1.src = imgOff;
   }
}

function img_inact2() {
   if (supported) {
      imgOff = eval("orig.src");
      document.rub_2.src = imgOff;
   }
}

function img_inact3() {
   if (supported) {
      imgOff = eval("orig.src");
      document.rub_3.src = imgOff;
   }
}


// End the hiding here. -->


<!--

if (supported) {
if (document.images) {

  anim = new Image();
  anim.src = img_directory + "anim.gif";

  stopp = new Image();
  stopp.src = img_directory + "ruta.gif";
  
  }
  }

function changeImages() {
   if (supported) {
	  if (document.images) {
	    for (var i=0; i<changeImages.arguments.length; i+=2) {
	      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
	    }
	  }
   }
}

// done hiding -->
