//Menu object creation

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname



oCMenu.frames=0



//Menu properties   

oCMenu.pxBetween=1

oCMenu.fromLeft=20 

oCMenu.fromTop=111

oCMenu.rows=1 

oCMenu.menuPlacement="center"

                                                             

oCMenu.offlineRoot="file:///C|/temp/stb/scripts/coolmenus/" 

oCMenu.onlineRoot="/lib/js/menubar/coolmenus/" 

oCMenu.resizeCheck=1 

oCMenu.wait=1000 

oCMenu.fillImg="cm_fill.gif"

oCMenu.zIndex=0



//Background bar properties

oCMenu.useBar=0

oCMenu.barWidth="menu"

oCMenu.barHeight="menu" 

oCMenu.barClass="clBar"

oCMenu.menuPlacement="center"

oCMenu.barX=0 

oCMenu.barY=0

oCMenu.barBorderX=0

oCMenu.barBorderY=0

oCMenu.barBorderClass=""



//Level properties - ALL properties have to be specified in level 0

oCMenu.level[0]=new cm_makeLevel() //Add this for each new level

oCMenu.level[0].width=90

oCMenu.level[0].height=20

oCMenu.level[0].regClass="clLevel0"

oCMenu.level[0].overClass="clLevel0over"

oCMenu.level[0].borderX=0

oCMenu.level[0].borderY=0

oCMenu.level[0].borderClass="clLevel0border"

oCMenu.level[0].offsetX=0

oCMenu.level[0].offsetY=0

oCMenu.level[0].rows=0

oCMenu.level[0].arrow=0

oCMenu.level[0].arrowWidth=0

oCMenu.level[0].arrowHeight=0

oCMenu.level[0].align="bottom"



//dynamic effect (controllable for each level)

//oCMenu.level[0].clippx=1

//oCMenu.level[0].cliptim=2

//special animation filters (IE5.5+ only, controllable for each level)

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 



//Other special animation filters (IE5.5+ only, controllable for each level)

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"

//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"





//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this

oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)

oCMenu.level[1].width=oCMenu.level[0].width-4

oCMenu.level[1].width=100
oCMenu.level[1].height=22

oCMenu.level[1].regClass="clLevel1"

oCMenu.level[1].overClass="clLevel1over"

oCMenu.level[1].borderX=1

oCMenu.level[1].borderY=1

oCMenu.level[1].align="right" 

oCMenu.level[1].offsetX=0

oCMenu.level[1].offsetY=0

oCMenu.level[1].borderClass="clLevel1border"

//dynamic effect

//oCMenu.level[1].clippx=2

//oCMenu.level[1].cliptim=2

//special animation filters

//oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 





//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this

oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)

oCMenu.level[2].width=90

oCMenu.level[2].height=18

oCMenu.level[2].offsetX=0

oCMenu.level[2].offsetY=00

oCMenu.level[2].regClass="clLevel2"

oCMenu.level[2].overClass="clLevel2over"

oCMenu.level[2].borderClass="clLevel2border"





/******************************************

Menu item creation:

myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 

*************************************/

oCMenu.makeMenu('top','','Home','http://greenhatkiteboarding.com')

oCMenu.makeMenu('top0','','Gear','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4')



        oCMenu.makeMenu('sub00','top0','Kites &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_1')
			oCMenu.makeMenu('sub00sub00','sub00','New Models','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_1')
			oCMenu.makeMenu('sub00sub01','sub00','Clearance','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_23_31')
			oCMenu.makeMenu('sub00sub02','sub00','Used/Demo','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14_26')
			oCMenu.makeMenu('sub00sub03','sub00','Trainer Kites','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_1_35')
			oCMenu.makeMenu('sub00sub04','sub00','Accessories','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_1_36')


        oCMenu.makeMenu('sub01','top0','Kiteboards &nbsp;&nbsp;&nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_7')
			oCMenu.makeMenu('sub01sub00','sub01','New Models','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_7')
			oCMenu.makeMenu('sub01sub01','sub01','Clearance','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_23_34')
			oCMenu.makeMenu('sub01sub02','sub01','Used/Demo','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14_27')
			oCMenu.makeMenu('sub01sub03','sub01','Accessories','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_7_37')

        oCMenu.makeMenu('sub02','top0','Control Bars &nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_13')
			oCMenu.makeMenu('sub02sub00','sub02','New Models','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_13')
			//oCMenu.makeMenu('sub02sub01','sub02','Clearance','http://greenhatkiteboarding.com/store/index.php?main_page=product_info&cPath=4_23_40&products_id=162')
			oCMenu.makeMenu('sub02sub02','sub02','Used/Demo','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14_28')
			oCMenu.makeMenu('sub02sub03','sub02','Accessories','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_13_39')
			
        oCMenu.makeMenu('sub03','top0','Harnesses &nbsp;&nbsp;&nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_25')
			oCMenu.makeMenu('sub03sub00','sub03','New Models','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_25')
			oCMenu.makeMenu('sub03sub01','sub03','Clearance','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_23_47')
			oCMenu.makeMenu('sub03sub02','sub03','Used/Demo','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14_46')
			oCMenu.makeMenu('sub03sub03','sub03','Accessories','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_25_38')

        oCMenu.makeMenu('sub04','top0','Accessories &nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_06')
			oCMenu.makeMenu('sub04sub00','sub04','Kites','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_1_36')
			oCMenu.makeMenu('sub04sub01','sub04','Boards','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_7_37')
			oCMenu.makeMenu('sub04sub02','sub04','Control bars','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_13_39')
			oCMenu.makeMenu('sub04sub03','sub04','Harnesses','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_25_38')
			oCMenu.makeMenu('sub04sub04','sub04','Misc','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_06')
			
		oCMenu.makeMenu('sub05','top0','Waterwear','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_30')
		
		oCMenu.makeMenu('sub06','top0','Snow/Land','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_18')

        oCMenu.makeMenu('sub07','top0','Packages','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=2')

        oCMenu.makeMenu('sub08','top0','Gift ideas &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17')
			oCMenu.makeMenu('sub08sub00','sub08','By Price &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_48')
				oCMenu.makeMenu('sub08sub00sub00','sub08sub00','Under $50','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_48_50')
				oCMenu.makeMenu('sub08sub00sub01','sub08sub00','Under $100','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_48_51')
				oCMenu.makeMenu('sub08sub00sub02','sub08sub00','Under $200','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_48_52')
				oCMenu.makeMenu('sub08sub00sub03','sub08sub00','Under $500','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_48_53')
				oCMenu.makeMenu('sub08sub00sub04','sub08sub00','$500 and up','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_48_54')
			
			oCMenu.makeMenu('sub08sub01','sub08','By Skill &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_49')
				oCMenu.makeMenu('sub08sub01sub00','sub08sub01','Learning','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_49_55')
				oCMenu.makeMenu('sub08sub01sub01','sub08sub01','Beginner','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_49_57')
				oCMenu.makeMenu('sub08sub01sub02','sub08sub01','Intermediate','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_49_56')
				oCMenu.makeMenu('sub08sub01sub03','sub08sub01','Advanced','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_49_58')

			oCMenu.makeMenu('sub08sub02','sub08','Gift Cards','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=17_60')

		oCMenu.makeMenu('sub09','top0','Freebies','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_22')

		oCMenu.makeMenu('sub093','top0','Clearance &nbsp;&nbsp;&nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_23')
			oCMenu.makeMenu('sub093sub00','sub093','Kites','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_23_31')
			oCMenu.makeMenu('sub093sub01','sub093','Kiteboards','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_23_34')
			oCMenu.makeMenu('sub093sub02','sub093','Harnesses','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_23_47')
			oCMenu.makeMenu('sub093sub03','sub093','Misc','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_23_40')
			
        oCMenu.makeMenu('sub095','top0','Demo/Used &nbsp;&nbsp;»','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14')
			oCMenu.makeMenu('sub095sub00','sub095','Kites','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14_26')
			oCMenu.makeMenu('sub095sub01','sub095','Kiteboards','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14_27')
			oCMenu.makeMenu('sub095sub02','sub095','Harnesses','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14_46')
			oCMenu.makeMenu('sub095sub03','sub095','Bars','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=4_14_28')


                

oCMenu.makeMenu('top10','','Lessons', 'http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=3')

		oCMenu.makeMenu('sub10','top10','Our Program','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=3')
		oCMenu.makeMenu('sub101','top10','Schedule','http://greenhatkiteboarding.com/store/index.php?main_page=index&cPath=3_16')
		
        oCMenu.makeMenu('sub11','top10','Kite Skills','http://greenhatkiteboarding.com/store/index.php?main_page=document_general_info&cPath=3&products_id=141')

 		oCMenu.makeMenu('sub12','top10','Board Skills','http://greenhatkiteboarding.com/store/index.php?main_page=document_general_info&cPath=3&products_id=456')
 
        oCMenu.makeMenu('sub13','top10','Supervision','http://greenhatkiteboarding.com/store/index.php?main_page=document_general_info&cPath=3&products_id=153')

		oCMenu.makeMenu('sub14','top10','Island Ride','http://greenhatkiteboarding.com/store/index.php?main_page=document_general_info&cPath=3&products_id=212')
		
		oCMenu.makeMenu('sub15','top10','Private/Adv','http://greenhatkiteboarding.com/store/index.php?main_page=document_general_info&cPath=3&products_id=154')
		
		oCMenu.makeMenu('sub16','top10','Season Pass','http://greenhatkiteboarding.com/store/index.php?main_page=product_info&cPath=3&products_id=450')

        
oCMenu.makeMenu('top20','','FAQ','http://greenhatkiteboarding.com/phpmyfaq')

        oCMenu.makeMenu('sub20','top20','Green Hat','http://greenhatkiteboarding.com/phpmyfaq/index.php?action=show&cat=2')

        oCMenu.makeMenu('sub21','top20','Local','http://greenhatkiteboarding.com/phpmyfaq/index.php?action=show&cat=8')

        oCMenu.makeMenu('sub22','top20','General','http://greenhatkiteboarding.com/phpmyfaq/index.php?action=show&cat=7')

//oCMenu.makeMenu('top20','','FAQ','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=4&chapter=1')


oCMenu.makeMenu('top30','','Gallery','http://greenhatkiteboarding.com/images')
	oCMenu.makeMenu('sub31','top30','Events','http://greenhatkiteboarding.com/images/categories.php?cat_id=3')
	oCMenu.makeMenu('sub32','top30','Local Spots','http://greenhatkiteboarding.com/images/categories.php?cat_id=9')
	oCMenu.makeMenu('sub33','top30','Team','http://greenhatkiteboarding.com/images/categories.php?cat_id=8')
	oCMenu.makeMenu('sub34','top30','Local Riders','http://greenhatkiteboarding.com/images/categories.php?cat_id=21')
	oCMenu.makeMenu('sub35','top30','Travel','http://greenhatkiteboarding.com/images/categories.php?cat_id=1')

oCMenu.makeMenu('top40','','News','http://greenhatkiteboarding.com/blog/')



oCMenu.makeMenu('top50','','Forum','http://newind.org/', "_blank")



        

oCMenu.makeMenu('top60','','Links','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=20&chapter=3')

	oCMenu.makeMenu('sub61','top60','General info','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=19&chapter=3')

	oCMenu.makeMenu('sub62','top60','Local Weather','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=21&chapter=3')

	oCMenu.makeMenu('sub63','top60','Travel','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=22&chapter=3')



oCMenu.makeMenu('top70','','Local Info','')

        oCMenu.makeMenu('sub71','top70','Wind','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=27&chapter=5')

        oCMenu.makeMenu('sub72','top70','Beaches','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=30&chapter=0')

        

oCMenu.makeMenu('top80','','About Us','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=13&chapter=2')


	oCMenu.makeMenu('sub81','top80','Directions','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=14&pos=v&chapter=2')

	oCMenu.makeMenu('sub82','top80','Instructors','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=15&chapter=2')

	//oCMenu.makeMenu('sub83','top80','Boat Assistance','http://greenhatkiteboarding.com/store/index.php?main_page=page&id=3&chapter=2')

	oCMenu.makeMenu('sub84','top80','Contact Us','http://greenhatkiteboarding.com/store/index.php?main_page=contact_us')



//Leave this line - it constructs the menu

oCMenu.construct()        

