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

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=10
oCMenu.fromLeft=20 
oCMenu.fromTop=260   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="file:///C|/temp/stb/scripts/coolmenus/" 
oCMenu.onlineRoot="../scripts/coolmenus/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="75%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
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=18 
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=2
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].height=18
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
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=150
oCMenu.level[2].height=18
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
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('top0','','Home','http://www.coastlinedirect.com','')
	

oCMenu.makeMenu('top1','','Search','http://www.coastlinedirect.com/search.php','')
oCMenu.makeMenu('sub10','top1','Search UK','http://www.coastlinedirect.com/search.php')
oCMenu.makeMenu('sub11','top1','Search Paris','http://www.parislets.com/search.php')
oCMenu.makeMenu('sub12','top1','Search France','http://www.francedirect.net/search.html')
oCMenu.makeMenu('sub13','top1','Buy in France','http://www.francedirect.net/sales.php')
	//oCMenu.makeMenu('sub11','top1','Page 3','http://www.francopats.com/comments/funny03.htm')
	//oCMenu.makeMenu('sub11','top1','Page 3','')
	//oCMenu.makeMenu('sub001','sub10','Page 1','http://www.timesonline.co.uk/','',140,0)
	//oCMenu.makeMenu('sub002','sub10','Page 2','http://www.telegraph.co.uk','',140,0)
	//oCMenu.makeMenu('sub003','sub10','The Independent','http://www.independent.co.uk/','',140,0)
	//oCMenu.makeMenu('sub004','sub10','The Mail','http://www.dailymail.co.uk','',140,0)
	//oCMenu.makeMenu('sub005','sub10','The Sun','http://www.thesun.co.uk/','',140,0)
	//oCMenu.makeMenu('sub11','top1','US News','')
	//oCMenu.makeMenu('sub006','sub11','CNN','http://www.cnn.com/','',140,0)
	//oCMenu.makeMenu('sub007','sub11','Fox News','http://www.foxnews.com/','',140,0)
	//oCMenu.makeMenu('sub008','sub11','The New York Times','http://www.nytimes.com/','',140,0)
	//oCMenu.makeMenu('sub009','sub11','The Washington Post','http://www.washingtonpost.com/','',140,0)
	//oCMenu.makeMenu('sub009a','sub11','USA Today','http://www.usatoday.com/','',140,0)
	//oCMenu.makeMenu('sub12','top1','French News','')
	//oCMenu.makeMenu('sub009b','sub12','Le Figaro','http://www.lefigaro.fr/','',140,0)
	//oCMenu.makeMenu('sub009c','sub12','Le Monde','http://www.lemonde.fr/','',140,0)
	//oCMenu.makeMenu('sub009d','sub12','Liberation','http://www.liberation.fr/','',140,0)
	//oCMenu.makeMenu('sub13','top1','German News','')
	//oCMenu.makeMenu('sub009e','sub13','Berliner zeitung','http://www.berlinonline.de/berliner-zeitung/_html/index.html','',140,0)
	//oCMenu.makeMenu('sub009f','sub13','Frankfurter Allgemeine Zeitung','http://www.faz.net/s/homepage.html','',140,0)
	//oCMenu.makeMenu('sub009g','sub13','Süddeutsche Zeitung','http://www.sueddeutsche.de/','',140,0)
	//oCMenu.makeMenu('sub14','top1','Europe News','')
	//oCMenu.makeMenu('sub009h','sub14','Europe Daily','http://www.europe-daily.com/','',140,0)
	//oCMenu.makeMenu('sub009i','sub14','Euro News','http://www.euronews.net/','',140,0)
	
oCMenu.makeMenu('top2','','Advertise','http://www.coastlinedirect.com/advertise.php','')
oCMenu.makeMenu('sub21','top2','Register','http://www.coastlinedirect.com/join.php')
//oCMenu.makeMenu('sub22','top2','Sexy','http://www.francopats.com/comments/sexygreet.htm')
//oCMenu.makeMenu('sub23','top2','Sexy 02','http://www.francopats.com/comments/sexygreet02.htm')
//oCMenu.makeMenu('sub22','top2','Page 3','http://www.francopats.com/comments/greetings.htm')
	//oCMenu.makeMenu('sub23','top2','Classifieds','http://www.francopats.com/comments/greetings.htm')
	//oCMenu.makeMenu('sub24','top2','Links','http://www.francopats.com/comments/greetings.htm')
	
	
	
	
	
	

oCMenu.makeMenu('top3','','Travel','')
oCMenu.makeMenu('sub31','top3','Flights','http://www.frtravel.com/flights.htm')
oCMenu.makeMenu('sub32','top3','Hotels','http://www.frtravel.com/hotels.htm')
oCMenu.makeMenu('sub33','top3','Car Hire','http://www.frtravel.com/carhire.htm')
oCMenu.makeMenu('sub34','top3','Trains','http://www.frtravel.com/rail.htm')
oCMenu.makeMenu('sub35','top3','Ferries','http://www.frtravel.com/ferry.htm')
oCMenu.makeMenu('sub36','top3','Insurance','http://www.frtravel.com/insurance.htm')
	//oCMenu.makeMenu('sub026a','sub42','Printable','http://www.francopats.com/crossword/crossword.html','',140,0)
	
	
oCMenu.makeMenu('top4','','Links','http://www.coastlinedirect.com/links/directory')
	oCMenu.makeMenu('sub41','top4','Tourism','http://www.coastlinedirect.com/links/directory/Tourism/Tourism.html')
	oCMenu.makeMenu('sub42','top4','Travel','http://www.coastlinedirect.com/links/directory/Travel/Travel.html')
	oCMenu.makeMenu('sub43','top4','Expats','http://www.coastlinedirect.com/links/directory/Expat_Websites/Expat_Websites.html')
	oCMenu.makeMenu('sub44','top4','Internet','http://www.coastlinedirect.com/links/directory/Internet/Internet.html')
	//oCMenu.makeMenu('sub026a','sub42','Printable','http://www.francopats.com/crossword/crossword.html','',140,0)
	//oCMenu.makeMenu('sub026b','sub42','Interactive','http://www.francopats.com/crossword/java.html','',140,0)
	//oCMenu.makeMenu('sub026c','sub42','Quick','http://www.francopats.com/crossword/quick/quickcross.html','',140,0)
	//oCMenu.makeMenu('sub026d','sub42','Interactive','http://www.francopats.com/crossword/quick/quickjava.html','',140,0)
	//oCMenu.makeMenu('sub43','top4','Hangman','http://www.francopats.com/funstuff/hangman.htm')
	//oCMenu.makeMenu('sub44','top4','Sudoku','http://www.francopats.com/sudoku/easy.htm')
	//oCMenu.makeMenu('sub027','sub44','Challenging','http://www.francopats.com/sudoku/challenge.htm','',140,0)
	//oCMenu.makeMenu('sub028','sub44','Fiendish','http://www.francopats.com/sudoku/fiendish.htm','',140,0)
	//oCMenu.makeMenu('sub46','top4','Reflex Test','http://www.francopats.com/funstuff/reflexes.htm')
	//oCMenu.makeMenu('sub47','top4','Horoscope','http://www.francopats.com/horoscopes/index.php')

oCMenu.makeMenu('top5','','Contact Us ','http://www.coastlinedirect.com/feedback.php','')
//oCMenu.makeMenu('sub51','top5','Page 2','http://www.francopats.com/comments/thanks02.htm')
	//oCMenu.makeMenu('sub52','top5','Sexy','http://www.francopats.com/comments/sexy.htm')
	//oCMenu.makeMenu('sub52','top5','Sales','mailto:info@francopats.com')
	//oCMenu.makeMenu('sub53','top5','Advertising','mailto:info@francopats.com')
	//oCMenu.makeMenu('sub54','top5','Technical','mailto:admin@francopats.com')
	//oCMenu.makeMenu('sub55','top5','Feedback','mailto:admin@francopats.com')
	//oCMenu.makeMenu('sub56','top5','Recipes','mailto:info@francopats.com')
	
	oCMenu.makeMenu('top6','','Log-In ','http://www.coastlinedirect.com/member.php','')
		oCMenu.makeMenu('sub61','top6','Forgot','http://www.coastlinedirect.com/forgot.php')
		oCMenu.makeMenu('sub62','top6','Register','http://www.coastlinedirect.com/join.php')
		
	//oCMenu.makeMenu('top7','','Days ','http://www.francopats.com/comments/days.htm','')
	//oCMenu.makeMenu('sub70','top7','Birthdays','http://www.francopats.com/comments/birthdays.htm')
	//oCMenu.makeMenu('sub71a','top7','Monday','http://www.francopats.com/comments/monday.htm')
	//oCMenu.makeMenu('sub71b','top7','Tuesday','http://www.francopats.com/comments/tuesday.htm')
	//oCMenu.makeMenu('sub71c','top7','Wednesday','http://www.francopats.com/comments/wednesday.htm')
	//oCMenu.makeMenu('sub71d','top7','Thursday','http://www.francopats.com/comments/thursday.htm')
	//oCMenu.makeMenu('sub71e','top7','Friday','http://www.francopats.com/comments/friday.htm')
	//oCMenu.makeMenu('sub71f','top7','Saturday','http://www.francopats.com/comments/saturday.htm')
	//oCMenu.makeMenu('sub71g','top7','Sunday','http://www.francopats.com/comments/sunday.htm')
	//oCMenu.makeMenu('sub71h','top7','Weekend','http://www.francopats.com/comments/weekend.htm')
	//oCMenu.makeMenu('sub71i','top7','Week','http://www.francopats.com/comments/week.htm')
	//oCMenu.makeMenu('sub72','top7','Sexy','http://www.francopats.com/comments/sexydays.htm')
	//oCMenu.makeMenu('sub51','top5','Sexy','http://www.francopats.com/comments/sexy.htm')

//Leave this line - it constructs the menu
oCMenu.construct()	

//Sample sub menus
//oCMenu.makeMenu('sub00','top0','Main index','http://planmagic.com')
	//oCMenu.makeMenu('sub01','top0','Products','http://planmagic.com/products.html')
		//oCMenu.makeMenu('sub001','sub01','PlanMagic Business','http://planmagic.com/business_planning.html','',140,0)
		//oCMenu.makeMenu('sub002','sub01','PlanMagic Marketing','http://planmagic.com/marketing_planning.html','',140,0)
		//oCMenu.makeMenu('sub003','sub01','PlanMagic Finance Pro','http://planmagic.com/financial_planning.html','',140,0)
		//oCMenu.makeMenu('sub004','sub01','PlanMagic Restaurant','http://plan-a-restaurant.com','',140,0)
		//oCMenu.makeMenu('sub005','sub01','PlanMagic Hotel','http://planmagic.com/business_plan/hotel_business_plan.html','',140,0)