menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}

timegap=200			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=5		// Follow Scrolling Rate
suboffset_top=5;	// Sub menu offset Top position 
suboffset_left=10;	// Sub menu offset Left position


if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.3);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}

style1=[	// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",	// Mouse Off Font Color
"004684",	// Mouse Off Background Color
"ffffff",	// Mouse On Font Color
"F5AD05",	// Mouse On Background Color
"ffffff",	// Menu Border Color 
11,		// Font Size in pixels
"normal",	// Font Style (italic or normal)
"normal",	// Font Weight (bold or normal)
"Trebuchet MS"	// Font Name
,		// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
"",		// 3D Border & Separator bar
"ffffff",	// 3D High Color
"ffffff",	// 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)
"ffffff",	// Menu Item Separator Color
]

addmenu(menu=[
"menu1",  // Menu Name - This is needed in order for this menu to be called
83,       // Menu Top - The Top position of this menu in pixels
178,      // Menu Left - The Left position of this menu in pixels
126,      // 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
0,        // 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
,         // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,        // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,        // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,        // 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
0,        // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,        // 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
0,        // Scrollable Menu
,         // Miscellaneous Menu Properties

,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Our Vision","ourvision.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Company Profile","companyprofile.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Management Team","management.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Quality Systems","Quality.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Organisation Chart","organisationchart.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>HSE Services","hseservices.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Infrastructure","infrastructure.htm",,,1

])


addmenu(menu=[
"menu2",  // Menu Name - This is needed in order for this menu to be called
83,       // Menu Top - The Top position of this menu in pixels
400,      // Menu Left - The Left position of this menu in pixels
198,      // 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
0,        // 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
,         // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,        // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,        // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,        // 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
0,        // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,        // 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
0,        // Scrollable Menu
,         // Miscellaneous Menu Properties

//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Pre-Project Planning Services","core_offerings-planning&pre-project.htm",,,1
//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Front End Engineering Design","core_offerings-front_end_design.htm",,,1
//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Detailed Engineering","core_offerings-detailed_engineering.htm",,,1
//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Project Management Consultancy","core_offerings-project_management.htm",,,1
//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Procurement","core_offerings-procurement.htm",,,1
//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Construction","core_offerings-construction.htm",,,1
//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Delivering Models","delivery_models.htm",,,1

])

addmenu(menu=[
"menu3",  // Menu Name - This is needed in order for this menu to be called
83,       // Menu Top - The Top position of this menu in pixels
286,      // Menu Left - The Left position of this menu in pixels
180,      // 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
0,        // 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
,         // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,        // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,        // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,        // 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
0,        // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,        // 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
0,        // Scrollable Menu
,         // Miscellaneous Menu Properties
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Process Engineering","process.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Mechanical Engineering","mechanical.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Piping Engineering","piping.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Structural Engineering","structures.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Electrical Engineering","electrical.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Instrumentation Engineering","instrumentation.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Pipelines Engineering","pipelines.htm",,,1


])

addmenu(menu=[
"menu4",  // Menu Name - This is needed in order for this menu to be called
83,       // Menu Top - The Top position of this menu in pixels
377,      // Menu Left - The Left position of this menu in pixels
120,      // 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
0,        // 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
,         // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,        // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,        // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,        // 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
0,        // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,        // 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
0,        // Scrollable Menu
,         // Miscellaneous Menu Properties

,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Project Delivery","projectdelivery.htm",,,1
//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Project Management, Planning & Control","operations.htm",,,1



])

addmenu(menu=[
"menu5",  // Menu Name - This is needed in order for this menu to be called
83,       // Menu Top - The Top position of this menu in pixels
471,      // Menu Left - The Left position of this menu in pixels
190,      // 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
0,        // 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
,         // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,        // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,        // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,        // 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
0,        // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,        // 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
0,        // Scrollable Menu
,         // Miscellaneous Menu Properties
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Process/Wellhead Platforms","pdf/wellhead.pdf","target=blank",,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Revamp/Modification of Platforms","pdf/modification.pdf","target=blank",,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Sub-sea/Pipelines","pdf/pipeline.pdf","target=blank",,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Onshore Pipelines","pdf/onshore.pdf","target=blank",,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Downloads ","downloads.htm","target=blank",,1


])

//newsroom
addmenu(menu=[
"menu6",  // Menu Name - This is needed in order for this menu to be called
83,       // Menu Top - The Top position of this menu in pixels
572,      // 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
0,        // 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
,         // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,        // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,        // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,        // 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
0,        // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,        // 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
0,        // Scrollable Menu
,         // Miscellaneous Menu Properties
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Careers at LTV","careers.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Positions at LTV","positions.htm",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Apply Online","application.html",,,1
,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Training & Development","training.htm",,,1
//,"<img src='../images/share/spacer.gif' border=0 height=18 width=8 align='absmiddle'>Induction","induction.htm",,,1




])


dumpmenus();


// =================================================================================================
function CreatePopupWindow(windowname, url, width, height)
{
  // tests for the existence of the window.focus method. window.focus is how we bring the popup to the front every time, even though it was already open. Some older browsers do not have window.focus -- those browsers degrade gracefully by failing out of the function and going to the popup's URL in the current window. Note that there are no parentheses after window.focus because we are testing for the existence of the function, not running it.
  if (! window.focus)
    return true;
  // Line 6 declares the href variable, which holds the URL to which the popup should navigate. Lines 7 to 10 figure out what that URL is. In 7 we test if mylink is a string. If it is a string, in line 8 we assign to href the value of the string. If mylink is not a string then we assume it is an <A ...> or <AREA ...> object and in line 10 assign to href the value of the objects href property (which was set in the HREF attribute of the <A ...> or <AREA ...> tag). 
  var href, left, top; 
  // center popup window 
  left = (screen.width - width) / 2
  top = (screen.height - height) / 2
  if (typeof(url) == 'string')
     href=url;
  else
     href=url.href;
  window.open(url, windowname, 'width='+width+',left='+left+',top='+top+',height='+height+',resizable=yes,scrollbars=yes');
  //return false to cancel the click on the link. If we don't return false the link will navigate the current window to the URL of the popup
  //return false;
}
	
