goodBrowser = document.getElementById;

if (goodBrowser){

  // produkter menu

document.write('<table class="dropdown" id="produkter" onmouseover="showMenu(\'produkter\');" onmouseout="hideMenu(\'produkter\');" style="position:absolute; left: 19; top: 102; visibility: hidden;" cellspacing="0" cellpadding="3" width="67">');
document.write('<tr><td><img src="images/spacer.gif" width="10" height="1"></td></tr>');
document.write('<tr><td width="67" bgcolor="#cc6600" onmouseover="this.bgColor=\'#993300\';" onmouseout="this.bgColor=\'#cc6600\';" onclick="location.href=\'faresedler/faresedler.php\';"><a href="faresedler/faresedler.php" class="dropdown">FARESEDLER</a></td></tr>');
document.write('<tr><td width="67" bgcolor="#cc6600" onmouseover="this.bgColor=\'#993300\';" onmouseout="this.bgColor=\'#cc6600\';" onclick="location.href=\'faresedler/faresymboler.php\';"><a href="faresedler/faresymboler.php" class="dropdown">FARESYMBOLER</a></td></tr>');
document.write('<tr><td width="67" bgcolor="#cc6600" onmouseover="this.bgColor=\'#993300\';" onmouseout="this.bgColor=\'#cc6600\';" onclick="location.href=\'handbok_tankbil/index.php\';"><a href="handbok_tankbil/index.php" class="dropdown">H&Aring;NDBOK FOR TANKBILSJ&Aring;F&Oslash;RER</a></td></tr>');
document.write('<tr><td width="67" bgcolor="#cc6600" onmouseover="this.bgColor=\'#993300\';" onmouseout="this.bgColor=\'#cc6600\';" onclick="location.href=\'adr/index.php\';"><a href="adr/index.php" class="dropdown">ADR-H&Aring;NDBOK</a></td></tr>');
document.write('</table>');
  
  // set the rollover on the faresedler link
  
  triggerRef = document.getElementById("produkterlink")
  
  if (triggerRef!=null){
    triggerRef.onmouseover = function(){showMenu('produkter'); chgImg('produkterImg','produkterOn');}
    triggerRef.onmouseout = function(){hideMenu('produkter'); chgImg('produkterImg','produkterOff');}
  }
	
	// omoss menu

document.write('<table class="dropdown" id="omoss" onmouseover="showMenu(\'omoss\');" onmouseout="hideMenu(\'omoss\');" style="position:absolute; left: 264; top: 102; visibility: hidden;" cellspacing="0" cellpadding="3" width="64">');
document.write('<tr><td><img src="images/spacer.gif" width="10" height="1"></td></tr>');
document.write('<tr><td width="64" bgcolor="#cc6600" onmouseover="this.bgColor=\'#993300\';" onmouseout="this.bgColor=\'#cc6600\';" onclick="location.href=\'omoss/omoss.php\';"><a href="omoss/omoss.php" class="dropdown">OM OSS</a></td></tr>');
document.write('<tr><td width="64" bgcolor="#cc6600" onmouseover="this.bgColor=\'#993300\';" onmouseout="this.bgColor=\'#cc6600\';" onclick="location.href=\'omoss/kontakt.php\';"><a href="omoss/kontakt.php" class="dropdown">KONTAKT</a></td></tr>');
document.write('</table>');
  
  // set the rollover on the omoss link
  
  triggerRef = document.getElementById("omosslink")
  
  if (triggerRef!=null){
    triggerRef.onmouseover = function(){showMenu('omoss'); chgImg('omossImg','omossOn');}
    triggerRef.onmouseout = function(){hideMenu('omoss'); chgImg('omossImg','omossOff');}
  }
  
}


function showMenu(menuName){
  
 if(goodBrowser){
   
   menuRef = document.getElementById(menuName);
   
   if(menuRef!=null && menuRef.style!=null && menuRef.style.visibility!=null){
      menuRef.style.visibility = "visible";
   }
   
 } 
  
}

function hideMenu(menuName){
  
 if(goodBrowser){
   
   menuRef = document.getElementById(menuName);
   
   if(menuRef!=null && menuRef.style!=null && menuRef.style.visibility!=null){
      menuRef.style.visibility = "hidden";
   }
   
 } 
  
}