﻿var gov_govButton = new ItemStyle(112, 0, '', 0, 0, '../images/home/gov.gif', '../images/home/gov_ov.gif', '', '', '', '', null, null, 'pointer', 'default');
var gov_resButton = new ItemStyle(98, 0, '', 0, 0, '../images/home/res.gif', '../images/home/res_ov.gif', '', '', '', '', null, null, 'pointer', 'default');
var gov_indButton = new ItemStyle(88, 0, '', 0, 0, '../images/home/ind.gif', '../images/home/ind_ov.gif', '', '', '', '', null, null, 'pointer', 'default');
var gov_reaButton = new ItemStyle(106, 0, '', 0, 0, '../images/home/rea.gif', '../images/home/rea_ov.gif', '', '', '', '', null, null, 'pointer', 'default');
var gov_intButton = new ItemStyle(119, 0, '', 0, 0, '../images/home/int.gif', '../images/home/int_ov.gif', '', '', '', '', null, null, 'pointer', 'default');

var about_sectorButton = new ItemStyle(442, 0, '', 0, 0, '../images/1x1.gif', '../images/home/sectors_ov.jpg', '', '', '', '', null, null, 'pointer', 'default');

var gov_dropI          = new ItemStyle(21, 0, '&gt;&gt;', -22, 0, '10#EEEAC7', '10#BB9A15', 'govDropI', 'govDropIHover', 'govDropIBorder', 'govDropIBorder', null, null, 'hand', 'default');
var res_dropI          = new ItemStyle(21, 0, '&gt;&gt;', -22, 0, '10#BFECDC', '10#30C48D', 'resDropI', 'resDropIHover', 'resDropIBorder', 'resDropIBorder', null, null, 'hand', 'default');
var ind_dropI          = new ItemStyle(21, 0, '&gt;&gt;', -22, 0, '10#CBE0F1', '10#5692D2', 'indDropI', 'indDropIHover', 'indDropIBorder', 'indDropIBorder', null, null, 'hand', 'default');
var ind_dropsub        = new ItemStyle(21, 0, '', 0, 0, '10#89B8E4', '10#89B8E4', 'indDropIHover', 'indDropIHover', 'indDropIBorder', 'indDropIBorder', null, null, 'hand', 'default');
var rea_dropI          = new ItemStyle(21, 0, '&gt;&gt;', -22, 0, '10#DBC8EF', '10#A780D8', 'reaDropI', 'reaDropIHover', 'reaDropIBorder', 'reaDropIBorder', null, null, 'hand', 'default');
var rea_dropII         = new ItemStyle(21, 0, '&lt;&lt;', 0, 0, '10#DBC8EF', '10#A780D8', 'reaDropII', 'reaDropIIHover', 'reaDropIBorder', 'reaDropIBorder', null, null, 'hand', 'default');
var int_dropI          = new ItemStyle(21, 0, '&gt;&gt;', -22, 0, '10#FFE4E4', '10#DE3132', 'intDropI', 'intDropIHover', 'intDropIBorder', 'intDropIBorder', null, null, 'hand', 'default');
var int_dropII         = new ItemStyle(21, 0, '&lt;&lt;', 0, 0, '10#FFE4E4', '10#DE3132', 'intDropII', 'intDropIIHover', 'intDropIBorder', 'intDropIBorder', null, null, 'hand', 'default');


/////// sectors

var hm_sectorMenu = new PopupMenu('hm_sectorMenu');
with (hm_sectorMenu)
{

startMenu('root', false, 'window.page.elmPos("sectors").x',  'window.page.elmPos("sectors").y', 229, '', '', false);
addItem('', 'mSectorMenu', 'sm:', about_sectorButton);

startMenu('mSectorMenu', false, 0, -38, 38, blank, '', false);
addItem('', 'mGovernments', 'sm:', gov_govButton);
addItem('', 'mResources', 'sm:', gov_resButton);
addItem('', 'mIndustry', 'sm:', gov_indButton);
addItem('', 'mRealestate', 'sm:', gov_reaButton);
addItem('', 'mInternational', 'sm:', gov_intButton);

startMenu('mGovernments', true, 5, 38, 152, gov_dropI, '', false);
addItem('&nbsp;Introduction', 'gov_intro.html', '');
addItem('&nbsp;Federal', 'gov_fed.html', '');
addItem('&nbsp;Provincial', 'gov_pro.html', '');
addItem('&nbsp;Municipal', 'gov_mun.html', '');
addItem('&nbsp;First Nations', 'gov_fir.html', '');
addItem('&nbsp;Crown Corporations', 'gov_cro.html', '');
addItem('&nbsp;Institutions', 'gov_ins.html', '');
	
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, 7, 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, 10, 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, 6, 38, 152, int_dropI, '', false);
addItem('&nbsp;Introduction', 'int_intro.html', '');
}


/////// animation

if ((navigator.userAgent.indexOf('rv:0.')==-1) &&
    !(isOp&&!document.documentElement) && !(isIE4&&!window.external))
{
 hm_sectorMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 hm_sectorMenu.hideMenu = new Function('mN','menuAnim(this, mN, -15)');
}