/*** 
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=2
oCMenu.fromLeft=0 
oCMenu.fromTop=81   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="file:///d|newweb/" 
oCMenu.onlineRoot="http://apland.ap.nic.in/cclaweb/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000
//oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=0
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=95
oCMenu.level[0].height=20 
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=28
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=0
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=oCMenu.level[1].width-2
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"



oCMenu.makeMenu('top0','','About Us','')
        oCMenu.makeMenu('sub00','top0','Revenue')
                oCMenu.makeMenu('sub001','sub00','History','revabthist.htm','',160.0)
		oCMenu.makeMenu('sub002','sub00','Organization','revabtorg.htm','',160,0)
		oCMenu.makeMenu('sub003','sub00','Org.Chart','revabtorgchrt.htm','',160,0)
                oCMenu.makeMenu('sub004','sub00','Functions','','',160,0)
                oCMenu.makeMenu('sub111','sub004','CCLA','revabtfuncccla.htm','',160,0)

oCMenu.makeMenu('sub112','sub004','Collectorate','revabtfunccoll.htm','',160,0)
                   oCMenu.makeMenu('sub113','sub004','RDO','revabtfuncrdo.htm','',160,0)
                   oCMenu.makeMenu('sub114','sub004','MRO','revabtfuncmro.htm','',160,0)

        oCMenu.makeMenu('sub005','sub00','Districts-Mandals-Villages List','APVillageList.htm','_blank',160,0)
        
	oCMenu.makeMenu('sub01','top0','Survey')
                oCMenu.makeMenu('sub010','sub01','History','surabthist.htm','',160,0)
		oCMenu.makeMenu('sub011','sub01','Organization','surabtorg.htm','',160,0)
		oCMenu.makeMenu('sub012','sub01','Org.Chart','surabtorgchrt.htm','',160,0)
                oCMenu.makeMenu('sub013','sub01','Functions','surabtfuncccla.htm','',160,0)
                oCMenu.makeMenu('sub014','sub01','Districts-Mandals List','APVillageList.htm','_blank',160,0)
        oCMenu.makeMenu('sub02','top0','ULC','/news/archive.asp')
                oCMenu.makeMenu('sub020','sub02','History','uclabthist.htm','',160,0)
		oCMenu.makeMenu('sub021','sub02','Organization','ulcabtorg.htm','',160,0)
		oCMenu.makeMenu('sub022','sub02','Functions','ulcabtfunc.htm','',160,0)
                oCMenu.makeMenu('sub023','sub02','Districts-Mandals List','ulcabtdist.htm','_blank',160,0)
               oCMenu.makeMenu('sub024','sub02','Right To Information ','ulcrti.htm','_blank',160,0)
	
oCMenu.makeMenu('top1','','Citizen Services')
	oCMenu.makeMenu('sub21','top1','Revenue','revcitservices.htm')
	oCMenu.makeMenu('sub22','top1','ULC','ulccitservices.htm')
	oCMenu.makeMenu('sub23','top1','Survey ','surcitchart.htm')
	
oCMenu.makeMenu('top2','','GOs/Acts/Manual')
	oCMenu.makeMenu('sub31','top2','Revenue Manual','manual.htm','_blank')
	oCMenu.makeMenu('sub32','top2','Revenue','revenueacts.htm','')
	oCMenu.makeMenu('sub33','top2','ULC','ulcacts.htm')
	oCMenu.makeMenu('sub34','top2','Survey','surveyacts.htm', '')

oCMenu.makeMenu('top3','','Forms')
	oCMenu.makeMenu('sub41','top3','Revenue','revformsmain.htm','')
	oCMenu.makeMenu('sub42','top3','ULC','ulcforms.htm')
	oCMenu.makeMenu('sub43','top3','Survey FAQs','surveyfaq.htm', '')
        oCMenu.makeMenu('sub44','top3','Survey Application Form','advertisement1.doc', '')

oCMenu.makeMenu('top4','','Key Contacts')
                oCMenu.makeMenu('sub51','top4','CCLA','CCLAcontact.htm')
                oCMenu.makeMenu('sub52','top4','ULC','ulckeycontact.htm')
                 oCMenu.makeMenu('sub53','top4','Survey','surkeycontact.htm','')
                oCMenu.makeMenu('sub54','top4','NIC','NICcontact.htm','')


oCMenu.makeMenu('top5','','Other Links','revotherlinks.htm','')

oCMenu.makeMenu('top6','','Dept.Services')
	oCMenu.makeMenu('sub71','top6','Land Distribution Data Upload','ccla/assign/assignlogin.asp','_blank')
 //   oCMenu.makeMenu('sub72','top6','4th Phase Reports ','ccla/onelakh/phase4/Assigndata_State_abstract_b.asp','_blank')
//    oCMenu.makeMenu('sub73','top6','3rd Phase Reports ','ccla/onelakh/Assigndata_State_abstract_b.asp','_blank')
//    oCMenu.makeMenu('sub74','top6','Data Upload Status(4th Phase)','ccla/onelakh/menu.asp','_blank')
//	oCMenu.makeMenu('sub75','top6','MPHS Updation','ccla/mphs.htm','_blank')
	oCMenu.makeMenu('sub76','top6','Land Records','http://apland.ap.nic.in','_blank')
//	oCMenu.makeMenu('sub77','top6','Citizen Charter','http://webapps.cgg.gov.in/ccla','_blank')
//	oCMenu.makeMenu('sub78','top6','LRMIS Feedback by DIOs','lrmonit/assignlogin.asp','_blank')
//	oCMenu.makeMenu('sub78','top6','RAPT','http://webapps.cgg.gov.in/RAPT','_blank')
	oCMenu.makeMenu('sub79','top6','MRO & SRO','http://igrs.ap.gov.in','_blank')




oCMenu.makeMenu('top7','','Home','land.asp','_top')
oCMenu.construct()