/*** 
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="0"
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=165
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) 
*************************************/

function popup(url, width, height)
{
	window.open(url, "popup", "width=" + width + ",height=" + height);
}

//oCMenu.makeMenu('top0','','','','','349','17','../images/aspacer.gif','../images/aspacer.gif','','','','','','','','')
/* About button */
oCMenu.makeMenu('top1','','','../index.aspx','_top','50','23','../images/nav_home.gif','../images/nav_home_roll.gif','','','','','','','','')

oCMenu.makeMenu('top2','','','','','5','23','../images/globalnav_divider_black.gif','../images/globalnav_divider_black.gif','','','','','','','','')

oCMenu.makeMenu('top3','','','','_top','103','23','../images/main_nav_about.gif','../images/main_nav_about_roll.gif','','','','','','','','')
oCMenu.makeMenu('sub30','top3','','../about_clinical.aspx','_top','233','18','../images/subnav_about_clinical.gif','../images/subnav_about_clinical_roll.gif','','','right','','','','','')
    oCMenu.makeMenu('sub301','sub30','','../about_clinical_indication.aspx','_top','215','18','../images/subnav_about_clinical_indication.gif','../images/subnav_about_clinical_indication_roll.gif','','','right','','','','','')
	oCMenu.makeMenu('sub302','sub30','','','_top','215','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','right','','','','','')
	oCMenu.makeMenu('sub303','sub30','','../about_clinical_peripheral.aspx','_top','215','18','../images/subnav_about_clinical_peripheral.gif','../images/subnav_about_clinical_peripheral_roll.gif','','','right','','','','','')
    oCMenu.makeMenu('sub304','sub30','','','_top','215','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','right','','','','','')
	oCMenu.makeMenu('sub305','sub30','','../about_clinical_labor.aspx','_top','215','18','../images/subnav_about_clinical_labor.gif','../images/subnav_about_clinical_labor_roll.gif','','','right','','','','','')
    oCMenu.makeMenu('sub306','sub30','','','_top','215','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','right','','','','','')
    oCMenu.makeMenu('sub307','sub30','','../about_clinical_analgesia.aspx','_top','215','18','../images/subnav_about_clinical_analgesia.gif','../images/subnav_about_clinical_analgesia_roll.gif','','','right','','','','','')
	oCMenu.makeMenu('sub308','sub30','','','_top','215','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','right','','','','','')
    oCMenu.makeMenu('sub309','sub30','','../about_clinical_safety.aspx','_top','215','18','../images/subnav_about_clinical_safety.gif','../images/subnav_about_clinical_safety_roll.gif','','','right','','','','','')
    oCMenu.makeMenu('sub310','sub30','','','_top','215','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','right','','','','','')
    oCMenu.makeMenu('sub311','sub30','','../about_clinical_pharmacologic.aspx','_top','215','18','../images/subnav_about_clinical_pharmacologic.gif','../images/subnav_about_clinical_pharmacologic_roll.gif','','','right','','','','','')
oCMenu.makeMenu('sub31','top3','','','_top','233','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','left','','','','','')
oCMenu.makeMenu('sub32','top3','','../about_faq.aspx','_top','233','18','../images/subnav_about_faq.gif','../images/subnav_about_faq_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub33','top3','','','_top','233','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','left','','','','','')
oCMenu.makeMenu('sub34','top3','','../about_edetail.aspx','_top','233','18','../images/subnav_about_edetail.gif','../images/subnav_about_edetail_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub35','top3','','','_top','233','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','left','','','','','')
oCMenu.makeMenu('sub36','top3','','../about_ordering.aspx','_top','233','18','../images/subnav_about_ordering.gif','../images/subnav_about_ordering_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub37','top3','','','_top','233','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','left','','','','','')
oCMenu.makeMenu('sub38','top3','','pdf/Naropin_PI_451112B_Apr_2010.pdf','_blank','233','18','../images/subnav_about_info.gif','../images/subnav_about_info_roll.gif','','','left','','','','','')



oCMenu.makeMenu('top4','','','','','5','23','../images/globalnav_divider_black.gif','../images/globalnav_divider_black.gif','','','','','','','','')


/* Links button */
oCMenu.makeMenu('top5','','','','_top','111','23','../images/main_nav_resource.gif','../images/main_nav_resource_roll.gif','','','','','','','','')
oCMenu.makeMenu('sub50','top5','','../resource_associations.aspx','_top','111','18','../images/subnav_helpful_associations.gif','../images/subnav_helpful_associations_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub51','top5','','','_top','111','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','left','','','','','')
oCMenu.makeMenu('sub52','top5','','../resource_newsletters.aspx','_top','111','18','../images/subnav_resource_newsletters.gif','../images/subnav_resource_newsletters_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub53','top5','','','_top','111','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','left','','','','','')
oCMenu.makeMenu('sub54','top5','','','_top','111','18','../images/subnav_resource_consultant.gif','../images/subnav_resource_consultant_roll.gif','','','right','','','','','')
        //oCMenu.makeMenu('sub541','sub54','','../resource_consultant_webinar.aspx','_top','152','18','../images/subnav_resource_consultant_webinars.gif','../images/subnav_resource_consultant_webinars_roll.gif','','','right','','','','','')
        oCMenu.makeMenu('sub542','sub54','','','_top','152','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','right','','','','','')
        oCMenu.makeMenu('sub543','sub54','','../resource_consultant_powerpoint.aspx','_top','152','18','../images/subnav_resource_consultant_powerpoint.gif','../images/subnav_resource_consultant_powerpoint_roll.gif','','','right','','','','','')
        oCMenu.makeMenu('sub544','sub54','','','_top','152','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','right','','','','','')
        oCMenu.makeMenu('sub545','sub54','','../resource_consultant_reference.aspx','_top','152','18','../images/subnav_resource_consultant_reference.gif','../images/subnav_resource_consultant_reference_roll.gif','','','right','','','','','')
        oCMenu.makeMenu('sub546','sub54','','','_top','152','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','right','','','','','')
        oCMenu.makeMenu('sub547','sub54','','../resource_consultant_contact.aspx','_top','152','18','../images/subnav_resource_consultant_contact.gif','../images/subnav_resource_consultant_contact_roll.gif','','','right','','','','','')
oCMenu.makeMenu('top6','','','','','5','23','../images/globalnav_divider_black.gif','../images/globalnav_divider_black.gif','','','','','','','','')


/* Contact button */
oCMenu.makeMenu('top7','','','','_top','76','23','../images/nav_contact.gif','../images/main_nav_contact_roll.gif','','','','','','','','')
oCMenu.makeMenu('sub70','top7','','../contact_customer.aspx','_top','144','18','../images/subnav_contact_customer.gif','../images/subnav_contact_customer_roll.gif','','','left','','','','','')
oCMenu.makeMenu('sub71','top7','','','_top','111','1','../images/subnav_divider.gif','../images/subnav_divider.gif','','','left','','','','','')
oCMenu.makeMenu('sub72','top7','','../contact_medical.aspx','_top','144','18','../images/subnav_contact_medical.gif','../images/subnav_contact_medical_roll.gif','','','left','','','','','')


oCMenu.makeMenu('top8','','','','','5','23','../images/globalnav_divider_black.gif','../images/globalnav_divider_black.gif','','','','','','','','')


/* APP button */
oCMenu.makeMenu('top9','','','../app.aspx','_top','78','23','../images/nav_app.gif','../images/nav_app_roll.gif','','','','','','','','')



//Leave this line - it constructs the menu
oCMenu.construct()