var mediaserver = "http://media.honda.co.uk"; var itemsTop = new Array( new menuItem("cars","http://www.honda.co.uk/cars/","cars","_top"), new menuItem("bikes","/motorcycles", "motorcycles","_top"), new menuItem("lawnandgarden","/garden", "lawn and garden","_top"), new menuItem("marine","/marine", "marine","_top"), new menuItem("energy","/energy", "energy","_top"), new menuItem("atvTop","/atv", "atv","_top"), new menuItem("racing","http://www.honda-racing.co.uk", "racing","_blank"), //new menuItem("merchandise","/merchandise", "merchandise","_blank"), new menuItem("careers","http://www.hondapeople.co.uk", "honda people","_blank"), new menuItem("worldwidesite","http://world.honda.com/", "worldwide site","_blank") ); function launchCars () { var hcePopUp = window.open(mediaserver + "/car/media/hce_main.html", "cars", "width=950, left=" + ((screen.width - 950) / 2) + ", height=600, top=" + ((screen.height - 600) / 2 - 20) + ","); hcePopUp.focus(); } function launchStore () { var merchandisePopUp = window.open("/merchandise", "merchandise"); merchandisePopUp.focus(); } function launchWorld () { var worldwidePopUp = window.open("http://world.honda.com/", "worldwidesite"); worldwidePopUp.focus(); } function serviceBookingTopMenu(selectedItem){ return makeMainMenu("/common/images/toplevelNav/", itemsTop, selectedItem); } function makeTopMenu(selectedItem){ if (dealerView) { return makeDealerMenu("/common/images/toplevelNav/"); } else { return makeMainMenu("/common/images/toplevelNav/", itemsTop, selectedItem); } } function mainMenuImgOn(imgName, index){ return menuImgOn(imgName, index, itemsTop); } function mainMenuImgOff(imgName, index){ return menuImgOff(imgName, index, itemsTop); }