function changeTopMenu(arrayOfID,activeID){

   for(var i=0;i<arrayOfID.length;i++){
	var val  = arrayOfID[i];
	var page = document.getElementById('topMenu_'+val);
	if(i==0){page.className="top_menu1a";}else{page.className="top_menu1";}
	var menu2 = document.getElementById('menu2_'+val);
	if(menu2)menu2.style.display="none";
	}
	
	var page = document.getElementById('topMenu_'+activeID);

	if(activeID==900){page.className="top_menu1a_Sel";}else{page.className="top_menu1_Sel";}
	var menu2 = document.getElementById('menu2_'+activeID);
	if(menu2) menu2.style.display="inline";
}

                function getObj(name)
		{
		  if (document.getElementById)
		  {
		  this.obj = document.getElementById(name);
			this.style = document.getElementById(name).style;
                        return document.getElementById(name);
		  }
		  else if (document.all)
		  {
			this.obj = document.all[name];
			this.style = document.all[name].style;
                        return document.all[name];
		  }
		  else if (document.layers)
		  {
		   	this.obj = document.layers[name];
		   	this.style = document.layers[name];
                        return document.layers[name];
		  }
		}



function openLandscape(landscape){
        hwin = null;
        if(landscape == 'teknikmagasinet'){
          hwin = window.open("customers/teknikmagasinet/","Teknikmagasinet","width=800,height=580,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'addnature'){
          hwin = window.open("customers/addnature.html","Addnature","width=1004,height=600,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'hemmabutikerna'){
          hwin = window.open("customers/hemmabutikerna.html","Addnature","width=1004,height=600,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'dustbuster'){
          hwin = window.open("http://www.dustbusters.nu/landscape.html","Dustbuster","width=781,height=377,resizable=no,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'press-stop'){
          hwin = window.open("customers/press-stop.html","Press","width=1004,height=600,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'clickontime'){
          hwin = window.open("customers/clickontime/","Press","width=1004,height=600,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'kristallrummet'){
          hwin = window.open("customers/kristallrummet/","kristall","width=1004,height=600,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'silverkatten'){
          hwin = window.open("customers/silverkatten/","silver","width=1004,height=600,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'passagen'){
          hwin = window.open("http://vykort.passagen.se/vykortslandskap/Biglandscape2/0/","Passagen","width=775,height=678,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'getout'){
          hwin = window.open("customers/getout/","getout","width=920,height=575,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'knivar'){      
          hwin = window.open("customers/kniven/","Knivar","width=920,height=575,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'vitvarumaklarna'){
          hwin = window.open("customers/vitvarumaklarna/","Vitvarumaklarna","width=1024,height=600,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'teknikmagasinet_mobil'){
          hwin = window.open("customers/teknikmagasinet_mobil.html","Vitvarumaklarna","width=790,height=690,resizable=yes,scrollbars=no,toolbar=yes");
          
        }
        else if(landscape == 'loplabbet'){
					hwin = window.open("http://www.loplabbet.se/0/","Löplabbet","width=900,height=690,resizable=yes,scrollbars=no,toolbar=yes");
				}
				else if(landscape == 'boatfittings'){
					hwin = window.open("http://www.boatfittings.com/landscape/0/landscape-1024x768.html","Boatfittings","width=770,height=530,resizable=yes,scrollbars=no,toolbar=yes");
				}
				else if(landscape == 'digitalkamera'){
					hwin = window.open("http://www.jamfor.nu/clickontime/digitalkameror/0/landscape-610x768.html","Monitors","width=594,height=423,resizable=yes,scrollbars=no,toolbar=yes");
				}
				else if(landscape == 'barn'){
					hwin = window.open("http://www.jamfor.nu/busigabarn/0/landscape-790x1024.html","Children","width=785,height=545,resizable=yes,scrollbars=no,toolbar=yes");
				}
				else if(landscape == 'monitorer'){
					hwin = window.open("http://www.jamfor.nu/clickontime/monitorer/0/landscape-610x768.html","Monitors","width=594,height=423,resizable=yes,scrollbars=no,toolbar=yes");
				}
				else if(landscape == 'djur'){
					hwin = window.open("http://www.jamfor.nu/djurhuset/0/landscape-579x768.html","Animals","width=563,height=450,resizable=yes,scrollbars=no,toolbar=yes");
				}
				else if(landscape == 'grahns'){
									hwin = window.open("customers/grahns.html","Grahns","width=755,height=537,resizable=yes,scrollbars=no,toolbar=yes");
				}
       
        
        
        
        
       
        
	hwin.focus();
}