
//Menu object creation
var xpos
if(parseInt(document.body.scrollWidth)>=800){
	xpos= parseInt((parseInt(document.body.scrollWidth) - 800)/2) + 284
}else{
	xpos=284
}

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=1
oCMenu.fromLeft=xpos
oCMenu.fromTop=223
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///C|/temp/stb/scripts/coolmenus/" 
oCMenu.onlineRoot="" 
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.barHeight="5%" 
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=120
oCMenu.level[0].height=15 
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=8
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.0)" 

//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-4
oCMenu.level[1].height=21
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=2
oCMenu.level[1].borderClass="clLevel1border"
//dynamic effect
oCMenu.level[1].clippx=2
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=150
oCMenu.level[2].height=18
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) 
*************************************/
var mypath="";

oCMenu.makeMenu('top0','','About Us', mypath + '','_self','100')
oCMenu.makeMenu('sub01','top0','History of GCC Chapter', mypath + 'history.asp','_self','150')
oCMenu.makeMenu('sub02','top0','Mission & Vision', mypath + 'mission.asp','_self','150')
oCMenu.makeMenu('sub03','top0','Strategic Plan', mypath + 'Strategies.asp','_self','150')

oCMenu.makeMenu('top1','','Conferences & Seminars', mypath + '','_self','176')
oCMenu.makeMenu('sub10','top1','Technical Conferences', mypath + 'Technical-conferences.asp','_self','176')

//oCMenu.makeMenu('sub11','top1','1-3 Technical Conferences', mypath + 'Technical-Conference1.asp','_self','176')

//oCMenu.makeMenu('sub14','top1','4-6 Technical Conferences', mypath + 'Technical-Conference4.asp','_self','176')

//oCMenu.makeMenu('sub17','top1','7-9 Technical Conferences', mypath + 'Technical-Conference7.asp','_self','176')

//oCMenu.makeMenu('sub110','top1','10-12 Technical Conferences', mypath + 'Technical-Conference10.asp','_self','176')
//oCMenu.makeMenu('sub111','top1','13-15 Technical Conferences', mypath + 'Technical-Conference13.asp','_self','176')

oCMenu.makeMenu('sub11','top1','Specialized Seminars', mypath + 'seminar.asp','_self','176')
oCMenu.makeMenu('sub12','top1','Best Paper Award', mypath + 'award.asp','_self','176')



oCMenu.makeMenu('top2','','Committees', mypath + '','_self','100')
oCMenu.makeMenu('sub21','top2','Executive Committee',mypath + 'committees-Executive.asp','_self','140')
oCMenu.makeMenu('sub22','top2','Technical Committee', mypath + 'committees-it.asp','_self','140')


oCMenu.makeMenu('top3','','Membership', mypath + '','_self','130')
oCMenu.makeMenu('sub31','top3','Classifications', mypath + 'membership.asp','_self','110')
oCMenu.makeMenu('sub32','top3','Application',mypath + 'membership-form.asp','_self','110')









/*oCMenu.makeMenu('top3','','Financial plan','default.asp?action=article&ID=72','',0,0,'images/results1.jpg')
	oCMenu.makeMenu('sub32','top3','&nbsp;2005 Board of Directors Report','default.asp?action=article&ID=72','',220)
	oCMenu.makeMenu('sub33','top3','&nbsp;2005 Auditors&#8217; Report','default.asp?action=article&ID=142','',220)
	oCMenu.makeMenu('sub34','top3','&nbsp;2005 Shari&#8217;ah Supervisory Board Report ','default.asp?action=article&ID=139','',220)
	oCMenu.makeMenu('sub35','top3','&nbsp;Abbreviated Financial Statements','default.asp?action=article&ID=73','',220)
	oCMenu.makeMenu('sub36','top3','&nbsp;Annual Report','default.asp?action=article&ID=74','',220)
//	oCMenu.makeMenu('sub36','top3','&nbsp;Annual Report','http://www.unicorninvestmentbank.com/pdf/annual-report/AnnualReport2004.pdf','_blank',190)
//Leave this line - it constructs the menu*/
oCMenu.construct()	
