var navBeacon = getImage("navBeacon");
var navLeft = getImagePageLeft(navBeacon);
var navTop = getImagePageTop(navBeacon);

oM=new makeCM("oM");
oM.resizeCheck=0;
oM.rows=1;
oM.onlineRoot="";
oM.pxBetween=0;
oM.fillImg="";
oM.fromTop=navTop;
oM.fromLeft=navLeft;
oM.wait=300;
oM.zIndex=400;
oM.useBar=0;
oM.barWidth="100%";
oM.barHeight="menu";
oM.barX=0;oM.barY="menu";
oM.barClass="clBar";
oM.barBorderX=0;
oM.barBorderY=0;

/* Prototype 
makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight,roundBorder)
*/
oM.level[0]=new cm_makeLevel(160,18,"clLevel0","clLevel0over",0,0,"clLevel0border",0,"bottom",-8,0,0,0,0,0);
oM.level[1]=new cm_makeLevel(160,18,"clLevel1","clLevel1over",1,1,"clLevel1border",0,"bottom",0,0,0,0,0,0);
oM.level[2]=new cm_makeLevel(160,18,"clLevel2","clLevel2over",1,1,"clLevel2border",0,"bottom",0,0,0,0,0,0);

/******************************************
Menu item creation:
myCoolMenu.function(name,parent,txt,lnk,targ,w,h,img1,img2,cl,cl2,align,rows,nolink,onclick,onmouseover,onmouseout)
*************************************/
// Top Level Menu
oM.makeMenu('top0','','&nbsp;Company','','_top','155','14','index_files/nav_final_company_on.gif')
oM.makeMenu('top1','','&nbsp;Methodology','','_top','142','14','index_files/nav_final_methodology_on.gif','index_files/nav_final_methodology_on.gif')
oM.makeMenu('top2','','&nbsp;Products &amp; Solutions','','_top','138','14','index_files/nav_final_products_on.gif','index_files/nav_final_products_on.gif')
oM.makeMenu('top3','','&nbsp;Projects','','_top','63','14','index_files/nav_final_projects_on.gif','index_files/nav_final_projects_on.gif','','','')

// Company
oM.makeMenu('sub00','top0','Company Information','http://www.universesecurity.co.uk/company_info.htm','','160')
oM.makeMenu('sub01','top0','Why Us?','http://www.universesecurity.co.uk/mission_statement.htm','','160')
oM.makeMenu('sub02','top0','Executive Profiles','http://www.universesecurity.co.uk/executive_profiles.htm','','160')
oM.makeMenu('sub03','top0','Partners / Alliances','http://www.universesecurity.co.uk/partners.htm','','160')
oM.makeMenu('sub04','top0','Career Opportunities','http://www.universesecurity.co.uk/careers.htm','','160')
oM.makeMenu('sub05','top0','Contact Us','http://www.universesecurity.co.uk/contact.htm','','160')

// Methodology
oM.makeMenu('sub10','top1','Overiew','http://www.universesecurity.co.uk/methodology_overview.htm','','140')
oM.makeMenu('sub11','top1','Assessment','http://www.universesecurity.co.uk/assessment.htm','','140')
oM.makeMenu('sub12','top1','Design','http://www.universesecurity.co.uk/design.htm','','140')
oM.makeMenu('sub13','top1','Implementation','http://www.universesecurity.co.uk/implementation.htm','','140')
oM.makeMenu('sub14','top1','Support','http://www.universesecurity.co.uk/support.htm','','140')

// Products & Solutions
oM.makeMenu('sub20','top2','Overview','http://www.universesecurity.co.uk/products_overview.htm','','')
oM.makeMenu('sub21','top2','Corporate Security','http://www.universesecurity.co.uk/corporate_security.htm','','')
oM.makeMenu('sub22','top2','Maritime Security','http://www.universesecurity.co.uk/maritime_security.htm','','')
oM.makeMenu('sub23','top2','Private Client Security','http://www.universesecurity.co.uk/private_client.htm','','')
oM.makeMenu('sub24','top2','Hostile Environment Security','http://www.universesecurity.co.uk/hostile_environment.htm','','')
oM.makeMenu('sub25','top2','Information Security','http://www.universesecurity.co.uk/information_security.htm','','')
oM.makeMenu('sub26','top2','Transport Security','http://www.universesecurity.co.uk/transport_security.htm','','')
oM.makeMenu('sub27','top2','Hotel Security','http://www.universesecurity.co.uk/hotel_security.htm','','')
oM.makeMenu('sub28','top2','Stadium Security','http://www.universesecurity.co.uk/stadium_security.htm','','')
oM.makeMenu('sub29','top2','Training','http://www.universesecurity.co.uk/training.htm','','')
oM.makeMenu('sub30','top2','Government Advisory','http://www.universesecurity.co.uk/government_advisory.htm','','')
oM.makeMenu('sub31','top2','Investigations','http://www.universesecurity.co.uk/investigations.htm','','')
oM.makeMenu('sub32','top2','Pre-Employment','http://www.universesecurity.co.uk/pre_employment.htm','','')

// Projects
oM.makeMenu('sub40','top3','Overview','http://www.universesecurity.co.uk/projects.htm','','125')

// output menu
//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.menuPlacement=new Array(navLeft,navLeft + 155,navLeft + 297,navLeft + 435)
oM.construct()