var NS = 0;
var NS4 = 0;
browserName = navigator.appName.substring(0,8);
browserVer = parseFloat(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 5)
{ NS = 1; }
if (browserName == "Netscape" && browserVer < 5)
{ NS4 = 1; }

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0
oCMenu.fromTop=0
oCMenu.rows=1
oCMenu.menuPlacement="left"

                                                                   
oCMenu.offlineRoot=""
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1
oCMenu.wait=500
oCMenu.fillImg="images/spacer.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="menu"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=0

//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=198
oCMenu.level[0].height=30
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass=0
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"

//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=200
oCMenu.level[1].height=28
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=4
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].align="right" 
oCMenu.level[1].arrow="images/bullet2.gif"
oCMenu.level[1].arrowWidth=13
oCMenu.level[1].arrowHeight=14

//EXAMPLE SUB LEVEL[2] 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[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=200
oCMenu.level[2].height=24
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderX=0
oCMenu.level[2].borderY=0
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderClass="clLevel2border"
oCMenu.level[2].align="right"



/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/

var expertiseImg = "images/nav_expertise.gif";
var firmImg = "images/nav_firm.gif";
var lawyerImg = "images/nav_lawyers.gif";
var communityImg = "images/nav_community.gif";
var careersImg = "images/nav_careers.gif";
var contactImg = "images/nav_contact.gif";

/*
var thisUrlString = window.location.href;

if(thisUrlString.indexOf("expertise_") > 1) {
	expertiseImg = "images/nav_expertise_over.gif";
}
if(thisUrlString.indexOf("firm_") > 1) {
	firmImg = "images/nav_firm_over.gif";
}
if(thisUrlString.indexOf("lawyers_") > 1) {
	lawyerImg = "images/nav_lawyers_over.gif";
}
if(thisUrlString.indexOf("community_") > 1) {
	communityImg = "images/nav_community_over.gif";
}
if(thisUrlString.indexOf("careers_") > 1) {
	careersImg = "images/nav_careers_over.gif";
}
if(thisUrlString.indexOf("contact_") > 1) {
	contactImg = "images/nav_contact_over.gif";
}
*/

oCMenu.makeMenu('expertise','','','','','168','47',expertiseImg,'images/nav_expertise_over.gif')
	oCMenu.makeMenu('expertise_overview','expertise','Practice Areas - Overview','practiceareas_overview.cfm','','190')
	oCMenu.makeMenu('expertise_bankingFinancial','expertise','Banking and Financial Services','expertise_bankingFinancial.cfm','','190')
	oCMenu.makeMenu('expertise_business','expertise','Business Transactions','expertise_business.cfm','','190')	
	oCMenu.makeMenu('expertise_commercialLitigation','expertise','Commercial Litigation','expertise_commercialLitigation.cfm','','190')
	oCMenu.makeMenu('expertise_constructionLaw','expertise','Construction Law','expertise_constructionLaw.cfm','','190')	
	oCMenu.makeMenu('expertise_insuranceRiskMgmt','expertise','Insurance & Risk Management','expertise_insuranceRiskMgmt.cfm','','190')
	oCMenu.makeMenu('expertise_intellectualProperty','expertise','Intellectual Property','expertise_intellectualProperty.cfm','','190')
	oCMenu.makeMenu('expertise_oilGas','expertise','Oil & Gas','expertise_oilGas.cfm','','190')
	oCMenu.makeMenu('expertise_tax','expertise','Personal Legal Services','expertise_tax.cfm','','190')
	oCMenu.makeMenu('expertise_regulatory','expertise','Regulatory','expertise_regulatory.cfm','','190')
	oCMenu.makeMenu('expertise_securities','expertise','Securities, Mergers & Acquisitions','expertise_securities.cfm','','190')
	

oCMenu.makeMenu('firm','','','firm_profile.cfm','','170','47',firmImg,'images/nav_firm_over.gif')
	//oCMenu.makeMenu('firm_profile','firm','Profile','firm_profile.cfm','','170')	

oCMenu.makeMenu('lawyers','','','lawyers_listings.cfm','','170','47',lawyerImg,'images/nav_lawyers_over.gif')
	//oCMenu.makeMenu('lawyers_listings','lawyers','Lawyer Listings','lawyers_listings.cfm','','170')

/*oCMenu.makeMenu('community','','','','','158','47',communityImg,'images/nav_community_over.gif')
	oCMenu.makeMenu('community_initiatives','community','Initiatives','community_initiatives.cfm','','158')
	oCMenu.makeMenu('community_guidelines','community','Guidelines','community_guidelines.cfm','','158')
	oCMenu.makeMenu('community_contact','community','Contact','community_contact.cfm','','158')*/
	
oCMenu.makeMenu('careers','','','','','170','47',careersImg,'images/nav_careers_over.gif')
	oCMenu.makeMenu('careers_legalProfessionals','careers','Legal Professionals','careers_legalProfessionals.cfm','','170')
	oCMenu.makeMenu('careers_legalSupportStaff','careers','Legal Support Staff','careers_legalSupportStaff.cfm','','170')
	oCMenu.makeMenu('careers_legalStudents','careers','Students','careers_legalstudents.cfm','','170')

oCMenu.makeMenu('contact','','','contact_info.cfm','','169','47',contactImg,'images/nav_contact_over.gif','','','bottomleft')
	//oCMenu.makeMenu('contact_info','contact','Contact Information','contact_info.cfm','','169')
	//oCMenu.makeMenu('contact_location','contact','Location','contact_location.cfm','','169')
