var oM=new makeCM("oM")
oM.pxBetween=0
oM.fromTop=180
oM.fromLeft=10
oM.menuPlacement="center"
oM.wait=600
oM.fillImg="cm_fill.gif"
oM.zIndex=100 
oM.resizeCheck=0
oM.zIndex=100  

oM.onlineRoot="../"
oM.offlineRoot=""

oM.rows=1

//Background bar properties
oM.useBar=0
oM.barWidth="100%" 
oM.barHeight="menu"
oM.barX=0
oM.barY="menu"
oM.barClass="clBar" 
oM.barBorderX=0
oM.barBorderY=2
oM.barBorderClass="clB3"


//Level properties
//Syntax for fast creation (advanced users only)
//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=120
oM.level[0].height=20
oM.level[0].regClass="clT" 
oM.level[0].overClass="clTover"  
oM.level[0].borderX=0
oM.level[0].borderY=0
oM.level[0].borderClass="clB2" 
oM.level[0].rows=0
oM.level[0].align="bottom"
oM.level[0].offsetX=0
oM.level[0].offsetY=0
oM.level[0].arrow=0
oM.level[0].arrowWidth=0
oM.level[0].arrowHeight=0


oM.level[1]=new cm_makeLevel()
oM.level[1].width=100
oM.level[1].height=null
oM.level[1].regClass="clS" 
oM.level[1].overClass="clSover" 
oM.level[1].borderX=0
oM.level[1].borderY=0
oM.level[1].borderClass="clB1"
oM.level[1].align="bottom"
oM.level[1].rows=1
oM.level[1].arrow=0
oM.level[1].arrowWidth=0
oM.level[1].arrowHeight=0

oM.level[2]=new cm_makeLevel()
oM.level[2].width=60
oM.level[2].height=22
oM.level[2].borderClass="clB3"
oM.level[2].regClass="clS2" 
oM.level[2].borderX=0
oM.level[2].borderY=0
oM.level[2].rows=0
oM.level[2].borderX=1
oM.level[2].borderY=1
oM.level[2].offsetX=0
oM.level[2].offsetY=0
oM.level[2].overClass="clS2over" 
oM.level[2].align="bottom"

//oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)
oM.level[3]=new cm_makeLevel(0,0,"","",1,1,"clB",0,"bottom")
oM.level[3].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 

oM.level[4]=new cm_makeLevel(0,0,"","",1,1,"clB2",0,"bottom")
oM.level[4].filter=""
oM.level[4].slidepx=10


oM.level[5]=new cm_makeLevel(0,0,"","",1,1,"clB2",0,"bottom")
oM.level[5].slidepx=0
oM.level[5].clippx=10

oM.level[6]=new cm_makeLevel(0,0,"","",1,1,"clB2",0,"bottom")
oM.level[6].clippx=10
oM.level[6].regClass="clS" 
oM.level[6].overClass="clSover" 
oM.level[6].border=null
oM.level[6].borderClass="clB1"

oM.level[7]=new cm_makeLevel(0,0,"","",1,1,"clB2",0,"bottom")
oM.level[7].clippx=10

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oM.makeMenu('top0','','','','',183,'28','images/STAmenities.gif','images/STAmenities.gif','clFlaga','clFlaga',"bottom")
	oM.makeMenu('0sub10','top0','','Gameroom.htm','',183,20,'images/SMGameRoom.gif','images/SMGameRoom.gif','clFlaga','clFlagaover')
	oM.makeMenu('0sub11','top0','','SmokingTV.htm','',183,20,'images/SMSmokingTV.gif','images/SMSmokingTV.gif','clFlaga','clFlagaover')
	oM.makeMenu('0sub12','top0','','NonSmokingTV.htm','',183,20,'images/SMNonSmokingTV.gif','images/SMNonSmokingTV.gif','clFlaga','clFlagaover')			
	oM.makeMenu('0sub13','top0','','Media.htm','',183,20,'images/SMMedia.gif','images/SMMedia.gif','clFlaga','clFlagaover')
	oM.makeMenu('0sub14','top0','','Pool.htm','',183,20,'images/SMPoolSpa.gif','images/SMPoolSpa.gif','clFlaga','clFlagaover')
	oM.makeMenu('0sub15','top0','','Sundecks.htm','',183,20,'images/SMSundecks.gif','images/SMSundecks.gif','clFlaga','clFlagaover')
	oM.makeMenu('0sub16','top0','','','',183,28,'images/scrollbottombig1.gif','images/scrollbottombig1.gif','clFlaga','clFlagaover')

oM.makeMenu('top1','','','','',183,28,'images/STQuarters.gif','images/STQuarters.gif','clFlagb','clFlagb',"bottom")
	oM.makeMenu('1sub10','top1','','PrinceWilliam.htm','',183,20,'images/SMPrinceWilliam.gif','images/SMPrinceWilliam.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub11','top1','','PrincePhillip.htm','',183,20,'images/SMPrincePhillip.gif','images/SMPrincePhillip.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub12','top1','','QueenAnne.htm','',183,20,'images/SMQueenAnne.gif','images/SMQueenAnne.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub13','top1','','WarOfTheRoses.htm','',183,20,'images/SMWarRoses.gif','images/SMWarRoses.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub14','top1','','QueenVictoria.htm','',183,20,'images/SMQueenVictoria.gif','images/SMQueenVictoria.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub15','top1','','Armory.htm','',183,20,'images/SMArmory.gif','images/SMArmory.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub16','top1','','5thWheel.htm','',183,20,'images/SMCoach1.gif','images/SMCoach1.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub17','top1','','Motorhome.htm','',183,20,'images/SMCoach2.gif','images/SMCoach2.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub18','top1','','Bunkhouse.htm','',183,20,'images/SMBunkhouse.gif','images/SMBunkhouse.gif','clFlagb','clFlagbover')
	oM.makeMenu('1sub19','top1','','','',183,28,'images/scrollbottombig1.gif','images/scrollbottombig1.gif','clFlagb','clFlagbover')

oM.makeMenu('top2','','','','',183,28,'images/STFamily.gif','images/STFamily.gif','clFlagc','clFlagc',"bottom",0)
	oM.makeMenu('2sub10','top2','','JimAndJim.htm','',183,20,'images/SMHosts.gif','images/SMHosts.gif','clFlagc','clFlagcover')
	oM.makeMenu('2sub11','top2','','Herd.htm','',183,20,'images/SMHerd.gif','images/SMHerd.gif','clFlagc','clFlagcover')
	oM.makeMenu('2sub12','top2','','Hounds.htm','',183,20,'images/SMHounds.gif','images/SMHounds.gif','clFlagc','clFlagcover')
	oM.makeMenu('2sub13','top2','','Fowl.htm','',183,20,'images/SMFowl.gif','images/SMFowl.gif','clFlagc','clFlagcover')
	oM.makeMenu('2sub14','top2','','','',183,28,'images/scrollbottombig1.gif','images/scrollbottombig1.gif','clFlagc','clFlagcover')

oM.makeMenu('top3','','','','',183,28,'images/STMoreInfo.gif','images/STMoreInfo.gif','clFlagd','clFlagd',"bottom",0)
	oM.makeMenu('3sub10','top3','','Contact.htm','',183,20,'images/SMReservations.gif','images/SMReservations.gif','clFlagd','clFlagdover')
	oM.makeMenu('3sub11','top3','','Directions.htm','',183,20,'images/SMDirections.gif','images/SMDirections.gif','clFlagd','clFlagdover')
	oM.makeMenu('3sub12','top3','','Policies.htm','',183,20,'images/SMPolicies.gif','images/SMPolicies.gif','clFlagd','clFlagdover')
	oM.makeMenu('3sub13','top3','','Madison.htm','',183,20,'images/SMMadison.gif','images/SMMadison.gif','clFlagd','clFlagdover')
	oM.makeMenu('3sub14','top3','','','',183,28,'images/scrollbottombig1.gif','images/scrollbottombig1.gif','clFlagd','clFlagdover',"bottom", 10)



oM.construct()


//Extra test code to customize the CoolMenus - moving the items to totally different positions:
oM.m["top0"].b.moveIt(5,80)
oM.m["top1"].b.moveIt(200,80)
oM.m["top2"].b.moveIt(395,80)
oM.m["top3"].b.moveIt(590,80)

