menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
function dumpmenus_cut(){mt="<script language=javascript>";for(a=1;a<14;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
var agt = navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);
var is_gecko = (agt.indexOf('gecko') != -1);
var is_opera = (agt.indexOf('opera') != -1);
var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
var is_ie3 = (is_ie && (is_major < 4));
var is_ie4 = (is_ie && (is_major == 4) && (agt.indexOf("msie 4")!=-1) );
var is_ie4up = (is_ie && (is_major >= 4));
var is_ie5up = (is_ie && !is_ie3 && !is_ie4);
var is_win2k = ((agt.indexOf("windows nt 5.0")!=-1) || (agt.indexOf("windows 2000")!=-1));
var is_winxp = ((agt.indexOf("windows nt 5.1")!=-1) || (agt.indexOf("windows xp")!=-1));
if(is_ie5up||is_gecko||is_opera) 
{
<!--document.write('<a name="top"></a><table class="navigation-menu" border="0" width="790" height="40" cellspacing="0" cellpadding="0"><tr><p></<td></td></tr></table>');
<!--document.write('<table class="navigation-menu" border="0" width="790" cellspacing="0" cellpadding="0" text-align="center" style="position: absolute; left: 0; top: 0">');
<!--document.write('<tr><td width="790" height="20" bgcolor="#EC141C"></td></tr><tr><td width="790" align="center"></table>')
<!--document.write('<hr align="right" width="630" noshade size="1" style="position: absolute; ');
<!--if(is_ie5up){document.write('top:40; right: 0">')}else{document.write('top:33; right: 0">')}
}
else
{
document.write('<table class="navigation-menu" border="0" width="750" height="20" cellspacing="0" cellpadding="0" bgcolor="#411805"><tr><td>&nbsp;</td></tr></table>');
document.write('<table class="navigation-menu" border="0" width="750" cellspacing="0" cellpadding="0"><tr><td align="right" valign="bottom"><font color="#000000"><b><i>loading menus ... &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</i></b></font></td></tr></table>');
document.write('<hr align="right" width="750" noshade size="1">')
}
timegap=300 
followspeed=4 
followrate=20 
suboffset_top=10; suboffset_left=12; effect = "fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)"

style1=[                   				// SMSUStyle is an array of properties. You can have as many property arrays as you need
"F8F2E5",                     			// Mouse Off Font Color
"EC141C",                     			// Mouse Off Background Color (use zero for transparent in Netscape 6)
"F8F2E5",                     			// Mouse On Font Color
"4A0000",                     			// Mouse On Background Color
"A8B090",                     			// Menu Border Color
"11",                         			// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     			// Font Style (italic or normal)
"normal",                     			// Font Weight (bold or normal)
"Verdana, Arial, Helvetica, sans-serif",   // Font Name
5,                            			// Menu Item Padding or spacing
"images/arrow.gif",     				// Sub Menu Image (Leave this blank if not needed)
0,                            			// 3D Border & Separator bar
"",                           			// 3D High Color
"",                           			// 3D Low Color
,                             			// Current Page Item Font Color (leave this blank to disable)
,                             			// Current Page Item Background Color (leave this blank to disable)
,                             			// Top Bar image (Leave this blank to disable)
"",                     			// Menu Header Font Color (Leave blank if headers are not needed)
"",                     			// Menu Header Background Color (Leave blank if headers are not needed)
,                             			// Menu Item Separator Color
]

style2=[                   				// SMSUStyle is an array of properties. You can have as many property arrays as you need
"325300",                     			// Mouse Off Font Color
"E89938",                     			// Mouse Off Background Color (use zero for transparent in Netscape 6)
"ffffff",                     			// Mouse On Font Color
"E89938",                     			// Mouse On Background Color
"411805",                     			// Menu Border Color
"11",                         			// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     			// Font Style (italic or normal)
"bold",                     			// Font Weight (bold or normal)
"Verdana, Arial, Helvetica, sans-serif",   // Font Name
3,                            			// Menu Item Padding or spacing
"images/arrow.gif",     				// Sub Menu Image (Leave this blank if not needed)
0,                            			// 3D Border & Separator bar
"",                           			// 3D High Color
"",                           			// 3D Low Color
,                             			// Current Page Item Font Color (leave this blank to disable)
,                             			// Current Page Item Background Color (leave this blank to disable)
,                             			// Top Bar image (Leave this blank to disable)
"FFFFFF",                     			// Menu Header Font Color (Leave blank if headers are not needed)
"4A0010",                     			// Menu Header Background Color (Leave blank if headers are not needed)
,                             			// Menu Item Separator Color
]


<!-- ////// MAIN MENU ////// -->

addmenu(menu=[ 
"mainmenu1",  			// Menu Name - This is needed in order for this menu to be called
145, 					// Menu Top - The Top position of this menu in pixels
0, 						// Menu Left - The Left position of this menu in pixels
120, 						// Menu Width - Menus width in pixels
0, 						// Menu Border Width
"center",				// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,					// Properties Array - this array is declared higher up as you can see above
1,						// Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"center",				// Alignment - sets this menu elements text alignment, values valid here are: left, right or center
,						// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,1						// Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
,						// Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
,						// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,						// Position of TOP sub image left:center:right
,						// Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
,						// Right To Left - Used in Hebrew for example. (1=on or 0=off)
,						// Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,						// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,						// Background image for menu Color must be set to transparent for this to work
,						// Scrollable Menu
,						// Miscellaneous Menu Properties
,"Home","index.php",,,0
,"Register","register.php",,,0
,"Courses","courses.php",,,0
,"Schedule","schedule.php",,,0
,"Trainers","trainers.php",,,0
<!-- ,"Sponsorship","sponsor.php",,,0 --> 
<!--,"Training","show-menu=training","trainers.php","",1 -->
<!--,"Updates","updates.php",,,0 --> <!-- OLD UPDATES FORM -->
,"In-House Training","customised_training.php",,,0 
,"Venues","training_venues.php",,,0 
,"Contact Us","contact.php",,,0
<!-- ,"Contact Us","show-menu=contact","contact.php","",1 -->
])

<!-- ////// PROJECTS ////// -->

addmenu(menu=[ 
"contact",  			// Menu Name - This is needed in order for this menu to be called
, 						// Menu Top - The Top position of this menu in pixels
, 						// Menu Left - The Left position of this menu in pixels
80, 					// Menu Width - Menus width in pixels
1, 						// Menu Border Width
"",						// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,					// Properties Array - this array is declared higher up as you can see above
,						// Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,						// Alignment - sets this menu elements text alignment, values valid here are: left, right or center
effect,						// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,						// Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
,						// Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
,						// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,						// Position of TOP sub image left:center:right
,						// Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
,						// Right To Left - Used in Hebrew for example. (1=on or 0=off)
,						// Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,						// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,						// Background image for menu Color must be set to transparent for this to work
,						// Scrollable Menu
,						// Miscellaneous Menu Properties
,"Register","register.php","","",1
])

<!-- ////// CORPORATE ////// -->

addmenu(menu=[ 
"training",  			// Menu Name - This is needed in order for this menu to be called
, 						// Menu Top - The Top position of this menu in pixels
, 						// Menu Left - The Left position of this menu in pixels
150, 					// Menu Width - Menus width in pixels
1, 						// Menu Border Width
"",						// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,					// Properties Array - this array is declared higher up as you can see above
,						// Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,						// Alignment - sets this menu elements text alignment, values valid here are: left, right or center
effect,						// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,						// Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
,						// Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
,						// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,						// Position of TOP sub image left:center:right
,						// Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
,						// Right To Left - Used in Hebrew for example. (1=on or 0=off)
,						// Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,						// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,						// Background image for menu Color must be set to transparent for this to work
,						// Scrollable Menu
,						// Miscellaneous Menu Properties
,"Trainers","trainers.php","","",1
,"Customised Training","customised_training.php","","",1
,"Training Venues","training_venues.php","","",1
])

<!-- ////// CAREERS ////// -->

addmenu(menu=[ 
"careers",  			// Menu Name - This is needed in order for this menu to be called
315, 						// Menu Top - The Top position of this menu in pixels
, 						// Menu Left - The Left position of this menu in pixels
150, 					// Menu Width - Menus width in pixels
1, 						// Menu Border Width
"",						// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,					// Properties Array - this array is declared higher up as you can see above
,						// Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,						// Alignment - sets this menu elements text alignment, values valid here are: left, right or center
effect,						// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,						// Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
,						// Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
,						// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,						// Position of TOP sub image left:center:right
,						// Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
,						// Right To Left - Used in Hebrew for example. (1=on or 0=off)
,						// Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,						// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,						// Background image for menu Color must be set to transparent for this to work
,						// Scrollable Menu
,						// Miscellaneous Menu Properties
,"Equal Opportunity Policy","opportunity.php","","",1
,"Positions Vacant","positions.php","","",1
])

<!-- ////// ABOUT ////// -->

addmenu(menu=[ 
"about",  				// Menu Name - This is needed in order for this menu to be called
315, 					// Menu Top - The Top position of this menu in pixels
, 						// Menu Left - The Left position of this menu in pixels
110, 					// Menu Width - Menus width in pixels
1, 						// Menu Border Width
"",						// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,					// Properties Array - this array is declared higher up as you can see above
,						// Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,						// Alignment - sets this menu elements text alignment, values valid here are: left, right or center
effect,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,						// Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
,						// Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
,						// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,						// Position of TOP sub image left:center:right
,						// Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
,						// Right To Left - Used in Hebrew for example. (1=on or 0=off)
,						// Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,						// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,						// Background image for menu Color must be set to transparent for this to work
,						// Scrollable Menu
,						// Miscellaneous Menu Properties
,"A Day in Our Life","about_life.php","","",1
])



if(is_winxp){dumpmenus()}else{dumpmenus_cut()}