/*** 
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=1
oCMenu.fromLeft=0 
oCMenu.fromTop=115 
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///C|/test/" 
oCMenu.onlineRoot="http://www.velamati.com/files/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="800"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=115
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=125
oCMenu.level[0].height=14 
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"


//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-1
oCMenu.level[1].height=16
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=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//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=108
oCMenu.level[2].height=14
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','','&nbsp;Home','index.html')
	
oCMenu.makeMenu('top2','','&nbsp;Information','')
	oCMenu.makeMenu('sub21','top2','&nbsp;Currency Converter','currency_exchange.html')
	oCMenu.makeMenu('sub22','top2','&nbsp;Time/Weather Report','time_weather_report.html')
	oCMenu.makeMenu('sub23','top2','&nbsp;Jokes4U','jokes4u.html')
	oCMenu.makeMenu('sub24','top2','&nbsp;Quotables','quotable.html')
	oCMenu.makeMenu('sub25','top2','&nbsp;Links','links.html')
	
oCMenu.makeMenu('top3','','&nbsp;Photos','')
	oCMenu.makeMenu('sub30','top3','&nbsp;Grand Parents','grand_parents.html')
	oCMenu.makeMenu('sub31','top3','&nbsp;Family','family/index.html')
	oCMenu.makeMenu('sub32','top3','&nbsp;Friends','')
		oCMenu.makeMenu('sub320','sub32','&nbsp;Friends','friends/index.html')
		oCMenu.makeMenu('sub321','sub32','&nbsp;Friends 10012995','Friends_10012005/index.html')
	oCMenu.makeMenu('sub33','top3','&nbsp;Abhilaash','')
		oCMenu.makeMenu('sub330','sub33','&nbsp;Birth Day 2003','Abhilaash_BirthDay_2003/index.html')
		oCMenu.makeMenu('sub331','sub33','&nbsp;Birth Day 2004','Abhilaash_Birth_Day_2004/index.html')
		oCMenu.makeMenu('sub332','sub33','&nbsp;Birth Day 2005','Abhilaash_Birth_Day_2005/index.html')
		oCMenu.makeMenu('sub333','sub33','&nbsp;Birth Day 2006','Abhilaash_BirthDay_2006/index.html')
		oCMenu.makeMenu('sub334','sub33','&nbsp;Birth Day 2007','Abhilaash_BirthDay_2007/index.html')
		oCMenu.makeMenu('sub335','sub33','&nbsp;Birth Day 2008','Abhilaash_BirthDay_2008/index.html')
	oCMenu.makeMenu('sub34','top3','&nbsp;Karate','karate.html')
		oCMenu.makeMenu('sub341','sub34','&nbsp;Black Belt Graduation','Black_Belt_Graduation/index.html')
	oCMenu.makeMenu('sub35','top3','&nbsp;India Trip','India_Trip/index.html')
	oCMenu.makeMenu('sub36','top3','&nbsp;Miscellaneous','misc_photos.html')
		oCMenu.makeMenu('sub360','sub36','&nbsp;Trip To NY','Trip_To_NY/index.html')
		oCMenu.makeMenu('sub361','sub36','&nbsp;Gruhapravesam-Hyd','Gruhapravesam/index.html')
		oCMenu.makeMenu('sub362','sub36','&nbsp;Gruhapravesam-US','Gruhapravesam_US/index.html')
		oCMenu.makeMenu('sub363','sub36','&nbsp;60th Anniversary','Celebrating_60th_Anniversary/index.html')
		oCMenu.makeMenu('sub364','sub36','&nbsp;TANA 2007','TANA_2007/index.html')
		oCMenu.makeMenu('sub365','sub36','&nbsp;Vratham 2008','Vratham2008/index.html')
oCMenu.makeMenu('top4','','&nbsp;Events','')
	oCMenu.makeMenu('sub40','top4','&nbsp;General','')
	    oCMenu.makeMenu('sub400','sub40','&nbsp;Columbus Day','columbus_day.html')
		oCMenu.makeMenu('sub401','sub40','&nbsp;Valentines','valentines.html')
		oCMenu.makeMenu('sub402','sub40','&nbsp;Easter','easter.html')
		oCMenu.makeMenu('sub403','sub40','&nbsp;Mothers Day','mothers_day.html')
		oCMenu.makeMenu('sub404','sub40','&nbsp;Fathers Day','fathers_day.html')
		oCMenu.makeMenu('sub405','sub40','&nbsp;Memorial Day','memorial_day.html')
		oCMenu.makeMenu('sub406','sub40','&nbsp;Halloween','halloween.html')
		oCMenu.makeMenu('sub407','sub40','&nbsp;ThanksGiving Day','thanksgiving_day.html')
		oCMenu.makeMenu('sub408','sub40','&nbsp;Christmas','christmas.html')
	oCMenu.makeMenu('sub41','top4','&nbsp;Indian','')
	    oCMenu.makeMenu('sub410','sub41','&nbsp;Ugadi','ugadi.html')
		oCMenu.makeMenu('sub411','sub41','&nbsp;Sri Rama Navami','rama_navami.html')
		oCMenu.makeMenu('sub412','sub41','&nbsp;Vinayaka Chavithi','vinayaka_chavithi.html')
		oCMenu.makeMenu('sub413','sub41','&nbsp;Dasara','dasara.html')
		oCMenu.makeMenu('sub414','sub41','&nbsp;Deepavali','deepavali.html')	
		oCMenu.makeMenu('sub415','sub41','&nbsp;Sankranthi','sankranthi.html')
		oCMenu.makeMenu('sub416','sub41','&nbsp;Republic Day','republic_day.html')
		oCMenu.makeMenu('sub417','sub41','&nbsp;Telugu Calendar','calendar.html')		
oCMenu.makeMenu('top5','','&nbsp;Downloads','')
	oCMenu.makeMenu('sub50','top5','&nbsp;General','download_general.html')
	oCMenu.makeMenu('sub52','top5','&nbsp;Tech Data','download_techdata.html')
oCMenu.makeMenu('top6','','&nbsp;Careers','')
	oCMenu.makeMenu('sub60','top6','&nbsp;Ishi Tech','http://www.ishitech.com','_blank')
oCMenu.makeMenu('top7','','&nbsp;Contact','')
	oCMenu.makeMenu('sub71','top7','&nbsp;USA','contact_usa.html')
	oCMenu.makeMenu('sub72','top7','&nbsp;India','')
		oCMenu.makeMenu('sub721','sub72','&nbsp;Hyderabad','contact_hyd.html')	
		oCMenu.makeMenu('sub722','sub72','&nbsp;Kovvali','contact_kovvali.html')
	oCMenu.makeMenu('sub73','top7','&nbsp;Feedback','feedback.html')
oCMenu.makeMenu('top8','','&nbsp;e-Mail','email.html')
//Leave this line - it constructs the menu
oCMenu.construct()