
//code for making menu resolution independent
var temp=0;
if (screen.width>800) 
{
if (document.all)
 {
  var templeft,tempwidth;
  tempwidth=screen.width;
  
 temp=(tempwidth-780)/2;
 temp=temp-10;
 }
 
}
//--------------

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=(180+temp)
oCMenu.fromTop=97
oCMenu.rows=1 
oCMenu.menuPlacement=""
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=0
oCMenu.wait=100
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 specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=110
oCMenu.level[0].height=18 
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=5
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"

//dynamic effect (controllable for each level)
oCMenu.level[0].clippx=2
oCMenu.level[0].cliptim=2
//special animation filters (IE5.5+ only, controllable for each level)
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 

//Other special animation filters (IE5.5+ only, controllable for each level)
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"
//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+20
oCMenu.level[1].height=18
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=2
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
//dynamic effect
oCMenu.level[1].clippx=5
oCMenu.level[1].cliptim=2
//special animation filters
oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify 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+50
oCMenu.level[2].height=18
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderX=1
oCMenu.level[2].borderY=1
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) 
for online paths
*************************************/
oCMenu.makeMenu('top0','','<SPAN STYLE="FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana, Tahoma, Arial, ms sans serif; TEXT-DECORATION: none">Our Projects</SPAN>','','')	
	oCMenu.makeMenu('sub01','top0','<div align="left">Completed Projects</div>','')
			oCMenu.makeMenu('sub002','sub01','<div align="left">Roop Enclave</div>','Roop Enclave/facilites.html','',150,0)
			oCMenu.makeMenu('sub003','sub01','<div align="left">Roop Rajat Enclave</div>','roop rajat enclave/facilites.html','',150,0)

	oCMenu.makeMenu('sub02','top0','<div align="left">On Going Projects </div>','')
			oCMenu.makeMenu('sub004','sub02','<div align="left">Roop Rajat Sarovar</div>','roop rajat Sarovar/facilites.html','',150,0)
			oCMenu.makeMenu('sub0041','sub02','<div align="left">Roop Rajat Township Phase I</div>','roop rajat township1/facilites.html','',150,0)
			oCMenu.makeMenu('sub0042','sub02','<div align="left">Roop Rajat Township Phase II</div>','roop rajat township2/facilites.html','',150,0)
			oCMenu.makeMenu('sub0043','sub02','<div align="left">Roop Rajat Township Phase III</div>','roop rajat township3/facilites.html','',150,0)
		
			
	oCMenu.makeMenu('sub03','top0','<div align="left">Up Comming Projects</div>','')
			oCMenu.makeMenu('sub006','sub03','<div align="left">Shri Karni Roopayan Resort</div>','Karni Roopyan/Layout_Plan.html','',150,0)
			oCMenu.makeMenu('sub007','sub03','<div align="left">Roop Rajat Vihar</div>','roop rajat vihar/facilites.html','',150,0)
oCMenu.makeMenu('sub04','top0','<div align="left">Future Projects</div>','')



/* *******************************
*********************************************
local Path links
*********************************************
oCMenu.makeMenu('top0','','<SPAN STYLE="FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana, Tahoma, Arial, ms sans serif; TEXT-DECORATION: none">Our Projects</SPAN>','','')	
	oCMenu.makeMenu('sub01','top0','<div align="left">Completed Projects</div>','')
			oCMenu.makeMenu('sub002','sub01','<div align="left">Roop Enclave</div>','','',150,0)
			oCMenu.makeMenu('sub003','sub01','<div align="left">Roop Rajat Enclave</div>','../roop rajat enclave/facilites.html','',150,0)

	oCMenu.makeMenu('sub02','top0','<div align="left">On Going Projects </div>','')
			oCMenu.makeMenu('sub004','sub02','<div align="left">Roop Rajat Sarovar</div>','../roop rajat Sarovar/facilites.html','',150,0)
			oCMenu.makeMenu('sub0041','sub02','<div align="left">Roop Rajat Township Phase I</div>','../roop rajat township1/facilites.html','',150,0)
			oCMenu.makeMenu('sub0042','sub02','<div align="left">Roop Rajat Township Phase II</div>','../roop rajat township2/facilites.html','',150,0)
			oCMenu.makeMenu('sub0043','sub02','<div align="left">Roop Rajat Township Phase III</div>','../roop rajat township3/facilites.html','',150,0)
		
			
	oCMenu.makeMenu('sub03','top0','<div align="left">Up Comming Projects</div>','')
			oCMenu.makeMenu('sub006','sub03','<div align="left">Shri Karni Roopayan Resort</div>','','',150,0)
			oCMenu.makeMenu('sub007','sub03','<div align="left">Roop Rajat Vihar</div>','../roop rajat vihar/facilites.html','',150,0)
oCMenu.makeMenu('sub04','top0','<div align="left">Future Projects</div>','')
/*
oCMenu.makeMenu('top0','','Our Projects','','')

oCMenu.makeMenu('sub00','top0','Completed Projects','')

oCMenu.makeMenu('sub001','top00',' -Projects1','default.html')
oCMenu.makeMenu('sub002','top00',' -Projects2','http://planmagic.com/products.html')

oCMenu.makeMenu('sub01','top0','On Going Projects','')

oCMenu.makeMenu('sub201','top01',' -Projects1','http://planmagic.com/products.html')
oCMenu.makeMenu('sub202','top01',' -Projects2','http://planmagic.com/products.html')

oCMenu.makeMenu('sub03','top0','Future Projects','')

oCMenu.makeMenu('sub101','top03',' -Projects1','http://planmagic.com/products.html')
oCMenu.makeMenu('sub102','top03',' -Projects2','http://planmagic.com/products.html')




oCMenu.makeMenu('sub001','sub00','PlanMagic Business','http://planmagic.com/business_planning.html','',140,0)
oCMenu.makeMenu('sub002','sub00','PlanMagic Marketing','http://planmagic.com/marketing_planning.html','',140,0)
		oCMenu.makeMenu('sub003','sub00','PlanMagic Finance Pro','http://planmagic.com/financial_planning.html','',140,0)
		oCMenu.makeMenu('sub004','sub00','PlanMagic Restaurant','http://plan-a-restaurant.com','',140,0)
	*/

	



//Leave this line - it constructs the menu
oCMenu.construct()	
