var left0 = 300;
var top0 = 55;
var left1 = 400;
var top1 = 55;
var left2 = 495;
var top2 = 55;

switch (browserheight) {
        case 600:
			 left0 = left0 + 70;
			 top0 = 55;
       	 		 left1 = 470;
			 top1 = 55;
 			 left2 = 565;
			 top2 = 55; 
           break;
        case 768:
			  top0 = 60;
			  left0 = left0 + 190;
            		  left1 = 590;
			  top1 = 60;
 			  left2 = 675;
			  top2 = 60; 
            break;
        case 1024: 
			  left0 = left0 + 310;
            		  left1 = 710;
			  top1 = 55;
 			  left2 = 805;
			  top2 = 55;
 			  break;
        case 480: 
 			  break;
        default:
 			  break;
    }


// index = 0
addMenu(left1,top1);
// change your calendar link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;The Committee","tcom.htm","");
//addMenuItem("&nbsp;Sub-Committees","scom.htm","");
//addMenuItem("&nbsp;Past Committee","pastcom.htm","");
//addMenuItem("&nbsp;Past Presidents","pastpre.htm","");
//addMenuItem("&nbsp;Past Captains","pastcap.htm","");

// index = 1
addMenu(left2,top2);
// change your members link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;Members' Login","/private/default.asp?Action=login","");
addMenuItem("&nbsp;Members' Service","service.asp","");
//addMenuItem("&nbsp;Members' Forum","forum.asp","");
addMenuItem("&nbsp;New Sign-Up","signup.asp","");
addMenuItem("&nbsp;Change Password","/private/profile/pChgPwd.asp","");
addMenuItem("&nbsp;Forgot Password?","forgotpwd.asp","");

// index = 2
addMenu(130,435);
// change your calendar link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;Golf Course Main","course.htm","");
//addMenuItem("&nbsp;Old Course","courso.htm","");
//addMenuItem("&nbsp;New Course","coursn.htm","");
//addMenuItem("&nbsp;Suleiman Course","courss.htm","");

// index = 3
addMenu(130,360);
// change your membership link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;Membership Profile","member.htm","");
//addMenuItem("&nbsp;Honorary Members","memhonor.htm","");
//addMenuItem("&nbsp;Welcome New Members","memnew.htm","");
//addMenuItem("&nbsp;Membership Statistic","memprof.htm","");
//addMenuItem("&nbsp;Membership Regulations","memregu.htm","");
//addMenuItem("&nbsp;Accounts Settlement","member.htm#Accounts settlement","");

// index = 4
addMenu(130,446);
// change your fbpromo link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;F & B Promotion","fbpromo.htm","");
//addMenuItem("&nbsp;More Promotion","fbpromo2.htm","");

// index = 5
addMenu(130,540);
// change your reciprocal link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;Australia","recpaust.htm","");
//addMenuItem("&nbsp;Brunei","recpbrunei.htm","");
//addMenuItem("&nbsp;Canada","recpcanada.htm","");
//addMenuItem("&nbsp;China","recpchina.htm","");
//addMenuItem("&nbsp;Finland","recpfinland.htm","");
//addMenuItem("&nbsp;Indonesia","recpindo.htm","");
//addMenuItem("&nbsp;Japan","recpjapan.htm","");
//addMenuItem("&nbsp;Kenya","recpkenya.htm","");
//addMenuItem("&nbsp;Korea","recpkorea.htm","");
//addMenuItem("&nbsp;Macau","recpmacau.htm","");
//addMenuItem("&nbsp;Malaysia","recpmsia.htm","");
//addMenuItem("&nbsp;Myanmar","recpmynmar.htm","");
//addMenuItem("&nbsp;New Zealand","recpnewz.htm","");
//addMenuItem("&nbsp;Pakistan","recppakis.htm","");
//addMenuItem("&nbsp;Philipines","recpphilip.htm","");
//addMenuItem("&nbsp;Sri Lanka","recpslanka.htm","");
//addMenuItem("&nbsp;South Africa","recpsoutha.htm","");
//addMenuItem("&nbsp;Singapore","recpspore.htm","");
//addMenuItem("&nbsp;Switzerland","recpswitze.htm","");
//addMenuItem("&nbsp;Taiwan","recptaiwan.htm","");
//addMenuItem("&nbsp;Thailand","recpthai.htm","");
//addMenuItem("&nbsp;United Kingdom","recpuk.htm","");
//addMenuItem("&nbsp;Terms & Conditions","recpterms.htm","");
//addMenuItem("&nbsp;List of Clubs by Country","recp.htm","");
//addMenuItem("&nbsp;General Terms & Conditions","recpterms.htm","");

var thisDate = new Date();
var thismonth = thisDate.getMonth() + 1;
thismonth = (thismonth > 11) ? 1 : thismonth;
thismonth = (thismonth < 10) ? "0" + thismonth : thismonth;

// index = 6
addMenu(130,418);
// change your golfing link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;Weekly Course Control","golfcc.htm","");
//addMenuItem("&nbsp;Rules & Etiquette","golfrule.htm","");
//addMenuItem("&nbsp;Flight Booking","private/eServices/pMGolfFlightBooking.asp","");
//addMenuItem("&nbsp;Fixture ","g" + thismonth + ".htm","");
//addMenuItem("&nbsp;Entries Open","gopen.htm","");
//addMenuItem("&nbsp;Draw Lists","gdraw.htm","");
//addMenuItem("&nbsp;Men's Results","gmen.htm","");
//addMenuItem("&nbsp;Ladies' Results","glady.htm","");
//addMenuItem("&nbsp;Handicapping","private/eRecords/p2pHandicap.asp","");
//addMenuItem("&nbsp;Hole-In-One Achievers","holeinone.htm","");
//addMenuItem("&nbsp;Golfer's Insurance","ginsur.htm","");

// index = 7
addMenu(left0,top0);
// change your captain link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;Current Issue","captain.htm","");
//addMenuItem("&nbsp;Past Issues","cappast.htm","");

// index = 8

addMenu(130,350);
// change your events
function addMenuItem(html,url,background)
addMenuItem("&nbsp;Calendar of Events","clubevent.htm","");
//addMenuItem("&nbsp;Club News & Updates","clubnews.htm","");


// index = 9
addMenu(130,705);
// change your captain link page
function addMenuItem(html,url,background)
addMenuItem("&nbsp;Read the Circular Contents","/PRIVATE/eBook/pMCircular.asp","");
//addMenuItem("&nbsp;Our Advertisement Rates","advrate.htm,advertisement,'width=500|height=450|top=0|left=0'","");
//addMenuItem("&nbsp;Our Advertising Rates","advrate.htm","");
