/*****************************************************************************
Copyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)

DHTML coolMenus - Get it at coolmenus.dhtmlcentral.com
Version 4.0_beta
This script can be used freely as long as all copyright messages are
intact.

Extra info - Coolmenus reference/help - Extra links to help files **** 
CSS help: http://coolmenus.dhtmlcentral.com/projects/coolmenus/reference.asp?m=37
General: http://coolmenus.dhtmlcentral.com/reference.asp?m=35
Menu properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=47
Level properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=48
Background bar properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=49
Item properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=50
******************************************************************************

/*** 
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
oCMenuLeft=new makeCM("oCMenuLeft") //Making the menu object. Argument: menuname

oCMenuLeft.frames = 0
// 207 left
//Menu properties   
oCMenuLeft.pxBetween=0
oCMenuLeft.fromLeft=36
oCMenuLeft.fromTop=200 
oCMenuLeft.rows=0 
oCMenuLeft.menuPlacement="left"
                                                             
oCMenuLeft.offlineRoot="" 
oCMenuLeft.onlineRoot="" 
oCMenuLeft.resizeCheck=1 
oCMenuLeft.wait=500 
oCMenuLeft.fillImg="images/spacer.gif"
oCMenuLeft.zIndex=10

//Background bar properties
oCMenuLeft.useBar=1
oCMenuLeft.barWidth=""
oCMenuLeft.barHeight=19 
oCMenuLeft.barClass="clBar"
oCMenuLeft.barX=0 
oCMenuLeft.barY=19
oCMenuLeft.barBorderX=0
oCMenuLeft.barBorderY=0
oCMenuLeft.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenuLeft.level[0]=new cm_makeLevel() //Add this for each new level
oCMenuLeft.level[0].width=110
oCMenuLeft.level[0].height=21 
oCMenuLeft.level[0].regClass="clLevel0"
oCMenuLeft.level[0].overClass="clLevel0over"
oCMenuLeft.level[0].borderX=0
oCMenuLeft.level[0].borderY=0
oCMenuLeft.level[0].borderClass="clLevel0border"
oCMenuLeft.level[0].offsetX=110
oCMenuLeft.level[0].offsetY=-13
oCMenuLeft.level[0].rows=0
oCMenuLeft.level[0].arrow=0
oCMenuLeft.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
oCMenuLeft.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenuLeft.level[1].width=230
oCMenuLeft.level[1].height=20
oCMenuLeft.level[1].regClass="clLevel1"
oCMenuLeft.level[1].overClass="clLevel1over"
oCMenuLeft.level[1].borderX=1
oCMenuLeft.level[1].borderY=1
oCMenuLeft.level[1].align="right" 
oCMenuLeft.level[1].offsetX=-1
oCMenuLeft.level[1].offsetY=-1
oCMenuLeft.level[1].arrow="images/arrow.gif"
oCMenuLeft.level[1].arrowWidth=15
oCMenuLeft.level[1].arrowHeight=15
oCMenuLeft.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
oCMenuLeft.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenuLeft.level[2].width=169
oCMenuLeft.level[2].height=19
oCMenuLeft.level[2].offsetX=0
oCMenuLeft.level[2].offsetY=0
oCMenuLeft.level[2].regClass="clLevel2"
oCMenuLeft.level[2].overClass="clLevel2over"
oCMenuLeft.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) 
*************************************/

oCMenuLeft.makeMenu('top1','','<img src="images/bullet.gif" width="10" height="10" alt="" border="0">United States','','','185','20','','','','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub10','top1','Faqs','faq_us.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub11','top1','Nonimmigrant Visas','us_nonimmvisas.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub12','top1','Immigrant Visas','us_immvisas.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub13','top1','Appeals','us_appeals.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub14','top1','U.S. Consulate Services','us_consult.php','','','','','','clLevelMigration1','clLevelMigration0over')
	
oCMenuLeft.makeMenu('top2','','<img src="images/bullet.gif" width="10" height="10" alt="" border="0">United Kingdom','','','185','19','','','','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub20','top2','Faqs','faq_uk.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub21','top2','Five Tier System','uk_fivetiersystem.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub22','top2','Skilled/Employment Visas','uk_skilledvisas.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub23','top2','Investor/Business Visas','uk_businesvisas.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub24','top2','Students/Post-study Visas','uk_students.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub25','top2','Family Visas','uk_familyvisas.php','','','','','','clLevelMigration1','clLevelMigration0over')
	oCMenuLeft.makeMenu('sub26','top2','Short Term Visas','uk_shorttermvisas.php','','','','','','clLevelMigration1','clLevelMigration0over')

//Leave this line - it constructs the menu
oCMenuLeft.construct()		
