// (c) Ger Versluis 2000-2004 version 7.00, July 17, 2004 // You may use this script on non commercial sites // www.burmees.nl/menu/ // Globals effecting all menus var PopNoOffMenus=2; // number of seperate menus var BaseHref=""; // Root of the site var PopRClick=0; // Defines which menu reacts on right click. 0=none var LastMenuID=-1; var LastMenuObj=null; var PopMenuSlide=""; var PopMenuShadow=""; var PopMenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)"; var PopMenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)"; var PopMenuOpacity=""; function P_BeforeStart(){return} function P_AfterBuild(){return} function P_BeforeFirstOpen(){return} function P_AfterCloseAll(){ if (LastMenuObj!=null) { ChangeTD(LastMenuObj,0,-1); } return; } // Globals effecting one menu // Notation of PopMenu1 is different from PopMenu2. The result is the same. PopMenu1 is more understandable. PopMenu2 loads faster. PopMenu1=new Array(8,0,36,"#ffffff","#D90000","#ffffff","#FFC20E","#ffffff","arial",0,0,13,0,0,1,"left",.25,.25,1000,0,"Menu1",1,"left","top","",5,10,"",10,5,"",5,10,3,4,0); PopMenu1_1=new Array("Customer Services","services_customer_services.htm","",0,25,200,"","","","","","",-1,-1,-1,"left",""); PopMenu1_2=new Array("Technical Support","services_technical_support.htm","",0,25,200,"","","","","","",-1,-1,-1,"left",""); PopMenu1_3=new Array("Product Services","services_product_services.htm","",0,25,200,"","","","","","",-1,-1,-1,"left",""); PopMenu1_4=new Array("Customised Products & Kits","services_customised_products.htm","",0,25,200,"","","","","","",-1,-1,-1,"left",""); PopMenu1_5=new Array("Product Rationalisation","services_product_rationalisation.htm","",0,25,200,"","","","","","",-1,-1,-1,"left",""); PopMenu1_6=new Array("Inventory Management","services_stock_management.htm","",0,25,200,"","","","","","",-1,-1,-1,"left",""); PopMenu1_7=new Array("Distribution","services_distribution.htm","",0,25,200,"","","","","","",-1,-1,-1,"left",""); PopMenu1_8=new Array("Management Information","services_management_information.htm","",0,25,200,"","","","","","",-1,-1,-1,"left",""); PopMenu2=new Array(7,0,36,"#ffffff","#D90000","#ffffff","#FFC20E","#ffffff","arial",0,0,13,0,0,1,"left",.25,.25,1000,0,"Menu2",1,"left","top","",5,10,"",10,5,"",5,10,3,4,0); PopMenu2_1=new Array("News","why_gleave_news.htm","",0,25,150,"","","","","","",-1,-1,-1,"left",""); PopMenu2_2=new Array("Proven Reliability","why_gleave_proven_reliability.htm","",0,25,150,"","","","","","",-1,-1,-1,"left",""); PopMenu2_3=new Array("Quality","why_gleave_quality.htm","",0,25,150,"","","","","","",-1,-1,-1,"left",""); PopMenu2_4=new Array("Mission","why_gleave_mission.htm","",0,25,150,"","","","","","",-1,-1,-1,"left",""); PopMenu2_5=new Array("Values","why_gleave_values.htm","",0,25,150,"","","","","","",-1,-1,-1,"left",""); //PopMenu2_6=new Array("Heritage","why_gleave_heritage.htm","",0,25,150,"","","","","","",-1,-1,-1,"left",""); PopMenu2_6=new Array("Recruitment","why_gleave_recruitment.htm","",0,25,150,"","","","","","",-1,-1,-1,"left",""); PopMenu2_7=new Array("Testimonials","why_gleave_testimonials.htm","",0,25,150,"","","","","","",-1,-1,-1,"left",""); // ********************* My Code Is Below ********************* // var canHideHome=true; var lastMenuID=0; function ResetMainTD() { //window.status = "lastMenuID = " + lastMenuID + " - SelectedMenuID = " + SelectedMenuID; if (lastMenuID!=SelectedMenuID) { var obj=document.getElementById("TDMenu"+lastMenuID); if (obj!=null) { obj.style.backgroundColor="#D1D3D4"; //obj.style.color="#ffffff"; } } } function ChangeMainTD(obj,status,colour) { obj.style.backgroundColor=(status==1)?colour:"#D1D3D4"; //obj.style.color=(status==1)?"#ffffff":"#ffffff"; }