// JavaScript Document

/*** 
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=-1
oCMenu.fromLeft=0
//Jill R changed default top property from 102 to 55
//25-Aug-20008 Jill R changed default top property from 55 to 50
//25-Mar_2009 Jill R changed default top property from 40 to 27
oCMenu.fromTop=27 
oCMenu.rows=1 
oCMenu.menuPlacement="center"

// Josh Venman 8-Apr-06 Added local file system root for working on site here in Sydney
// Will return active definition to Buffalo version when I check content back in. 
                                                             
//oCMenu.offlineRoot="file:///V|/IDEAS/Siteroot" 
//oCMenu.offlineRoot="file://c|/inetpub/NewPubWeb"
oCMenu.offlineRoot="file://D|/IdeasSiteRoot"
oCMenu.onlineRoot="http://www.ideasinternational.com" 
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=110
oCMenu.level[0].height=25 
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
//Changed default width from 120 to 130
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=130
oCMenu.level[1].height=22
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=-(oCMenu.level[0].width-2)/2+20
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
//Changed default width from 120 to 130
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=130
oCMenu.level[2].height=22
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) 
*************************************/

oCMenu.makeMenu('top00','', '', '', '', '16', '41', '', '', '', '')

// Josh Venman - add two padding menu items to allow left align of shorter menu	
// Jill R - moved padded to begginning   (from end) of list to right align menu

oCMenu.makeMenu('pad1','', '', '/default.aspx', '', '114', '41', '', '', '', '')	
// Jill R - 26-Sep-07- changing width of second padding from 114 to 80 to make room for new button
oCMenu.makeMenu('pad2','', '', '/default.aspx', '', '80', '41', '', '', '', '')	

// End padding

// Josh Venman 8-Apr-06 Fixed link from top level How can menu to go to Capabilities Overview
// Jill Reisfeld 14-June-06 Fixed wrapping issue with "Ideas for IT Vendors" brought up by Chris O
// Jill Reisfeld 26-Sep-07 Changing width of How from 114 to 100 to make room for new menu bar.
oCMenu.makeMenu('top0','', '', '/how/HOW030.htm', '', '100', '41', '', '', 'nav_how_0', 'nav_how_1')
// 02-Sep-08 Per Bowhill removing Capabilities Overview and changing IDEAS to Benefits
// oCMenu.makeMenu('sub00','top0','Capabilities Overview','/how/HOW040.htm')
	oCMenu.makeMenu('sub01','top0','Benefits for IT Vendors','/how/HOW030.htm','','','')
	oCMenu.makeMenu('sub02','top0','Benefits for IT Users','/how/HOW020.htm')
// 18-June-06 Per directive from Ian, commenting out "Case Studies" for initial release; will be added in next release of site	
//	oCMenu.makeMenu('sub04','top0','Case Studies','/how/HOW050.htm')

// 10-Oct-07 Jill adding CPE to menu
// 02-Sep-08 Jill changing products menu to new categories per Bowhill
oCMenu.makeMenu('top1','', '', '/products/PRD010.htm', '', '95', '41', '', '', 'nav_products_0', 'nav_products_1')
	oCMenu.makeMenu('sub10','top1','Vendor Selection & Competitive Analysis','/products/PRD010.htm','','','34')
	oCMenu.makeMenu('sub11','top1','Server Consolidation & Carbon Management','/products/PRD020.htm','','','34')			
	//oCMenu.makeMenu('sub13','top1','Storage <br/>Consolidation','/products/PRD030.htm','','','34')
	oCMenu.makeMenu('sub14','top1','Advisory & <br/>Consulting Services','/products/PRD040.htm','','','34')
	oCMenu.makeMenu('sub15','top1','Collaborative <br/>Product Evaluations','/products/PRD050.htm','','','34')

// Josh Venman 29-Jun-06 - Changed Benchmarking to Benchmarks folder
// Jill Reisfeld 26-Sep-07 Changing width of Benchmark from 114 to 90 to make room for new menu bar.
oCMenu.makeMenu('top3','', '', '/benchmark/BEN010.aspx', '', '90', '41', '', '', 'nav_benchmark_0', 'nav_benchmark_1')

// Jill Reisfeld 26-Sep-07 Added New button for Green Gateway
oCMenu.makeMenu('top4','', '', '/green/GRN010.aspx', '', '90', '41', '', '', 'nav_green_0', 'nav_green_1')

// Jill Reisfeld 26-Sep-07 Changing width of About from 85 to 80 to make room for new menu bar.
// Jill Reisfeld 26-Sep-08 Removing "Accessing IDEAS Research" per Bowhill
// Jill Reisfeld 20-Feb-09 Adding IDEAS Staff line
// Jill Reisfeld 05-May-09 Adding IDEAS in the News Line
oCMenu.makeMenu('top6','', '', '/about/ABT010.htm', '', '80', '41', '', '', 'nav_about_0', 'nav_about_1')
	oCMenu.makeMenu('sub60','top6','Background','/about/ABT010.htm')
	oCMenu.makeMenu('sub61','top6','Management','/about/ABT020.htm')
	oCMenu.makeMenu('sub62','top6','Analyst Biographies','/about/ABT030.htm')
	oCMenu.makeMenu('sub63','top6','IDEAS Staff','/about/ABT080.htm')
	oCMenu.makeMenu('sub641','top6','IDEAS in the News','/about/ABT040.htm')
	oCMenu.makeMenu('sub642','top6','Press Releases','/about/ABT050.htm')
	oCMenu.makeMenu('sub65','top6','Careers','/about/ABT060.htm')
	oCMenu.makeMenu('sub66','top6','Alliances','/about/ABT070.htm')
	oCMenu.makeMenu('sub67','top6','Global Locations','/contact/CON010.htm')
	//oCMenu.makeMenu('sub68','top6','Accessing IDEAS Research','/contact/CON040.htm','','','34')
	
// Josh Venman 8-Apr-06 Added <br> to Shareholders Newsletter entry to fix nowrap issue
// 23-June-06 Jill renamed 'sub75' from 'Share Price' to 'Overview' and moved to top of menu 
// Jill Reisfeld 14-Jun-06 Fixed link from top level Investors menu to go to Overview

// Jill Reisfeld 26-Sep-07 Changing width of Investor from 90 to 85 to make room for new menu bar.
oCMenu.makeMenu('top7','', '', '/investor/INV030.htm', '', '85', '41', '', '', 'nav_investor_0', 'nav_investor_1','')
	oCMenu.makeMenu('sub75','top7','Overview','/investor/INV030.htm')
	oCMenu.makeMenu('sub70','top7','The Board','/investor/INV010.htm')
	oCMenu.makeMenu('sub71','top7','Senior Management','/investor/INV020.htm')
	oCMenu.makeMenu('sub72','top7','Shareholder <br/>Newsletters','/investor/INV060.htm','','','34')
	oCMenu.makeMenu('sub74','top7','Financial Reports','/investor/INV050.htm')
	
	
	

//Leave this line - it constructs the menu
oCMenu.construct()		
