oM=new makeCM("oM"); oM.resizeCheck=1; oM.rows=1;  oM.onlineRoot=""; oM.pxBetween =0; 
oM.fillImg="cm_fill.gif"; oM.fromTop=160; oM.fromLeft=155; oM.wait=300; oM.zIndex=400;
oM.useBar=1; oM.barWidth="100%"; oM.barHeight="menu"; oM.barX=0;oM.barY="menu"; oM.barClass="clBar";
oM.barBorderX=0; oM.barBorderY=0;
oM.level[0]=new cm_makeLevel(90,21,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);
oM.level[1]=new cm_makeLevel(102,22,"clS","clSover",1,1,"clB",0,"right",0,0,"menu_arrow.gif",10,10);
oM.level[2]=new cm_makeLevel(110,22,"clS2","clS2over");
oM.level[3]=new cm_makeLevel(140,22);

oM.makeMenu('m1','','Home','http://www.wsg.org.uk/index.php');
oM.makeMenu('m2','','New Members','');
oM.makeMenu('m3','','Diary / Events','/online/search/diary.php');
oM.makeMenu('m4','','Contact Us','/html/contacts.htm');
oM.makeMenu('m5','','Accommodation','','',140);
oM.makeMenu('m6','','Docs','');
oM.makeMenu('m7','','Gallery','/online/pics/pfind.php');
oM.makeMenu('m8','','Members Only','javascript:members()');
oM.makeMenu('m9','m2','About the club','/html/about1.htm');
oM.makeMenu('m10','m2','More Information','/html/new_mem.htm');
oM.makeMenu('m11','m2','Join Online','/online/join');
oM.makeMenu('m12','m5','Information','/html/cottage.htm');
oM.makeMenu('m13','m5','Online Booking','javascript:cottage()');
oM.makeMenu('m14','m6','Newsletter','/online/nl/find.php');
oM.makeMenu('m15','m6','Library','/online/library/find.php');
oM.makeMenu('m16','m6','Log Book','/online/logbook/logbook.php');
oM.makeMenu('m17','m8','Log In','javascript:members()');
oM.makeMenu('m18','m8','Forgot Login','/online/login/forgot.htm');

function members() {
PopupWin1=window.open('http://members.wsg.org.uk/wsg/private/index.php','WSG','');
if (window.focus) {PopupWin1.focus()}
}
function cottage() {
PopupWin1=window.open('http://www.wsg.org.uk/online/cottage','WSG','');
if (window.focus) {PopupWin1.focus()}
}


var avail="180+((cmpage.x2-235)/8)";
oM.menuPlacement=new Array(150,avail+"-50",avail+"*2-28",avail+"*3-8",avail+"*4-8",avail+"*5+25",avail+"*6-5",avail+"*7-20")
oM.construct()
