/***
TEil B am besten direkt vorm zamkniencie des cialo-tags einbauen
**/
var homePath = '/comm/icm_fr.nsf' ;
// Anonymous; *; [PageRead] - Server: CN=DOMWEB6/O=EXT-SENN ;
//Extra code to find position:
function findPos(){
if(bw.ns4){ //Netscape 4
x = document.layers.layerMenu.pageX
y = document.layers.layerMenu.pageY
}else{ //other browsers
x=0; y=0; var el,temp
el = bw.ie4?document.all["divMenu"]:document.getElementById("divMenu");
if(el.offsetParent){
temp = el
while(temp.offsetParent){ //Looping parent elements to get the offset of them as well
temp=temp.offsetParent;
x+=temp.offsetLeft;
y+=temp.offsetTop;
}
}
x+=el.offsetLeft;
y+=el.offsetTop
}
//Returning the x and y as an array
return [x,y]
}
pos = findPos();
//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname
oCMenu.frames = 0
//Menu properties
oCMenu.pxBetween=0
//Optimierung fuer permanente plazierung innerhalb eines Tisches A
oCMenu.fromLeft=pos[0]
oCMenu.fromTop=pos[1]
oCMenu.onresize="pos = findPos(); oCMenu.fromLeft=pos[0]; oCMenu.fromTop=pos[1]"
//Optimierung fuer permanente plazierung innerhalb eines Tisches E
oCMenu.rows=1
oCMenu.menuPlacement=0
//oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/projects/coolmenus/examples/"
oCMenu.onlineRoot= "" ; // dbPath ;// "http://www.sennheiserusa.com/newsite/includes/"
oCMenu.resizeCheck=1
oCMenu.wait=250
oCMenu.fillImg=dbPath + "/space.gif" ; //"cm_fill.gif"
oCMenu.zIndex=0
//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX=0
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""
//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=100
oCMenu.level[0].height=43
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX= 0
oCMenu.level[0].offsetY= -1
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].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.01,wipeStyle=10)"
//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=150;
oCMenu.level[1].height=22;
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20 + 20 ;
oCMenu.level[1].offsetY=10
oCMenu.level[1].borderClass="clLevel1border"
// oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.01)"
//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=22
oCMenu.level[2].offsetX=-(oCMenu.level[0].width-2)/2+20 + 20; // 0
oCMenu.level[2].offsetY=10; // 0
oCMenu.level[2].regClass="clLevel1"
oCMenu.level[2].overClass="clLevel1over"
oCMenu.level[2].borderClass="clLevel1border"
/******************************************
Menu item creation:
// myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick,
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, null, null, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/
oCMenu.makeMenu('top1','','Accueil',''+homePath + '/root/home2','','54','',null,null,'clLevel0','clLevel0over')
oCMenu.makeMenu('top2','','Qui sommes-
nous?',''+homePath + '/root/about','','90','',null,null,'clLevel0A','clLevel0Aover')
oCMenu.makeMenu('sub2_1','top2','Nos produits primés', ''+homePath + '/root/about_award_products','','','')
oCMenu.makeMenu('sub2_1_1','sub2_1','Nos concepts primés', ''+homePath + '/root/about_award_products_awards','','','')
oCMenu.makeMenu('sub2_2','top2','Notre philosophie', ''+homePath + '/root/about_philosophy','','','')
oCMenu.makeMenu('sub2_2_1','sub2_2','Victoires de clans', ''+homePath + '/root/about_philosophy_success','','','')
oCMenu.makeMenu('sub2_3','top2','Nos origines', ''+homePath + '/root/about_meet_parents','','','')
oCMenu.makeMenu('sub2_3_1','sub2_3','Sennheiser electronic', ''+homePath + '/root/about_meet_parents_sennheiser','','','')
oCMenu.makeMenu('sub2_3_2','sub2_3','William Demant', ''+homePath + '/root/about_meet_parents_demant','','','')
oCMenu.makeMenu('top3','','Produits',''+homePath + '/root/products','','63','',null,null,'clLevel0','clLevel0over')
oCMenu.makeMenu('sub3_1','top3','Multimédia ', ''+homePath + '/root/products_pc_headsets','','','')
oCMenu.makeMenu('sub3_2','top3','Téléphonie mobile ', ''+homePath + '/root/products_mobile','','','')
oCMenu.makeMenu('sub3_3','top3','Centre d´appels', ''+homePath + '/root/products_call_centre','','','')
oCMenu.makeMenu('sub3_4','top3','Bureaux', ''+homePath + '/root/products_office','','','')
oCMenu.makeMenu('sub3_5','top3','Garantie', ''+homePath + '/root/products_warranty','','','')
oCMenu.makeMenu('sub3_6','top3','ActiveGard', ''+homePath + '/root/products_activegard','','','')
oCMenu.makeMenu('top4','','Support
technique',''+homePath + '/root/support','','69','',null,null,'clLevel0A','clLevel0Aover')
oCMenu.makeMenu('sub4_1','top4','FAQ', ''+homePath + '/root/support_faqs','','','')
oCMenu.makeMenu('sub4_1_1','sub4_1','Casques USB pour PC', ''+homePath + '/root/support_faqs_pcusb','','','')
oCMenu.makeMenu('sub4_1_2','sub4_1','Systèmes Windows', ''+homePath + '/root/support_faqs_win_systems','','','')
oCMenu.makeMenu('sub4_1_3','sub4_1','Systèmes Mac', ''+homePath + '/root/support_faqs_mac_systems','','','')
oCMenu.makeMenu('sub4_1_4','sub4_1',' DW 800', ''+homePath + '/root/support_faqs_dw800','','','')
oCMenu.makeMenu('sub4_1_5','sub4_1','DW 800 Intercom', ''+homePath + '/root/support_faqs_dw800_int','','','')
oCMenu.makeMenu('sub4_1_6','sub4_1','Accessoires sans fil', ''+homePath + '/root/support_faqs_wireless_access','','','')
oCMenu.makeMenu('sub4_2','top4','Guide produit', ''+homePath + '/root/support_hs','','','')
oCMenu.makeMenu('sub4_3','top4','contact', '/comm/icm_fr.nsf/FormContactSC?ReadForm&path=support_contact','','','')
oCMenu.makeMenu('sub4_4','top4','SafetyZone ', ''+homePath + '/root/support_safety_zone','','','')
oCMenu.makeMenu('top5','','Téléchargement',''+homePath + '/root/download','','106','',null,null,'clLevel0','clLevel0over')
oCMenu.makeMenu('sub5_1','top5','Product Images', ''+homePath + '/root/download_product-images','','','')
oCMenu.makeMenu('sub5_1_1','sub5_1','PC', ''+homePath + '/root/download_product-images_pc','','','')
oCMenu.makeMenu('sub5_1_2','sub5_1','Téléphonie mobile ', ''+homePath + '/root/download_product-images_mobile','','','')
oCMenu.makeMenu('sub5_1_3','sub5_1','Call Centre', ''+homePath + '/root/download_product-images_call_centre','','','')
oCMenu.makeMenu('sub5_1_4','sub5_1','Centres d´appels', ''+homePath + '/root/download_product-images_office','','','')
oCMenu.makeMenu('sub5_4','top5','Brochures ', ''+homePath + '/root/download_brochures-ads','','','')
oCMenu.makeMenu('sub5_4_1','sub5_4','PC ', ''+homePath + '/root/download_brochures-ads_pc_headsets','','','')
oCMenu.makeMenu('sub5_4_2','sub5_4','Mobile', ''+homePath + '/root/download_brochures-ads_mobile_headsets','','','')
oCMenu.makeMenu('sub5_4_3','sub5_4','Call Centre', ''+homePath + '/root/download_brochures-ads_call_centre_headsets','','','')
oCMenu.makeMenu('sub5_4_4','sub5_4','Office', ''+homePath + '/root/download_brochures-ads_office_headsets','','','')
oCMenu.makeMenu('sub5_10','top5','Screensaver', ''+homePath + '/root/download_screensaver','','','')
oCMenu.makeMenu('top6','','Presse',''+homePath + '/root/press','','45','',null,null,'clLevel0','clLevel0over')
oCMenu.makeMenu('sub6_1','top6','Communiqués de presse', ''+homePath + '/root/press_releases','','','')
oCMenu.makeMenu('sub6_2','top6','Archives de la presse 2006', ''+homePath + '/root/press_archive2006','','','')
oCMenu.makeMenu('sub6_3','top6','Archives de la presse 2005', ''+homePath + '/root/press_archive2005','','','')
oCMenu.makeMenu('top7','','Événements',''+homePath + '/root/events','','84','',null,null,'clLevel0','clLevel0over')
oCMenu.construct();