/*** 
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=20
oCMenu.fromLeft=15 //346
oCMenu.fromTop=85   //65
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///E|indu/personal/goc/" 
oCMenu.onlineRoot="http://www.gods-own-country.info/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
//oCMenu.fillImg="www.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="78"
oCMenu.barHeight="22" //"menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=71
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=20 //25 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
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=22
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+40
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=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('goc','','Home','','',80,12,'menu.gif','menuopen.gif')
	oCMenu.makeMenu('sub01','goc','Home','http://www.gods-own-country.info','',140,18)
	oCMenu.makeMenu('sub02','goc','Tourist\'s Information !','','',140,18)
		oCMenu.makeMenu('sub02_4','sub02','Attractions of Kerala','tour.htm','',140,18)
		oCMenu.makeMenu('sub02_3','sub02','Festivals of Kerala','fest.html','',140,18)
		oCMenu.makeMenu('sub02_5','sub02','Festival Calendar 2005','fest2005.htm','',140,18)
		oCMenu.makeMenu('sub02_2','sub02','Contact Information','tourcon.htm','',140,18)
		oCMenu.makeMenu('sub02_1','sub02','World Attractions','world.htm','',140,18)
	oCMenu.makeMenu('sub10','goc','Great Personalities','','',140,18)
		oCMenu.makeMenu('sub10_1','sub10','Personalities Page 1','great.html','',130,18)
		oCMenu.makeMenu('sub10_2','sub10','Personalities Page 2','great2.htm','',130,18)
	oCMenu.makeMenu('sub03','goc','Astrology','','',140,18)
		oCMenu.makeMenu('sub03_4','sub03','Consult Astrologer','astroprd.htm','',135,18)
		oCMenu.makeMenu('sub03_1','sub03','Astrological Calendar','astro.htm','',135,18)
		oCMenu.makeMenu('sub03_2','sub03','Monthly Predictions','predictions.htm','',135,18)
		oCMenu.makeMenu('sub03_3','sub03','About Our Astrologer','suresh.htm','',135,18)
	oCMenu.makeMenu('sub04','goc','Ayurveda Consultancy','ayurveda.htm','',140,18)
	oCMenu.makeMenu('sub05','goc','Articles','','',140,18)
		oCMenu.makeMenu('sub05_7','sub05','Sage And Saint','sage_and_saint.htm','',120,18)
		oCMenu.makeMenu('sub05_6','sub05','Co-operative Temples','temples.htm','',120,28)
		oCMenu.makeMenu('sub05_5','sub05','Kerala Marriages','marriage.htm','',120,18)
		oCMenu.makeMenu('sub05_3','sub05','<i>Thidampu Nritham</i>','puthumana.htm','',120,18)
		oCMenu.makeMenu('sub05_1','sub05','Questions Left ...','politics.htm','',120,18)
		oCMenu.makeMenu('sub05_2','sub05','Kerala of Morrow','pravasi.htm','',120,18)
		oCMenu.makeMenu('sub05_4','sub05','Articles Home','articles.htm','',120,18)
	oCMenu.makeMenu('sub06','goc','Traditional Kerala Arts','','',140,18)
		oCMenu.makeMenu('sub06_1','sub06','Arts & Artiste\'s','arts.htm','',140,18)
		oCMenu.makeMenu('sub06_2','sub06','<i>Thidampu Nritham</i>','puthumana.htm','',140,18)
	oCMenu.makeMenu('sub07','goc','See Also','','',140,18)
		oCMenu.makeMenu('sub07_1','sub07','Search','search.htm','',140,18)
		oCMenu.makeMenu('sub07_2','sub07','Meet Chanchal','chanchal.htm','',140,18)
		oCMenu.makeMenu('sub07_3','sub07','Kerala Shopping !','http://Kerala-Specials.Com','',140,18)
		oCMenu.makeMenu('sub07_4','sub07','Land For Sale','invest.htm','',140,18)
		oCMenu.makeMenu('sub07_5','sub07','Our Well-Wishers','affiliates.htm','',140,18)
//Leave this line - it constructs the menu
oCMenu.construct()		
