/*** 
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

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=5
oCMenu.fromLeft=0	//5
oCMenu.fromTop=134   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
 
//oCMenu.offlineRoot="file:///D:/Ntbr2007/modyfy/" 
//oCMenu.offlineRoot="file:///E:/NTBR2007g/" 
oCMenu.onlineRoot="http://nehrutrophy.nic.in/"
//oCMenu.onlineRoot="http://10.162.2.54/nehrutrophy/"
//oCMenu.onlineRoot="http://10.162.2.118/nehrutrophy/"

oCMenu.resizeCheck=1 
oCMenu.wait=800 
//oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="779"
oCMenu.barHeight="18" //"menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
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=100
oCMenu.level[0].height=16 //25 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
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"
//oCMenu.level[0].transOptions= "gridSizeX=10, gridSizeY=10";
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-2
oCMenu.level[1].height=18
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=2
oCMenu.level[1].borderY=2
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
//oCMenu.level[0].transOptions= "gridSizeX=10, gridSizeY=10";
oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify 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=20
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','','Nehru Trophy','home.htm','',80)
	oCMenu.makeMenu('top01','top0','Introduction','home.htm#intro','',182)
	oCMenu.makeMenu('top02','top0','History','home.htm#hist','',182)
	oCMenu.makeMenu('top07','top0','Reminiscences','home.htm#remni','',182)
	oCMenu.makeMenu('top03','top0','Looking Back','home.htm#look','',182)
	oCMenu.makeMenu('top04','top0','The Pageantry and Excitement','home.htm#page','',182)
	oCMenu.makeMenu('top05','top0','Communal amity','home.htm#comm','',182)
	oCMenu.makeMenu('top06','top0','Technical Specifications','home.htm#tech','',182)
	
oCMenu.makeMenu('top1','','Boat Races','/new/boatraces_07.htm','',80)
	oCMenu.makeMenu('top11','top1','Background','/new/boatraces_07.htm#back','',210)
	oCMenu.makeMenu('top12','top1','The Rajas of yore','/new/boatraces_07.htm#rajas','',210)
	oCMenu.makeMenu('top13','top1','The Deceit','/new/boatraces_07.htm#dec','',210)
	oCMenu.makeMenu('top14','top1','The Boats [Vallangal]','/new/boatraces_07.htm#boats','',210)
	oCMenu.makeMenu('top15','top1','Community Participation','/new/boatraces_07.htm#comm','',210)
	oCMenu.makeMenu('top16','top1','Chambakkulam Moolam Vallamkali','/new/boatraces_07.htm#chamba','',210)
	oCMenu.makeMenu('top17','top1','Payippad Jaolotsavam','/new/boatraces_07.htm#pay','',210)
	oCMenu.makeMenu('top18','top1','Aranmula Vallamkali','/new/boatraces_07.htm#aran','',210)
	oCMenu.makeMenu('top19','top1','Other Boat Races','/new/boatraces_07.htm#other','',210)
	
oCMenu.makeMenu('top2','','NTBR Events Info','/new/ntbrcontacts.htm','',116)
	oCMenu.makeMenu('top2_01','top2','Whom to Contact','/new/ntbrcontacts.htm','',116)
	oCMenu.makeMenu('top2_02','top2','DOs and DONTs','/new/dosndonts.htm','',116)
	oCMenu.makeMenu('top2_03','top2','How to Reach','/new/howtoreach.htm','',116)	
	
	
/******************************************
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('top2_08','top2','NTBR 2008','/new/ntbrcontacts.htm','',116)
	oCMenu.makeMenu('top2_01_08','top2_08','News Updates','/new/newsupdates_08.htm','',116)
	oCMenu.makeMenu('top2_02_08','top2_08','Ticket Rates','/new/ticketrates_08.htm','',116)
	oCMenu.makeMenu('top2_04_08','top2_08','Brochure','','',116)	
				oCMenu.makeMenu('top2_04_01_08','top2_04_08','Page 1','/new/bro1_2008.htm','',116)
				oCMenu.makeMenu('top2_04_02_08','top2_04_08','Page 2','/new/bro2_2008.htm','',116)
	oCMenu.makeMenu('top2_03_08','top2_08','Sponsors Invited','/new/si_08.htm','',116)
	
	oCMenu.makeMenu('top2_07','top2','NTBR 2007','ntbr.htm','',116)
		oCMenu.makeMenu('top2_01_07','top2_07','Winners of NTBR 2007','/new/winners_2007.htm','',116)
		oCMenu.makeMenu('top2_02_07','top2_07','News Updates','','',116)
		        oCMenu.makeMenu('top2_02_01_07','top2_02_07','Chief Guest','chiefguest_07.htm','',116)
		        oCMenu.makeMenu('top2_02_02_07','top2_02_07','News','newsupdates_07.htm','',116)
				oCMenu.makeMenu('top2_02_03_07','top2_02_07','Notices','','',116)
				         oCMenu.makeMenu('top2_02_03_01_07','top2_02_03_07','Cultural Festival','culturalnotice1_07.htm','',116)
						 oCMenu.makeMenu('top2_02_03_02_07','top2_02_03_07','Vanchippattu','vanchinotice_07.htm','',116)
						 oCMenu.makeMenu('top2_02_03_03_07','top2_02_03_07','Predict the Winner','predict_07.htm','',116)
		oCMenu.makeMenu('top2_03_07','top2_07','About the Logo','logo_07.htm','',116)		
		oCMenu.makeMenu('top2_04_07','top2_07','Brochure','','',116)	
				oCMenu.makeMenu('top2_04_01_07','top2_04_07','Page 1','bro1_2007.htm','',116)
				oCMenu.makeMenu('top2_04_02_07','top2_04_07','Page 2','bro2_2007.htm','',116)
		oCMenu.makeMenu('top2_05_07','top2_07','Ticket Rates','ticketrates_07.htm','',116)		
		oCMenu.makeMenu('top2_06_07','top2_07','Tracks & Heats','tracknheats_07.htm','',116)		
		oCMenu.makeMenu('top2_07_07','top2_07','Registration of Boats','regboats_07.htm','',116)	
		oCMenu.makeMenu('top2_08_07','top2_07','Sponsors Invited','si_07.htm','',116)
		oCMenu.makeMenu('top2_09_07','top2_07','Souvenir','','',116)
			oCMenu.makeMenu('top2_09_01_07','top2_09_07','Souvenir Advertisement Tariff','souv1_07.htm','',116,25)
			oCMenu.makeMenu('top2_09_02_07','top2_09_07','Souvenir inner page','souv2_07.htm','',116,25)
		oCMenu.makeMenu('top2_10_07','top2_07','Officials','officials.htm','',116)
		
		
	oCMenu.makeMenu('top2_06','top2','NTBR 2006','ntbr.htm','',116)		
		oCMenu.makeMenu('top2_06_1','top2_06','News Updates','newsupdates.htm','',130)
		oCMenu.makeMenu('top2_06_6','top2_06','Ticket Rates','ticketrates.htm','',130)
		oCMenu.makeMenu('top2_06_7','top2_06','Registration of Boats','regboats.htm','',130)
		oCMenu.makeMenu('top2_06_5','top2_06','Track and Heats','tracknheats.htm','',130)
		oCMenu.makeMenu('top2_06_4','top2_06','Brochure','','',130)
			oCMenu.makeMenu('top2_06_4_2','top2_06_4','Brochure Front Page','bro06_1.htm','',130)
			oCMenu.makeMenu('top2_06_4_1','top2_06_4','Brochure Inside Page','bro06_2.htm','',130)
		oCMenu.makeMenu('top2_06_3','top2_06','Souvenir','','',130)
			oCMenu.makeMenu('top2_06_3_1','top2_06_3','Souvenir Advertisement Tariff','souv1.htm','',130,28)						
			oCMenu.makeMenu('top2_06_3_2','top2_06_3','Souvenir inner page','souv2.htm','',130)
		oCMenu.makeMenu('top2_06_2','top2_06','About the Logo','logo_06.htm','',130)
		oCMenu.makeMenu('top2_06_8','top2_06','Winners of NTBR 2006','winners_2006.htm','',130)

	oCMenu.makeMenu('top2_05','top2','NTBR 2005','ntbr.htm','',116)
		oCMenu.makeMenu('top211','top2_05','Boatrace Videos','','',130)
			oCMenu.makeMenu('top211_1','top211','Boatrace Webcast by NIC & DDK','ntbr2005.htm','',130,30)
			oCMenu.makeMenu('top211_2','top211','Boatrace Video from KTDC','ntbrktdc2005.htm','',130,30)
		oCMenu.makeMenu('top213','top2_05','Winners of NTBR 2005','winners.htm','',130)
		oCMenu.makeMenu('top212','top2_05','Programme Schedule','','',130)
			oCMenu.makeMenu('top212_1','top212','Page 1','ntbrprgm.pdf','',130)
			oCMenu.makeMenu('top212_2','top212','Page 2','ntbrprgm2.pdf','',130)
		oCMenu.makeMenu('top30','top2_05','News Archive','newsupdates05.htm','',130)						
			oCMenu.makeMenu('top30_1','top30','From NTBR Chairman','newsupdates05.htm','',160)
			oCMenu.makeMenu('top30_2','top30','Alappuzha in Festive Mood (The Hindu Report)','ntbrexp1108.pdf','',160,32)
			oCMenu.makeMenu('top30_3','top30','Skydivers Thrill Crowds (The Hindu Report)','hindu1208.pdf','',160,32)				
		oCMenu.makeMenu('top22','top2_05','Sponsors Invited','si.htm','',130)
		oCMenu.makeMenu('top23','top2_05','Sponsorship tariff','st.htm','',130)
		oCMenu.makeMenu('top24','top2_05','Brochures','','',130)
			oCMenu.makeMenu('top241','top24','Brochure - 1','bro1.htm','',130)
			oCMenu.makeMenu('top242','top24','Brochure - 2','bro2.htm','',130)
		oCMenu.makeMenu('top28','top2_05','Sky Diving by Air Devils','specialatt.htm','',130)
		oCMenu.makeMenu('top29','top2_05','Outlook Traveller','outlook.htm','',130)
		oCMenu.makeMenu('top12','top2_05','Registration of Boats','regboats_05.htm','',130)		
		oCMenu.makeMenu('top13','top2_05','Tracks and Heats','tracknheats_05.htm','',130)		
		oCMenu.makeMenu('top27','top2_05','About the LOGO','logo.htm','',130)

oCMenu.makeMenu('top3','','Alappuzha','aboutalappuzha.htm','',75)		
		oCMenu.makeMenu('top31','top3','History of Alappuzha','aboutalappuzha.htm#hist','',130)
		oCMenu.makeMenu('top33','top3','Raja Kesava Das','aboutalappuzha.htm#raja','',130)
		oCMenu.makeMenu('top32','top3','How to reach','aboutalappuzha.htm#reach','',130)
		oCMenu.makeMenu('top34','top3','Major Hotels','aboutalappuzha.htm#hotels','',130)
		
		
oCMenu.makeMenu('top4','','Vanchipattu...','/new/vanchi.htm','',95)		

oCMenu.makeMenu('top5','','NTBR Winners','/new/winners_of_NTBR.htm','',85)		

oCMenu.makeMenu('top6','','Links','links.htm','',65)
		oCMenu.makeMenu('top61','top6','Official Website of Alappuzha','http://www.alappuzha.nic.in','_blank',175)
		oCMenu.makeMenu('top62','top6','Govt. of Kerala','http://www.kerala.gov.in','_blank',175)
		oCMenu.makeMenu('top63','top6','Govt. of India','http://india.gov.in/','_blank',175)
		oCMenu.makeMenu('top64','top6','Ntional Informatics Centre','http://home.nic.in','_blank',175)
		oCMenu.makeMenu('top65','top6','Districts of India','http://districts.nic.in','_blank',175)
		oCMenu.makeMenu('top66','top6','Kerala Tourism','http://www.keralatourism.org','_blank',175)
		
oCMenu.makeMenu('top8','','Home','default.htm','',65)		

oCMenu.makeMenu('top7','','Gallery','gallery.htm','',68)		
	oCMenu.makeMenu('top71','top7','2006 Event Photos','photogallery_2006.htm','',115)
	oCMenu.makeMenu('top72','top7','2005 Event Photos','photogallery_2005.htm','',115)

//Leave this line - it constructs the menu
oCMenu.construct()		
