var oM=new makeCM("oM")
oM.pxBetween=25 //(px, "%")
oM.fromTop=94 //(px, "%")
oM.fromLeft=21 //(px, "%")

var avail="(cmpage.x2/2)-125";
oM.menuPlacement=new Array(avail+"-247",avail+"-161",avail+"-86",avail+"-30",avail+"+131",avail+"+280",avail+"+353",avail+"+450")
//oM.menuPlacement="center"

oM.wait=500 //time drop is visible when mouse is not over (value=milliseconds 1000=1 sec)
oM.fillImg="images/cm_fill.gif" //name of transparent gif - needed for NS + OP
oM.zIndex=100 
oM.resizeCheck=1 //reloads page when resized in NS + OP (0=no, 1=yes)

oM.onlineRoot="/" // from the root directory ("/common/scripts/")
oM.offlineRoot="file:///Q|/blackburnehouse.mandogroup.com/docs/" //("file:///C|/Inetpub/wwwroot/")

oM.rows=1 //(1=rows, 0=colums)


//Background bar properties
//more details on properties: http://www.dhtmlcentral.com/projects/coolmenus/properties.asp?m=49
oM.useBar=0 //(1=yes, 0=no)
oM.barWidth="100%" //"menu"=same as menu (px, "%", "menu")
oM.barHeight="menu" //(px, "%", "menu")
oM.barX=0 //(px, "%", "menu")
oM.barY=0 //(px, "%", "menu")
oM.barClass="clBar" //name of CSS
oM.barBorderX=0 //(px)
oM.barBorderY=0 //(px)
oM.barBorderClass="clB3" //name of CSS


//oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)

oM.level[0]=new cm_makeLevel()
oM.level[0].width=200 //(px, "%")
oM.level[0].height=20 //(px, "%")
oM.level[0].regClass="menuReg" //normal class
oM.level[0].overClass="menuOver"  //hover class
oM.level[0].borderX=1 //(px, 0=none)
oM.level[0].borderY=1 //(px, 0=none)
oM.level[0].borderClass="menuBorder"
oM.level[0].rows=0 //(0=beneth, 1=beside)
oM.level[0].align="bottom" //alignment of drops ("bottom","top","left","right","righttop","lefttop","bottomleft","topleft")
oM.level[0].offsetX=-13 //x placement of drop (px)
oM.level[0].offsetY=-2 //y placement of drop (px)
oM.level[0].arrow=0 //use image to show more drops ("path from root of image", 0=none)
oM.level[0].arrowWidth=0 //(px)
oM.level[0].arrowHeight=0 //(px)

oM.level[1]=new cm_makeLevel()
oM.level[1].regClass="dropReg" //normal class
oM.level[1].overClass="dropOver"  //hover class
oM.level[1].borderX=1 //(px, 0=none)
oM.level[1].borderY=1 //(px, 0=none)OoM.level[1].borderClass="dropBorder"
oM.level[1].borderClass="dropBorder" 


oM.makeMenu('m1','','HOME','index.asp','',58,25,'images/nav/button_homepage.gif','images/nav/button_homepage_o.gif');
oM.makeMenu('m2','','ABOUT','about/about_us.html','',51,25,'images/nav/button_about.gif','images/nav/button_about_o.gif');
oM.makeMenu('m3','','WTEC','wtec/wtec.html','',31,25,'images/nav/button_wtec.gif','images/nav/button_wtec_o.gif');
oM.makeMenu('m4','','BUSINESS','business/shw-business.asp','',134,25,'images/nav/button_business.gif','images/nav/button_business_o.gif');
oM.makeMenu('m5','','CONFERENCES','conference/conference.html','',123,25,'images/nav/button_conference.gif','images/nav/button_conference_o.gif');
oM.makeMenu('m6','','CAFE','cafe/shw-cafe.asp','',48,25,'images/nav/button_cafe_bar.gif','images/nav/button_cafe_bar_o.gif');
oM.makeMenu('m7','','HEALTH','health/health_place.html','',71,25,'images/nav/button_health_place.gif','images/nav/button_health_place_o.gif');
oM.makeMenu('m8','','NURSERY','nursery/nursery.html','',44,25,'images/nav/button_nursery.gif','images/nav/button_nursery_o.gif');
oM.makeMenu('m9','m2','Contact Details','about/contact_details.html','',91,0);
oM.makeMenu('m10','m2','Enquiry','about/enquiry.html','',91,0);
oM.makeMenu('m11','m3','About WTEC','wtec/about_wtec.html','',113,0);
oM.makeMenu('m12','m3','Course Information','wtec/course_information.asp','',113,0);
oM.makeMenu('m13','m3','How to Enrol','wtec/how_to_enrol.html','',113,0);
oM.makeMenu('m14','m3','Student Facilities','wtec/student_facilities.html','',113,0);
oM.makeMenu('m15','m3','Student Support','wtec/student_support.html','',113,0);
oM.makeMenu('m16','m3','Student Charter','wtec/student_charter.html','',113,0);
oM.makeMenu('m17','m5','Room Information','conference/room_information.html','',167,0);
oM.makeMenu('m18','m5','Enquiry Form','conference/enquiry_form.html','',167,0);
oM.makeMenu('m19','m5','Evaluation Form','conference/evaluation_form.html','',167,0);
oM.makeMenu('m20','m5','Organisers Checklist','conference/organisers_checklist.html','',167,0);
oM.makeMenu('m21','m5','Menus','conference/shw-menus.asp','',167,0);
oM.makeMenu('m22','m5','Private Functions','conference/private_functions.html','',167,0);
oM.makeMenu('m23','m5','Special Events and Exhibitions','conference/shw-exhibitions.asp','',167,0);
oM.makeMenu('m24','m7','Course Programme','health/course_programme.asp','',145,0);
oM.makeMenu('m25','m7','Treatments and Therapies','health/treatment_therapies.asp','',145,0);
oM.makeMenu('m26','m8','Facilities','nursery/facilities.html','',128,0);
oM.makeMenu('m27','m8','Holiday Clubs','nursery/shw-activities.asp','',128,0);
oM.makeMenu('m28','m8','Curriculum Information','nursery/curriculum_information.html','',128,0);
//oM.makeMenu('m29','m8','General Infomation','nursery/general_information.html','',128,0);
oM.makeMenu('m29','m8','Ofsted Report','nursery/ofsted_report.html','',128,0);

/*
var avail="190+((cmpage.x2-235)/7)";
oM.menuPlacement=new Array(192,avail+"-11",avail+"*2-8",avail+"*3-12",avail+"*4-7",avail+"*5-9",avail+"*6+5")
*/
oM.construct()