/*** 
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=60
oCMenu.fromLeft=10 
oCMenu.fromTop=185
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="file:///E|indu/personal/goc/" 
oCMenu.onlineRoot="http://gods-own-country.info/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
//oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=3

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="780"
oCMenu.barHeight="17" //"menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=171
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=110
oCMenu.level[0].height=17 //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"

//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=17
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=-(oCMenu.level[0].width-2)/2+29
oCMenu.level[1].offsetY=8
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=150
oCMenu.level[2].height=17
oCMenu.level[2].offsetX=-(oCMenu.level[1].width-2)/2+20
oCMenu.level[2].offsetY=12
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('top2','','Tourist\'s Area','','',90)
	oCMenu.makeMenu('top21','top2','Attractions','tour.htm','',115)
	oCMenu.makeMenu('top22','top2','Important Contacts','tourcon.htm','',115)
	oCMenu.makeMenu('top25','top2','Backwater Resorts','','',115)
	oCMenu.makeMenu('top23','top2','Picks from World','world.htm','',115)
	oCMenu.makeMenu('top24','top2','Land For Sale','invest.htm','',115)
oCMenu.makeMenu('top5','','About Us','insight.htm','',64)
	oCMenu.makeMenu('sub53','top5','InSight Web Solutions','insight.htm','',134)
	oCMenu.makeMenu('sub51','top5','Web Hosting Services','insight.htm','',134)
		oCMenu.makeMenu('sub513','sub51','Domain Registration','insight.htm','',140)
		oCMenu.makeMenu('sub514','sub51','Linux/Windows Hosting','insight.htm','',140)
		oCMenu.makeMenu('sub511','sub51','Our Portfolio','insight.htm','',140)
		oCMenu.makeMenu('sub512','sub51','Websites For Sale','insight.htm','',140)
		oCMenu.makeMenu('sub515','sub51','Earn from Net','insight.htm','',140)
	oCMenu.makeMenu('sub52','top5','Our Products','insight.htm','',134)
		oCMenu.makeMenu('sub521','sub52','eGoodBuy','insight.htm','',100)
		oCMenu.makeMenu('sub522','sub52','eVolve','insight.htm','',100)
		oCMenu.makeMenu('sub523','sub52','StudentScape','insight.htm','',100)
		oCMenu.makeMenu('sub524','sub52','MovieMania','insight.htm','',100)
oCMenu.makeMenu('top2a','','Know Kerala','','',80)
	oCMenu.makeMenu('top2a1','top2a','Great Personalities 1','great.html','',135)
	oCMenu.makeMenu('top2a6','top2a','Great Personalities 2','great2.htm','',135)
	oCMenu.makeMenu('top2a5','top2a','Traditional Arts...','arts.htm','',135)
	oCMenu.makeMenu('top2a2','top2a','Articles on Kerala','articles.htm','',135)
		oCMenu.makeMenu('top2a31','top2a2','Children of Secularism','children.htm','',135)
		oCMenu.makeMenu('top2a30','top2a2','Internet Bhagawan','inetbhagawan.htm','',135)
		oCMenu.makeMenu('top2a29','top2a2','Democracy Dying','democracy.htm','',135)
		oCMenu.makeMenu('top2a27','top2a2','Terrorism - The Bane of Modern Society','terrorism.htm','',135,30)
		oCMenu.makeMenu('top2a28','top2a2','Veda Manager','vedamanager.htm','',135)
		oCMenu.makeMenu('top2a21','top2a2','Sage and Saint','sage_and_saint.htm','',135)
		oCMenu.makeMenu('top2a22','top2a2','Cooperative Temples','temples.htm','',135)
		oCMenu.makeMenu('top2a23','top2a2','Kerala Marriages','marriage.htm','',135)
		oCMenu.makeMenu('top2a24','top2a2','Thidampu Nritham','puthumana.htm','',135)
		oCMenu.makeMenu('top2a25','top2a2','Questions Left and Answers Right','politics.htm','',135,30)
		oCMenu.makeMenu('top2a26','top2a2','Kerala of Morrow','pravasi.htm','',135)
	oCMenu.makeMenu('top2a3','top2a','Festivals in Kerala','fest.html','',135)
	oCMenu.makeMenu('top2a4','top2a','Festival Calendar 2005','fest2005.htm','',135)
oCMenu.makeMenu('top2b','','Ayurveda','','',60)
	oCMenu.makeMenu('top2b1','top2b','About Ayurveda','ayurveda.htm','',115)
	oCMenu.makeMenu('top2b2','top2b','Online Consultancy','ayurveda.htm#consult','',115)
	oCMenu.makeMenu('top2b3','top2b','Speciality Centres','','',115)
oCMenu.makeMenu('top3','','Astrology','','',60)
	oCMenu.makeMenu('sub36','top3','Position of Planets','astro.htm','',125)
	oCMenu.makeMenu('sub31','top3','Consult Astrologer','astroprd.htm','',125)
	oCMenu.makeMenu('sub32','top3','Get Your Horoscope','astroprd.htm','',125)
	oCMenu.makeMenu('sub33','top3','Malayalam Calendar','astrocalendar.htm','',125)
	oCMenu.makeMenu('sub34','top3','Monthly Predictions','predictions.htm','',125)
	oCMenu.makeMenu('sub35','top3','Meet Our Astrologer','suresh.htm','',125)
oCMenu.makeMenu('top0','','Home','http://gods-own-country.info/','',38)
//Leave this line - it constructs the menu
oCMenu.construct()		
