/**This is the menu creation code - place it right after you body tag Feel free to add this to a stand-alone js file and link it to your page. **/ //Menu object creation oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname oCMenu.frames = 0 var bw=new cm_bwcheck() //Menu properties oCMenu.pxBetween=0 oCMenu.fromLeft=239 oCMenu.fromTop=146 oCMenu.rows=1 oCMenu.menuPlacement="left" oCMenu.offlineRoot="/" oCMenu.onlineRoot="" oCMenu.resizeCheck=1 oCMenu.wait=1000 oCMenu.fillImg="images/cm_fill.gif" oCMenu.zIndex=400 //Background bar properties oCMenu.useBar=1 oCMenu.barWidth="" oCMenu.barHeight="menu" oCMenu.barClass="clBar" oCMenu.barX=-1 oCMenu.barY="menu" oCMenu.barBorderX=0 oCMenu.barBorderY=1 oCMenu.barBorderClass="cLevelborder" //Level properties - ALL properties have to be spesified in level 0 oCMenu.level[0]=new cm_makeLevel() //Add this for each new level oCMenu.level[0].width=210 oCMenu.level[0].height=21 oCMenu.level[0].regClass="cLevel" oCMenu.level[0].overClass="cLevelover" oCMenu.level[0].borderX=0 oCMenu.level[0].borderY=0 oCMenu.level[0].borderClass="cLevelborder" oCMenu.level[0].offsetX=0 oCMenu.level[0].offsetY=0 oCMenu.level[0].rows=0 oCMenu.level[0].arrow=0 oCMenu.level[0].arrowWidth=0 oCMenu.level[0].arrowHeight=0 oCMenu.level[0].align="bottom" //oCMenu.level[0].slidepx=5 //oCMenu.level[0].slidetim=2 oCMenu.level[0].clippx=10 oCMenu.level[0].cliptim=5 //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number) //oCMenu.level[1].width=oCMenu.level[0].width-2 oCMenu.level[1].width=150 oCMenu.level[1].height=16 oCMenu.level[1].regClass="cLevelbis" oCMenu.level[1].overClass="cLeveloverbis" oCMenu.level[1].borderClass="cLevelborderbis" oCMenu.level[1].borderX=0 oCMenu.level[1].borderY=0 oCMenu.level[1].align="right" oCMenu.level[1].offsetX=0 oCMenu.level[1].offsetY=10 oCMenu.level[1].arrow="images/fleche_d.gif" oCMenu.level[1].arrowWidth=9 oCMenu.level[1].arrowHeight=9 //oCMenu.level[1].slidepx=0 //oCMenu.level[1].slidetim=0 //EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number) oCMenu.level[2].width=150 oCMenu.level[2].height=16 oCMenu.level[2].offsetX=0 oCMenu.level[2].offsetY=0 oCMenu.level[2].borderX=0 oCMenu.level[2].borderY=0 /****************************************** Menu item creation: myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) *************************************/ oCMenu.makeMenu("top","","accueil","default.asp","", "89", "33", "http://www.sombimcaraibes.com/uploads/menu/accueil.gif") oCMenu.makeMenu("top0","","Le Groupe","http://www.sombimcaraibes.com/immobilier/le-groupe.asp?img=2","", "114", "33", "http://www.sombimcaraibes.com/uploads/menu/le-groupe-immo.gif", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub0_0","top0","Sombim Caraibes","http://www.sombimcaraibes.com/immobilier/sombim-caraibes.asp?img=2", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub0_1","top0","Contact Immobilier","http://www.sombimcaraibes.com/immobilier/contact-immobilier.asp?img=2", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub0_2","top0","Gwad Antilles Immobilier","http://www.sombimcaraibes.com/immobilier/gwad-antilles-immobilier.asp?img=2", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub0_3","top0","Recrutement","http://www.sombimcaraibes.com/immobilier/recrutement.asp?img=2", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("top1","","Immobilier Résidentiel","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=immobilier résidentiel&img=3","", "114", "33", "http://www.sombimcaraibes.com/uploads/menu/immo-residence.gif", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub1_6","top1","Ventes","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Vente immobilier résidentiel&img=3", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub1_6_0","sub1_6","Villas","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=villa vente immobilier résidentiel&img=3","_blank", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub1_6_1","sub1_6","Appartements","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=appartement Vente immobilier résidentiel&img=3","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub1_6_2","sub1_6","Terrains","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=terrains Vente immobilier résidentiel&img=3","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub1_6_3","sub1_6","Immeubles","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=immeuble Vente immobilier résidentiel&img=3","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub1_7","top1","Locations","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=location immobilier résidentiel&img=3", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub1_7_0","sub1_7","Villas","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=villa location immobilier résidentiel&img=3","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub1_7_1","sub1_7","Appartements","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=appartement location immobilier résidentiel&img=3","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("top3","","Immobilier d'entreprise","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=immobilier entreprise&img=4","", "114", "33", "http://www.sombimcaraibes.com/uploads/menu/immobilier_entreprise.gif", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_1","top3","Ventes","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=vente immobilier entreprise&img=4", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_1_0","sub3_1","Murs commerciaux","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=murs commerciaux vente immobilier entreprise&img=4","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_1_1","sub3_1","Fonds de commerce","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=fonds de commerce vente immobilier entreprise&img=4","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_1_2","sub3_1","Terrains industriels","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=terrain vente immobilier entreprise&img=4","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_1_3","sub3_1","Droit au bail","http://www.sombimcaraibes.com/immobilier/droit-au-bail.asp?img=4","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_2","top3","Locations","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Location immobilier entreprise&img=4", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_2_0","sub3_2","Locaux commerciaux","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Locaux location immobilier entreprise&img=4","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_2_1","sub3_2","Bureaux","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Bureaux location immobilier entreprise&img=4","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_2_2","sub3_2","Entrepôts","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Entreprôt location immobilier entreprise&img=4","", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub3_3","top3","Défiscalisation IS","vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Défiscalisation IS immobilier entreprise&img=4", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("top4","","Défiscalisation Nos Programmes","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Villas Défiscalisation Nos Programmes&img=5","", "114", "33", "http://www.sombimcaraibes.com/uploads/menu/defiscalisation.gif", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub4_1","top4","Villas","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Villas Défiscalisation Nos Programmes&img=5", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub4_2","top4","Appartements","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=Appartement Défiscalisation Nos Programmes&img=5", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub4_3","top4","Textes en vigueur","http://www.sombimcaraibes.com/immobilier/textes-en-vigueur.asp?img=5", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub4_4","top4","Défiscalisation IS","http://www.sombimcaraibes.com/immobilier/defiscalisation_is.asp?img=5", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("top5","","Locations Saisonnières","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=locations saisonnières&img=6","", "114", "33", "http://www.sombimcaraibes.com/uploads/menu/location_saisonnieres.gif", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub5_0","top5","Villas","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=villa locations saisonnières&img=6", "", 150, 0, "", "", "", "", "", 0, "", "" ) oCMenu.makeMenu("sub5_1","top5","Appartements","http://www.sombimcaraibes.com/immobilier/vente-location-immobilier.asp?lstcrt=Tous¤tpg=1&B1=Chercher&txtch=appartement locations saisonnières&img=6", "", 150, 0, "", "", "", "", "", 0, "", "" ) if (bw.ie6 || bw.ie55) { oCMenu.construct() }