// Initialize WebDDM function initWebDDM () { // Preload all the images we will be using... WebDDM_preloadImages('/arrowdown.gif', '/arrowleft.gif'); // Set arrow HTML arrowDown = ''+ '' + ''; arrowLeft = ''+ '' + ''; // Begin base menu var menu = { 'position':'relative', 'top':1, 'left':1, 'width':151, 'height':566, 'expand_menu':'auto', 'items':{ 'top':0, 'left':0, 'width':151, 'height':565, // This is sort of the container for all of the rest of the items 1:{ 'content':' ', 'isContainerItem':true, 'width':151, 'height':566, 'left': '0', 'top': '0', 'class':'container', 'css':'line-height:1' }, 2:{ 'content':'Home', 'content_rollover':'Home', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':1, 'class':'mainmenu_off' }, 3:{ 'content':'Provinces', 'content_rollover':'Provinces', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':48, 'class':'mainmenu_off' }, 4:{ 'content':'News', 'content_rollover':'News', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':95, 'class':'mainmenu_off' }, 5:{ 'content':'Educators ' +arrowLeft, 'content_menuopen':'Educators ' +arrowLeft, 'width':149, 'height':45, 'left':1, 'top':142, 'class':'mainmenu_off', 'class_menuopen':'mainmenu_rollover', // Begin array of items 'items':{ 'top':0, 'left':150, 'width':151, 'height':147, // This is a container for the rest of the items 1:{ 'content':' ', 'isContainerItem':true, 'width':151, 'height':143, 'left':0, 'top':0, 'class':'container', 'css':'line-height:1' }, 2:{ 'content':'Training', 'content_rollover':'Training', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':1, 'class':'mainmenu_off' }, 3:{ 'content':'Education Department', 'content_rollover':'Education Department', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':48, 'class':'mainmenu_off' }, 4:{ 'content':'School Centre', 'content_rollover':'School Centre', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':95, 'class':'mainmenu_off' } } }, 6:{ 'content':'History ' +arrowLeft, 'content_menuopen':'History ' +arrowLeft, 'width':149, 'height':45, 'left':1, 'top':189, 'class':'mainmenu_off', 'class_menuopen':'mainmenu_rollover', // Begin array of items 'items':{ 'top':0, 'left':150, 'width':151, 'height':53, // This is a container for the rest of the items 1:{ 'content':' ', 'isContainerItem':true, 'width':151, 'height':49, 'left':0, 'top':0, 'class':'container', 'css':'line-height:1' }, 2:{ 'content':'SunZone', 'content_rollover':'SunZone', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':1, 'class':'mainmenu_off' } } }, 7:{ 'content':'Kits', 'content_rollover':'Kits', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':236, 'class':'mainmenu_off' }, 8:{ 'content':'Awards ' +arrowLeft, 'content_menuopen':'Awards ' +arrowLeft, 'width':149, 'height':45, 'left':1, 'top':283, 'class':'mainmenu_off', 'class_menuopen':'mainmenu_rollover', // Begin array of items 'items':{ 'top':0, 'left':150, 'width':151, 'height':100, // This is a container for the rest of the items 1:{ 'content':' ', 'isContainerItem':true, 'width':151, 'height':96, 'left':0, 'top':0, 'class':'container', 'css':'line-height:1' }, 2:{ 'content':'Hall of Fame', 'content_rollover':'Hall of Fame', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':1, 'class':'mainmenu_off' }, 3:{ 'content':'Presidential Award ' +arrowLeft, 'content_menuopen':'Presidential Award ' +arrowLeft, 'width':149, 'height':45, 'left':1, 'top':48, 'class':'mainmenu_off', 'class_menuopen':'mainmenu_rollover', // Begin array of items 'items':{ 'top':0, 'left':150, 'width':151, 'height':53, // This is a container for the rest of the items 1:{ 'content':' ', 'isContainerItem':true, 'width':151, 'height':49, 'left':0, 'top':0, 'class':'container', 'css':'line-height:1' }, 2:{ 'content':'NSTF Finalist', 'content_rollover':'NSTF Finalist', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':1, 'class':'mainmenu_off' } } } } }, 9:{ 'content':'Initiatives ' +arrowLeft, 'content_menuopen':'Initiatives ' +arrowLeft, 'width':149, 'height':45, 'left':1, 'top':330, 'class':'mainmenu_off', 'class_menuopen':'mainmenu_rollover', // Begin array of items 'items':{ 'top':0, 'left':150, 'width':151, 'height':53, // This is a container for the rest of the items 1:{ 'content':' ', 'isContainerItem':true, 'width':151, 'height':49, 'left':0, 'top':0, 'class':'container', 'css':'line-height:1' }, 2:{ 'content':'Electricity', 'content_rollover':'Electricity', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':1, 'class':'mainmenu_off' } } }, 10:{ 'content':'Links', 'content_rollover':'Links', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':377, 'class':'mainmenu_off' }, 11:{ 'content':'Contact', 'content_rollover':'Contact', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':424, 'class':'mainmenu_off' }, 12:{ 'content':'Vision', 'content_rollover':'Vision', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':471, 'class':'mainmenu_off' }, 13:{ 'content':'Sponsors', 'content_rollover':'Sponsors', 'class_rollover':'mainmenu_rollover', 'width':149, 'height':45, 'left':1, 'top':518, 'class':'mainmenu_off' } } }; // End base menu // Activate and build menu var WebDDM_mainmenu = new WebDDM('mainmenu', menu); }