  		function setHighlight(obj){ // this is for href's to change bg as well, href's needed for webtrends
   			obj.style.backgroundColor="#686868";
  
   			if(obj.tagName == "TD"){
				obj.style.cursor="hand"; // for IE
				obj.getElementsByTagName("A")(0).style.color="#FFFFFF";
			}
  		}
		
		function closeHighLight(obj){
			obj.style.backgroundColor="#424242";
		}
		
		function closeHighLightInActive(obj){
			obj.style.backgroundColor="";
			if(obj.tagName == "TD"){
				obj.getElementsByTagName("A")(0).style.color="#000000";
			}
		}
		
  		function textToBlack(obj){
			if(obj.tagName == "TD"){
				obj.getElementsByTagName("A")(0).style.color="#000000";
    		}
  		}

     	var seperatorCell = '<td width="1" bgcolor="#FFFFFF" height="19"></td>';

     	document.write('\
       		<table width="695" cellpadding="0" cellspacing="0" border="0" bgcolor="#D8D8D8">\
       			<tr>\
       				<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="3" height="1" alt=""></td>\
       			</tr>\
       			<tr>\
       				<td width="695">\
       					<table bgcolor="#848484" cellpadding="0" cellspacing="0" border="0" name="navLevel1">\
       						<tr>');
								// find browser versions (Netscape 7.2 differs from 7.1 and 8, and 6.2 and 7.0 differs from all other)
								var strUserAgent = navigator.userAgent.toLowerCase();
								var ns = strUserAgent.indexOf("netscape");
								var ns_ver = parseFloat(navigator.vendorSub);
								var firefox = strUserAgent.indexOf("firefox");
								var opera = strUserAgent.indexOf("opera");
								var ns4 = strUserAgent.indexOf("mozilla/4.")
								var ns62 = parseFloat(strUserAgent.substring(strUserAgent.indexOf("netscape")+10, strUserAgent.length));
								var ns70 = parseFloat(strUserAgent.substring(strUserAgent.indexOf("netscape")+10, strUserAgent.length));
								var ns8 = strUserAgent.indexOf("netscape/8.");
								var mozilla = (strUserAgent.indexOf("gecko") && (ns ==-1 || opera ==-1 || ns4 ==-1) && navigator.vendor == "")?true:false;
								var saf = (strUserAgent.indexOf("safari") && strUserAgent.indexOf("mac") && ns==-1 && opera ==-1)?true:false;
								var msie = (strUserAgent.indexOf("msie") && opera ==-1)?true:false;
								var msie_ver = parseFloat(strUserAgent.substring(strUserAgent.indexOf("msie")+5, strUserAgent.indexOf("msie")+8));
								
     							if(isDhtmlNav==false){ // non IE browsers
  									
									// swap scaniahouse on non IE browsers
									scaniaBlack = new Image;
									scaniaBlack.src = "images/home.gif"
									scaniaWhite = new Image;
									scaniaWhite.src = "images/home_white.gif";

									function over(){
										document.images["scaniahem"].src = scaniaWhite.src
									}
									
									function out(){
										document.images["scaniahem"].src = scaniaBlack.src
									}
																		
									if ((ns +1 && ns_ver >= 7.2) || firefox +1 || mozilla || saf){ // Netscape 7.2 || Firefox || Mozilla
										for (i=0;i<navArray.length;i++){
	         								var navItem = navArray[i];
	         								nr = i+1;
	         								
											if(!navItem[2]){ // inactive button
		  										if (nr == 1){ //first btn (scaniahouse) in navArray
													document.write ('<td class="hdrNavNonIEInactive" onClick="document.location = \'' + navItem[1] + '\'" onMouseOver="over();" onMouseOut="out();" valign="top"><nobr><a href="/"><img src="images/vogal7x17.gif" border="0" width="7" height="17" name="toplefttabcorner" align="top"><img src="images/home.gif" border="0" width="10" height="10" name="scaniahem"><img src="images/spacer.gif" border="0" width="10" height="15" alt=""></a></nobr></td>');
												} else { // any btn but the first in navArray
													document.write ('<td id="knapp" class="hdrNavNonIEInactive" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x17.gif" border="0" width="7" height="17" name="toplefttabcorner" align="top">' + navItem[0] +'<img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td>');
												}
											} else { // active button
												document.write ('<td id="knappActive" class="hdrNavNonIE" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x17.gif" border="0" width="7" height="17" name="toplefttabcorner" align="top">' + navItem[0] +'<img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td>');
		 									}
		 										document.write('<td id="scania_divider_' + nr + '" style="visibility:visible; line-height: 19px; background-color:#FFFFFF; position: absolute; height:19px; width:1px;"><img src="images/spacer.gif" width="1" height="18" alt=""></td>');
		 								}
									
									} else if (opera +1) {
										for (i=0;i<navArray.length;i++){
	         								var navItem = navArray[i];
	         								nr = i+1;
	         								
											if(!navItem[2]){ // inactive button
		  										if (nr == 1){ //first btn (scaniahouse) in navArray
													document.write ('<td class="hdrNavNonIEInactive" onClick="document.location = \'' + navItem[1] + '\'" onMouseOver="over();" onMouseOut="out();" valign="top"><nobr><a href="/"><img src="images/vogal7x17.gif" border="0" width="7" height="17" name="toplefttabcorner" align="top"><img src="images/home.gif" border="0" width="10" height="10" name="scaniahem"><img src="images/spacer.gif" border="0" width="10" height="15" alt=""></a></nobr></td><td width="1" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="15" alt=""></td>');
												} else { // any btn but the first in navArray
													document.write ('<td id="knapp" class="hdrNavNonIEInactive" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x17.gif" border="0" width="7" height="17" name="toplefttabcorner" align="top">' + navItem[0] +'<img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td><td width="1" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="15" alt=""></td>');
												}
											} else { // active button
												document.write ('<td id="knappActive" class="hdrNavNonIE" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x17.gif" border="0" width="7" height="17" name="toplefttabcorner" align="top">' + navItem[0] +'<img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td><td width="1" bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="15" alt=""></td>');
		 									}
		 										//document.write('<td id="scania_divider_' + nr + '" style="visibility:visible; line-height: 19px; background-color:#FFFFFF; position: absolute; height:19px; width:1px;"><img src="/Images/pixel_tcm95-89.gif" width="1" height="18" alt=""></td>');
		 								}
	
									} else {
       									// non IE and NOT Netscape 7.2
		   								if (strUserAgent.indexOf("mac") +1){ //check if os is mac
											for (i=0;i<navArray.length;i++){
		         								var navItem = navArray[i];
		         								nr = i+1;
		         								
												if(!navItem[2]){ // inactive button
			  										if (nr == 1){ //first btn (scaniahouse) in navArray
														document.write ('<td class="hdrNavInactive" onClick="document.location = \'' + navItem[1] + '\'" onMouseOver="over();" onMouseOut="out();" valign="top"><nobr><a href="/"><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner"><img src="images/home.gif" border="0" width="10" height="10" name="scaniahem"><img src="images/spacer.gif" border="0" width="10" height="15" alt=""></a></nobr></td>');
													} else { // any btn but the first in navArray
														document.write ('<td id="knapp" class="hdrNavInactive" valign="top" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner">' + navItem[0] +'<img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td>');
													}
												} else { // active button
													document.write ('<td id="knappActive" class="hdrNav" valign="top" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner">' + navItem[0] +'<img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td>');
			 									}
			 										document.write('<td id="scania_divider_' + nr + '" style="visibility:visible; line-height: 15px; background-color:#FFFFFF; position: absolute; height:15px; width:1px;"><img src="images/spacer.gif" width="1" height="15" alt=""></td>');
			 								}
											
										} else if ((ns +1 && ns_ver == 6.2) || (ns +1 && ns_ver == 6.2)){ // netscape 6.2 and 7.0
											for (i=0;i<navArray.length;i++){
		         								var navItem = navArray[i];
		         								nr = i+1;
		         								
												if(!navItem[2]){ // inactive button
			  										if (nr == 1){ //first btn (scaniahouse) in navArray
														document.write ('<td class="hdrNavNonIEInactive" onClick="document.location = \'' + navItem[1] + '\'" onMouseOver="over();" onMouseOut="out();" valign="top"><nobr><a href="/"><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner"><img src="images/home.gif" border="0" width="10" height="10" name="scaniahem"><img src="images/spacer.gif" border="0" width="10" height="15" alt=""></a></nobr></td>');
													} else { // any btn but the first in navArray
														document.write ('<td id="knapp" class="hdrNavNonIEInactive" valign="top" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner"><a href="' + navItem[1] + '" class="hdrNavInactive_btn">' + navItem[0] +'</a><img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td>');
													}
												} else { // active button
													document.write ('<td id="knappActive" class="hdrNavNonIE" valign="top" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner"><a href="' + navItem[1] + '" style="color: #FFFFFF;">' + navItem[0] +'</a><img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td>');
			 									}
			 										document.write('<td id="scania_divider_' + nr + '" style="visibility:visible; line-height: 15px; background-color:#FFFFFF; position: absolute; height:15px; width:1px;"><img src="images/spacer.gif" width="1" height="15" alt=""></td>');
			 								}
											
										} else { // !os == mac
											for (i=0;i<navArray.length;i++){
		         								var navItem = navArray[i];
		         								nr = i+1;
		         								
												if(!navItem[2]){ // inactive button
			  										if (nr == 1){ //first btn (scaniahouse) in navArray
														document.write ('<td class="hdrNavNonIEInactive" onClick="document.location = \'' + navItem[1] + '\'" onMouseOver="over();" onMouseOut="out();" valign="top"><nobr><a href="/"><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner"><img src="images/home.gif" border="0" width="10" height="10" name="scaniahem"><img src="images/spacer.gif" border="0" width="10" height="15" alt=""></a></nobr></td>');
													} else { // any btn but the first in navArray
														document.write ('<td id="knapp" class="hdrNavNonIEInactive" valign="top" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner">' + navItem[0] +'<img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td>');
													}
												} else { // active button
													document.write ('<td id="knappActive" class="hdrNavNonIE" valign="top" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\');"><nobr><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner">' + navItem[0] +'<img src="images/spacer.gif" width="10" height="15" alt=""></nobr></td>');
			 									}
			 										document.write('<td id="scania_divider_' + nr + '" style="visibility:visible; line-height: 15px; background-color:#FFFFFF; position: absolute; height:15px; width:1px;"><img src="images/spacer.gif" width="1" height="15" alt=""></td>');
			 								}
										} // ends mac check
									} //ends Netscape 7.2 check
									
     							} else if(isDhtmlNav==true) { // MSIE 5.5+ on Windows clients
       								if (msie_ver >= 5.5){
		   								for (i=0;i<navArray.length;i++){
	        	 							var navItem = navArray[i];
	         								nr = i+1;
	         								
											if(!navItem[2]){ // in-active button
	           									document.write('<td id="scania_nav_' + nr + '" class="hdrNavInactive" style="line-height: 19px;visibility:visible; line-height: 17px; position: absolute;" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\'); closeHighLightInActive(this);"><nobr><img src="images/vogal7x17.gif" border="0" width="7" height="17" name="toplefttabcorner" align="absmiddle"><a href="' + navItem[1] + '" class="hdrNavInactive_btn">'+ navItem[0] +'</a><br><img src="images/spacer.gif" width="10" height="1"></nobr></td>');
	         								} else { // active button
	            								var activeHdrMenu = "scania_nav_" + nr ;
	            								document.write('<td id="scania_nav_' + nr + '" class="hdrNav" style="line-height: 19px;visibility:visible; line-height: 17px; position: absolute;" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="setHighlight(this);" onMouseout="closeHighLight(this);"><nobr><img src="images/vogal7x17.gif" border="0" width="7" height="17" name="toplefttabcorner" align="absmiddle"><a href="' + navItem[1] + '" class="hdrNav_btn">'+ navItem[0] +'</a><br><img src="images/spacer.gif" width="10" height="2"></nobr></td>');
	          								}
	           								document.write('<td id="scania_divider_' + nr + '" style="visibility:visible; line-height: 19px; background-color:#FFFFFF; position: absolute; height:19px; width:1px;"><img src="images/spacer.gif" width="1" height="17" alt=""></td>');
	        							}
        							} else { //MSIE <5.5
										for (i=0;i<navArray.length;i++){
	        	 							var navItem = navArray[i];
	         								nr = i+1;
	         								
											if(!navItem[2]){ // in-active button
	           									document.write('<td id="scania_nav_' + nr + '" valign="top" class="hdrNavInactive" style="visibility:visible; line-height: 15px; position: absolute;" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="showHdrMenu(\'scania_nav_' + nr + '\'); setHighlight(this);" onMouseout="hideHdrMenu(\'scania_nav_' + nr + '\'); closeHighLightInActive(this);"><nobr><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner"><a href="' + navItem[1] + '" class="hdrNavInactive_btn"> </a>'+ navItem[0] +'<img src="images/spacer.gif" width="5" height="15"></nobr></td>');
											} else { // active button
	            								var activeHdrMenu = "scania_nav_" + nr ;
	            								document.write('<td id="scania_nav_' + nr + '" valign="top" class="hdrNav" style="lvisibility:visible; line-height: 15px; position: absolute;" onClick="document.location = \'' + navItem[1] + '\'" onMouseover="setHighlight(this);" onMouseout="closeHighLight(this);"><nobr><img src="images/vogal7x15.gif" border="0" width="7" height="15" name="topLeftTabCorner"><a href="' + navItem[1] + '" class="hdrNav_btn"> </a>'+ navItem[0] +'<img src="images/spacer.gif" width="5" height="15"><br><img src="images/spacer.gif" width="10" height="2"></nobr></td>');
	          								}
	           								document.write('<td id="scania_divider_' + nr + '" style="visibility:visible; line-height: 19px; background-color:#FFFFFF; position: absolute; height:19px; width:1px;"><img src="images/spacer.gif" width="1" height="17" alt=""></td>');
	        							}
									}
									document.write('\
          							<td width="100" bgcolor="#848484"><img src="images/spacer.gif" width="1" height="17" alt=""></td>\
          							<td><img src="images/spacer.gif" width="1" height="17" alt=""></td>');
      							}
      
	  							document.write('\
        						</tr>\
        					</table>\
        				</td>\
        			</tr>\
        		<tr>\
        			<td  bgcolor="#FFFFFF"><img src="images/spacer.gif" width="3" height="1" alt=""></td>\
        		</tr>\
        	</table>');

      	if(isDhtmlNav){
        	document.write("<div id=\"hdrNavMenus\"></div>");
        	border = 1;
        	position = 0;

        	for(i=0;i<navArray.length;i++){
          		nr = i+1
          		targetDivNav = eval("scania_nav_" + nr);
          		targetDivDiv = eval("scania_divider_" + nr);
          		targetDivNav.style.width = targetDivNav.offsetWidth + 7
          		targetDivNav.style.left = position
          		targetDivDiv.style.left = parseInt(targetDivNav.style.left) + targetDivNav.offsetWidth;
          		position = position + targetDivNav.offsetWidth + border;
        	}
        
			if(typeof hasHdrNav != 'undefined' && hasHdrNav) createHdrNav();
      	}