/*** 
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

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0
oCMenu.fromTop=0
oCMenu.rows=1 
oCMenu.menuPlacement="0"
                                                             
oCMenu.offlineRoot="menu/" 
oCMenu.onlineRoot="menu/" 
oCMenu.resizeCheck=1 
oCMenu.wait=0 
oCMenu.fillImg=""
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="800"
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 specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=130
oCMenu.level[0].height=25 
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=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"

//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=0
oCMenu.level[1].height=0
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass, align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/

/* About button */
oCMenu.makeMenu('top0','','','../about.aspx','_top','188','29','../images/nav_about.gif','../images/nav_about_roll.gif','','','','','','','','')
oCMenu.makeMenu('sub00','top0','','../about.aspx','_top','219','38','../images/subnav_about_overview.gif','../images/subnav_about_overview_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub01','top0','','../about_ourvision.aspx','_top','219','31','../images/subnav_about_ourvision.gif','../images/subnav_about_ourvision_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub02','top0','','../about_ourmission.aspx','_top','219','31','../images/subnav_about_ourmission.gif','../images/subnav_about_ourmission_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub03','top0','','../about_nab.aspx','_top','219','33','../images/subnav_about_nab.gif','../images/subnav_about_nab_roll.gif','','','right','','','','','')

/* Our Products button */
oCMenu.makeMenu('top1','','','../products.aspx','_top','128','29','../images/nav_products.gif','../images/nav_products_roll.gif','','','','','','','','')
oCMenu.makeMenu('sub10','top1','','../products.aspx','_top','250','38','../images/subnav_products_overview.gif','../images/subnav_products_overview_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub11','top1','','../products_abraxane.aspx','_top','250','31','../images/subnav_products_abraxane.gif','../images/subnav_products_abraxane_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub12','top1','','../products_clinical.aspx','_top','250','31','../images/subnav_products_clinical.gif','../images/subnav_products_clinical_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub13','top1','','../arc.aspx#productsarc','_top','250','35','../images/subnav_products_arc.gif','../images/subnav_products_arc_roll.gif','','','right','','','','','')

/* Research & Development button */
oCMenu.makeMenu('top2','','','../rnd.aspx','_top','196','29','../images/nav_rnd.gif','../images/nav_rnd_roll.gif','','','','','','','','')
oCMenu.makeMenu('sub20','top2','','../rnd.aspx','_top','196','38','../images/subnav_rnd_overview.gif','../images/subnav_rnd_overview_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub21','top2','','../rnd_pipeline.aspx','_top','196','31','../images/subnav_rnd_pipeline.gif','../images/subnav_rnd_pipeline_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub22','top2','','../rnd_trials.aspx','_top','196','31','../images/subnav_rnd_trials.gif','../images/subnav_rnd_trials_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub23','top2','','../partnerships.aspx','_top','196','31','../images/subnav_rnd_partnerships.gif','../images/subnav_rnd_partnerships_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub24','top2','','../rnd_publications.aspx','_top','196','37','../images/subnav_rnd_publications.gif','../images/subnav_rnd_publications_roll.gif','','','right','','','','','')

/* Medical Affairs button */
oCMenu.makeMenu('top3','','','../medical.aspx','_top','138','29','../images/nav_medical.gif','../images/nav_medical_roll.gif','','','','','','','','')

oCMenu.makeMenu('sub30','top3','','../medical.aspx','_top','219','38','../images/subnav_medical_overview.gif','../images/subnav_medical_overview_roll.gif','','','right','','','','','')

oCMenu.makeMenu('sub31','top3','','../medical_investigator.aspx','_top','219','31','../images/subnav_medical_investigator.gif','../images/subnav_medical_investigator_roll.gif','','','right','','','','','')

oCMenu.makeMenu('sub32','top3','','../medical_grant.aspx','_top','219','31','../images/subnav_medical_grant.gif','../images/subnav_medical_grant_roll.gif','','','right','','','','','')

oCMenu.makeMenu('sub33','top3','','../arc.aspx#medinfo','_top','219','31','../images/subnav_medical_info.gif','../images/subnav_medical_info_roll.gif','','','right','','','','','')

oCMenu.makeMenu('sub34','top3','','../medical_treatment.aspx','_top','219','31','../images/subnav_medical_treatment.gif','../images/subnav_medical_treatment_roll.gif','','','right','','','','','')

oCMenu.makeMenu('sub35','top3','','../patient_resources.aspx','_top','219','37','../images/subnav_medical_resources.gif','../images/subnav_medical_resources_roll.gif','','','right','','','','','')




/* Patient Resources button */
oCMenu.makeMenu('top4','','','../patient.aspx','_top','150','29','../images/nav_patient.gif','../images/nav_patient_roll.gif','','','','','','','','')
oCMenu.makeMenu('sub40','top4','','../patient.aspx','_top','150','53','../images/subnav_patient_overview.gif','../images/subnav_patient_overview_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub41','top4','','../arc.aspx#patientarc','_top','150','31','../images/subnav_patient_arc.gif','../images/subnav_patient_arc_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub42','top4','','../patient_abraxane.aspx','_top','150','54','../images/subnav_patient_abraxane.gif','../images/subnav_patient_abraxane_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub43','top4','','../patient_resources.aspx','_top','150','35','../images/subnav_patient_resources.gif','../images/subnav_patient_resources_roll.gif','','','left','','','','','')


//Leave this line - it constructs the menu
oCMenu.construct()