﻿var gov_govButton = new ItemStyle(112, 0, '', 0, 0, '../images/sectornav/sector_govMain.gif', '../images/sectornav/sector_govMain.gif', '', '', '', '', null, null, 'pointer', 'default');
var gov_resButton = new ItemStyle(98, 0, '', 0, 0, '../images/sectornav/sector_resMain.gif', '../images/sectornav/gov_resOv.gif', '', '', '', '', null, null, 'pointer', 'default');
var gov_indButton = new ItemStyle(88, 0, '', 0, 0, '../images/sectornav/sector_indMain.gif', '../images/sectornav/gov_indOv.gif', '', '', '', '', null, null, 'pointer', 'default');
var gov_reaButton = new ItemStyle(106, 0, '', 0, 0, '../images/sectornav/sector_reaMain.gif', '../images/sectornav/gov_reaOv.gif', '', '', '', '', null, null, 'pointer', 'default');
var gov_intButton = new ItemStyle(119, 0, '', 0, 0, '../images/sectornav/sector_intMain.gif', '../images/sectornav/gov_intOv.gif', '', '', '', '', null, null, 'pointer', 'default');

var gov_buttonI        = new ItemStyle(21, 0, '', 0, 0, '', '', 'govI',  'govIHover', 'govIBorder', 'govIBorder', null, null, 'hand',    'default');
var gov_buttonII       = new ItemStyle(21, 0, '', 0, 0, '', '', 'govII', 'govIIHover', 'govIIBorder', 'govIIBorder', null, null, 'pointer', 'default');
var gov_buttonIIfirst  = new ItemStyle(21, 0, '', 0, 0, '', '', 'govII', 'govIIHoverFirst', 'govIIBorder', 'govIIBorderFirst', null, null, 'pointer', 'default');
var gov_div            = new ItemStyle(1, 0, '', 0, 0, '', '', 'govII', 'govIIHover', 'govDivBorder', 'govDivBorder', null, null, 'pointer', 'default');

var dropM = new ItemStyle(22, 0, '&gt;&gt;', -21, 0, '10#DAF0F4', '10#2DA7BF', 'drop', 'dropHover', 'dropBorder', 'dropBorder', null, null, 'hand', 'default');


/////// Sectors

var gov_sectorMenu = new PopupMenu('gov_sectorMenu');
with (gov_sectorMenu)
{

startMenu('root', false, 'window.page.elmPos("sectors").x',  'window.page.elmPos("sectors").y', 38, blank);
addItem('', 'mBlank', 'sm:', gov_govButton);
addItem('', 'mResources', 'sm:', gov_resButton);
addItem('', 'mIndustry', 'sm:', gov_indButton);
addItem('', 'mRealestate', 'sm:', gov_reaButton);
addItem('', 'mInternational', 'sm:', gov_intButton);

	startMenu('mBlank', true, 0, 0, 0, blank, '', false);
	addItem('', '#', '');
	
	startMenu('mResources', true, 10, 38, 152, res_dropI, '', false);
	addItem('&nbsp;Introduction', 'res_intro.html', '');
	addItem('&nbsp;Power', 'res_pow.html', '');
	addItem('&nbsp;Mining', 'res_min.html', '');
	addItem('&nbsp;Forestry', 'res_for.html', '');
	addItem('&nbsp;Oil & Gas', 'res_oil.html', '');
	
	startMenu('mIndustry', true, 8, 38, 256, ind_dropI, '', false);
	addItem('&nbsp;Introduction', 'ind_intro.html', '');
	addItem('&nbsp;Transportation Services', 'ind_tra.html', '');
	addItem('&nbsp;Financial Services', 'ind_fin.html', '');
	addItem('&nbsp;Environmental Services', 'ind_env.html', '');
	addItem('&nbsp;Manufacturing and Processing', 'ind_man.html', '');
	addItem('&nbsp;Construction & Public-Private Partnerships', 'ind_con.html', '');

	startMenu('mRealestate', true, 11, 38, 221, rea_dropI, '', false);
	addItem('&nbsp;Introduction', 'rea_intro.html', '');
	addItem('&nbsp;New Urban Land', 'rea_new.html', '');
	addItem('&nbsp;Redevelopment & Brownfields', 'rea_red.html', '');
	addItem('&nbsp;Recreation & Resort Developments', 'rea_rec.html', '');
	addItem('&nbsp;Property & Facilities Management', 'rea_pro.html', '');

	startMenu('mInternational', true, 7, 38, 152, int_dropI, '', false);
	addItem('&nbsp;Introduction', 'int_intro.html', '');
}

/////// Subsectors

var gov_MenuI = new PopupMenu('gov_MenuI');
with (gov_MenuI)
{

startMenu('root', false, 132, 97, 19, gov_buttonI, '', false);
addItem('Introduction', 'gov_intro.html', '', null, 75);
addItem('', '#', '', gov_div, 1);
addItem('Federal', 'gov_fed.html', '', null, 51);
addItem('', '#', '', gov_div, 1);
addItem('Provincial', 'gov_pro.html', '', null, 63);
addItem('', '#', '', gov_div, 1);
addItem('Municipal', 'gov_mun.html', '', null, 61);
addItem('', '#', '', gov_div, 1);
addItem('First Nations', 'gov_fir.html', '', null, 78);
addItem('', '#', '', gov_div, 1);
addItem('Crown Corporations', 'gov_cro.html', '', null, 112);
addItem('', '#', '', gov_div, 1);
addItem('Institutions', 'gov_ins.html', '', null, 67);
}

 
/////// animation

if ((navigator.userAgent.indexOf('rv:0.')==-1) &&
    !(isOp&&!document.documentElement) && !(isIE4&&!window.external))
{
 gov_sectorMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 gov_sectorMenu.hideMenu = new Function('mN','menuAnim(this, mN, -15)');
 gov_MenuI.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 gov_MenuI.hideMenu = new Function('mN','menuAnim(this, mN, -15)');
}