
/******************* MENU NUMBER 1 **********************************/

/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=1
oCMenu.fromLeft=540
oCMenu.fromTop=83
oCMenu.rows=1
oCMenu.menuPlacement="center"

oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=500 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="menu"
oCMenu.barHeight="30" 
oCMenu.barClass="clBar"
oCMenu.barX=50
oCMenu.barY=13
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""


//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=56
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=""
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=15
//oCMenu.level[0].rows=1
oCMenu.level[0].align="bottom" 


//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-2
oCMenu.level[1].width=150
oCMenu.level[1].height=20
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].style=""
//oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetX=105
oCMenu.level[1].offsetY=-5
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].borderX=0 
oCMenu.level[1].borderY=0
oCMenu.level[1].rows=0
oCMenu.level[1].align="bottom" 


/******************************************
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','','&nbsp;','','')
oCMenu.makeMenu('top1','','&nbsp;','','')
oCMenu.makeMenu('top2','','Home','/index.html','')

oCMenu.makeMenu('top3','','&nbsp;Rent','/reserve.asp')
	oCMenu.makeMenu('sub300','top3','Reserve a player','/reserve.asp')
	//oCMenu.makeMenu('sub301','top3','Browse movies','/movies/movies.asp')
	oCMenu.makeMenu('sub302','top3','How it works','/rent_howitworks.html')
	oCMenu.makeMenu('sub303','top3','Troubleshooting','/rent_troubleshooting.html')

oCMenu.makeMenu('top4','','Watch','/watch.html')	
	oCMenu.makeMenu('sub400','top4','Reserve a player','/reserve.asp')
	oCMenu.makeMenu('sub401','top4','DVDs','/watch_dvds.html')
	oCMenu.makeMenu('sub402','top4','Accessories','/accessories.html')
	
oCMenu.makeMenu('top5','','&nbsp;&nbsp;Listen','/listen.html')
	oCMenu.makeMenu('sub500','top5','CDs','/listen_cds.html')
	oCMenu.makeMenu('sub501','top5','Portable devices','/listen_portable.html')
	oCMenu.makeMenu('sub502','top5','Accessories','/accessories.html')
	
oCMenu.makeMenu('top6','','&nbsp;&nbsp;&nbsp;Play','/play.html')
	oCMenu.makeMenu('sub600','top6','Games','/play_games.html')
	oCMenu.makeMenu('sub601','top6','Game players','/play_gameplayers.html')
	oCMenu.makeMenu('sub602','top6','Accessories','/accessories.html')
		
oCMenu.makeMenu('top7','','&nbsp;&nbsp;Stores','/find.html')	
	oCMenu.makeMenu('sub700','top7','All locations','/find_all.asp')
	oCMenu.makeMenu('sub701','top7','DVD rental locations','/find_dvdrental.asp')
	oCMenu.makeMenu('sub702','top7','USA map','/find_map.html')
	
oCMenu.makeMenu('top8','','&nbsp;&nbsp;&nbsp;Ask','/ask.html')	
	oCMenu.makeMenu('sub800','top8','Rental FAQs','/ask_rentalfaqs.html')
	oCMenu.makeMenu('sub801','top8','Retail FAQs','/ask_retailfaqs.html')
	oCMenu.makeMenu('sub802','top8','Contact Us','/contact.html')
	
oCMenu.makeMenu('top9','','Join','/corporate_career.html')		
	//oCMenu.makeMenu('sub900','top9','Subscribe','/myaccount/MemberRegistration.asp')
	//oCMenu.makeMenu('sub901','top9','Newsletter','/join_newsletter.html')
	oCMenu.makeMenu('sub902','top9','Career Opportunities','/corporate_career.html')
	
//Leave this line - it constructs the menu
oCMenu.construct()		


