

var hBar = new ItemStyle(4, 0, '', 10, 0, '#3874AA', '#6699CC', 'highText', 'highText', '', '',

null, null, 'hand', 'default');


var hBarNoLink = new ItemStyle(4, 0, '', 10, 0, '#3874AA', '#3874AA', 'highText', 'highText', '', '',

null, null, 'hand', 'default');


// The 'sub Menu' items: these have popout indicators of "Greater Than" signs ">" 15px from their

// right edge, and CSS borders. Text class also changes on mouseover.

var subM = new ItemStyle(22, 0, '&gt;', -15, 3, '#FFFFFF', '#E1EAF2', 'lowText', 'lowText',

 'itemBorder', 'itemBorder', 92, null, 'hand', 'default');



// Create a PopupMenu() object, and pass its own name so it can reference itself later on.

// We also use a 'with' block to work with its properties and functions below.



var pMenu = new PopupMenu('pMenu');

with (pMenu)

{


startMenu('root', false, 'window.page.winW()/2 - menuW/2', 105, 19, hBar, '', false);
addItem('', '', '', hBarNoLink, 180);
addItem('Site Map', 'http://www.whs.mil/DFD/SiteMap.cfm', '', null, 100);
addItem('DFD Contacts', 'mContacts', 'sm:', null, 140);
addItem('ICE', 'http://ice.disa.mil/index.cfm?fa=site&site_id=110', '', null, 70);
addItem('Contractor Opportunities', 'http://www.fedbizopps.gov/', '', null, 220);



startMenu('mContacts', true, 0, 18, 285, subM, '', false);
<!--addItem('Key Personnel Phone Numbers', 'BuildingSpace/KeyPrsnl.htm', '');-->
addItem('Base Realignment and Closure', 'http://www.whs.mil/DFD/BRAC/index.cfm', '');
addItem('DFD Security Emergency and Management Office', 'http://www.whs.mil/DFD/DFDSC/index.cfm', '');
addItem('Directorate Management Office', 'http://www.whs.mil/DFD/DMO/index.cfm', '');
addItem('Engineering & Technical Services', 'http://www.whs.mil/DFD/ETSD/index.cfm', '');
addItem('Federal Facilities Division', 'http://www.whs.mil/DFD/FFD/index.cfm', '');
addItem('Leased Facilities Division', 'http://www.whs.mil/DFD/LFD/index.cfm', '');
addItem('Programs and Services Division', 'http://www.whs.mil/DFD/PSD/index.cfm', '');
addItem('Space Policies & Acquisition Division', 'http://www.whs.mil/DFD/SPAD/index.cfm', '');
with(addItem('Special Advisor', 'mAdvisory', 'sm:')) onclick='window.location.href="http://www.whs.mil/DFD/SAEP/index.cfm"';




startMenu('mAdvisory', true, 280, 0, 140, subM, '', false);

addItem('Environment', '#', '');
addItem('Management and Analysis', '#', '');
addItem('Project Management', '#', '');





}

