jQuery(document).ready(function($){
 $(document.body).append(flexmenu1.menu) //append menu with variable name "flexmenu1" to document
 $(document.body).append(flexmenu2.menu) //append menu with variable name "flexmenu2" to document 
 $(document.body).append(flexmenu3.menu) //append menu with variable name "flexmenu3" to document  

 $('#link1').addflexmenu('flexmenu1') //apply flex menu with ID "flexmenu1" to link with ID="link1"
 $('#link2').addflexmenu('flexmenu2') //apply flex menu with ID "flexmenu2" to link with ID="link2"
 $('#link3').addflexmenu('flexmenu3') //apply flex menu with ID "flexmenu3" to link with ID="link3" 
})










//1st MENU Contents
var flexmenu1=new ddlistmenu('flexmenu1', 'flexdropdownmenu') //var menuvar=new ddlistmenu('menuid', 'menuclass')
flexmenu1.addItem('en_reitoverview.htm', 'overview', '_self' ) //addItem(url, text, optionaltarget)
flexmenu1.addItem('en_classI.htm', 'class I office space', '_self')
flexmenu1.addItem('en_acquisition.htm', 'acquisition criteria', '_self')
flexmenu1.addItem('en_underdevelopment.htm', 'properties under development', '_self')
flexmenu1.addItem('en_governance.htm', 'governance', '_self')
flexmenu1.addItem('en_management.htm', 'management team', '_self')
flexmenu1.addItem('en_trustees.htm', 'trustees', '_self' )
flexmenu1.addItem('en_newsletters.php', 'newsletters', '_self')


//2nd MENU Contents
var flexmenu2=new ddlistmenu('flexmenu2', 'flexdropdownmenu') //var menuvar=new ddlistmenu('menuid', 'menuclass')
flexmenu2.addItem('en_propertyoverview.php', 'property overview', '_self' ) //addItem(url, text, optionaltarget)
var subul3=flexmenu2.addItem('#', 'Qu&eacute;bec', '_self').addSubMenu() //create new 2nd level menu and assign it to new variable
	subul3.addItem('en_quebec.php', 'Ville de Queb&eacute;c', '_self')
	subul3.addItem('en_montreal.php', 'Montr&eacute;al', '_self')
var subul4=flexmenu2.addItem('#', 'Ontario', '_self').addSubMenu() //create new 2nd level menu and assign it to new variable
	subul4.addItem('en_ottawa.php', 'Ottawa', '_self')
	subul4.addItem('en_toronto.php', 'Toronto', '_self')
	subul4.addItem('en_kitchener.php', 'Kitchener', '_self')	
var subul5=flexmenu2.addItem('#', 'Manitoba', '_self').addSubMenu() //create new 2nd level menu and assign it to new variable
	subul5.addItem('en_winnipeg.php', 'Winnipeg', '_self')
var subul6=flexmenu2.addItem('#', 'Alberta', '_self').addSubMenu() //create new 2nd level menu and assign it to new variable
	subul6.addItem('en_calgary.php', 'Calgary', '_self')
	subul6.addItem('en_edmonton.php', 'Edmonton', '_self')
var subul7=flexmenu2.addItem('#', 'British Columbia', '_self').addSubMenu() //create new 2nd level menu and assign it to new variable
	subul7.addItem('en_vancouver.php', 'Vancouver', '_self')
	subul7.addItem('en_victoria.php', 'Victoria', '_self')
flexmenu2.addItem('en_tenantmix.htm', 'tenant mix', '_self' )
flexmenu2.addItem('en_leasematurities.htm', 'lease maturities', '_self')	


//1st MENU Contents
var flexmenu3=new ddlistmenu('flexmenu3', 'flexdropdownmenu') //var menuvar=new ddlistmenu('menuid', 'menuclass')
flexmenu3.addItem('en_financialreports2011.php', 'financial reports', '_self' ) //addItem(url, text, optionaltarget)
flexmenu3.addItem('en_regulatoryfilings2011.php', 'regulatory filings', '_self')
flexmenu3.addItem('en_pressreleases2012.php', 'press releases', '_self')
flexmenu3.addItem('en_presentations.php', 'investor presentations', '_self')
flexmenu3.addItem('en_distributionhistory.htm', 'distribution history', '_self')
flexmenu3.addItem('en_drip.htm', 'dividend reinvestment plan', '_self')

