﻿// +++++++++++++++++++

// drop-down menu code

// +++++++++++++++++++

var menus = new Array(

new Array(   //"our company" menu

new Array("Company Overview","com/com_1.html"),

new Array("Management Team","com/com_2.html"),

new Array("Ethics & Compliance","com/com_7_4.html"),

new Array("Environmental Stewardship","com/com_8.html"),

new Array("FAQs","com/com_3.html"),

new Array("Customers","com/com_4.html"),

new Array("Careers","com/com_6.html"),

new Array("Locations","com/com_7.html")

),

new Array(   //"services" menu

new Array("Clinical & Operational Services","ser/ser_1.html"),

new Array("Equipment Lifecycle Services","ser/ser_2.html"),

new Array("Labor Services","ser/ser_3.html"),

//new Array("Procurement Services","ser/ser_4.html"),

new Array("Strategic Sourcing Services","ser/ser_5.html")

),

new Array(   //"solutions" menu

new Array("IDNs & Large Stand-Alones","cus/cus_1.html"),

new Array("Medium Stand-Alones","cus/cus_2.html"),

new Array("Small Stand-Alones","cus/cus_3.html"),

new Array("Imaging Centers","cus/cus_4.html"),

new Array("Long Term Care Facilities","cus/cus_5.html"),

new Array("Physician Practices","cus/cus_6.html"),

new Array("Reference Labs","cus/cus_7.html"),

new Array("Surgery Centers","cus/cus_8.html")

),

new Array(   //"resources/tools" menu

new Array("Case Studies","res/res_1.html"),

new Array("White Papers","res/res_2.html"),

new Array("FAQs","res/res_3.html"),

new Array("Demos","res/res_4.html"),

new Array("Self-Assessments","res/res_5.html")  /*,

new Array("Newsletters","res/res_6.html")       */

),

new Array(   //"news & events" menu

new Array("Press Releases","new/new_1.html"),

new Array("Articles","new/new_8.html"),

new Array("Online Press Kit","new/new_2.html"),

//new Array("Broadlane Research","new/new_3.html"),

new Array("Case Studies","new/new_4.html"),

new Array("Industry Events","new/new_5.html"),

new Array("Investor Relations","new/new_6.html")  /*,

new Array("White Papers","new/new_7.html")        */

),

new Array(   //"contact us" menu

new Array("Locations","can/can_1.html"),

new Array("Suppliers","can/can_2.html"),

new Array("Careers","can/can_3.html")

)

);

var menuTop = 95; //top positioning for all menus

var menuLeft = new Array();

menuLeft[0] = 0;   //left positioning for "our company" menu

menuLeft[1] = 100; //left positioning for "services" menu

menuLeft[2] = 184;   //left positioning for "solutions" menu

menuLeft[3] = 274; //left positioning for "resources/tools" menu

menuLeft[4] = 400; //left positioning for "news & events" menu

menuLeft[5] = 509; //left positioning for "contact us" menu

//images for menu graphics and rollovers

menu0Img_0=new Image(); menu0Img_0.src=pathToRoot+"img/nav_com_0.gif";

menu0Img_1=new Image(); menu0Img_1.src=pathToRoot+"img/nav_com_1.gif";

menu1Img_0=new Image(); menu1Img_0.src=pathToRoot+"img/nav_srv_0.gif";

menu1Img_1=new Image(); menu1Img_1.src=pathToRoot+"img/nav_srv_1.gif";

menu2Img_0=new Image(); menu2Img_0.src=pathToRoot+"img/nav_sol_0.gif";

menu2Img_1=new Image(); menu2Img_1.src=pathToRoot+"img/nav_sol_1.gif";

menu3Img_0=new Image(); menu3Img_0.src=pathToRoot+"img/nav_rsc_0.gif";

menu3Img_1=new Image(); menu3Img_1.src=pathToRoot+"img/nav_rsc_1.gif";

menu4Img_0=new Image(); menu4Img_0.src=pathToRoot+"img/nav_nws_0.gif";

menu4Img_1=new Image(); menu4Img_1.src=pathToRoot+"img/nav_nws_1.gif";

menu5Img_0=new Image(); menu5Img_0.src=pathToRoot+"img/nav_con_0.gif";

menu5Img_1=new Image(); menu5Img_1.src=pathToRoot+"img/nav_con_1.gif";

var spacer = pathToRoot+ "img/c.gif";

var advanced=false;

if(document.getElementById){advanced=true;}

//!!!!!!!! - DO NOT ALTER ANY OF THE BELOW CODE - !!!!!!!!!

function showHide(id,state){if(state=="hidden"){imgState=0;}else{imgState=1;}imgID = id+"Img";imageSwitch(imgID, imgState);document.getElementById(id).style.visibility = state;}

function writeMenu(menu,WM){if(advanced){document.write("<div id=\""+menu+"\" class=\""+menu+"\" style=\"position:absolute;left:"+menuLeft[WM]+"px;top:"+ menuTop +"px;z-index:1;visibility:hidden;\" onMouseOver=\"showHide('"+menu+"','visible');\" onMouseOut=\"showHide('"+menu+"','hidden');\">");document.write("<img src=\""+ spacer+"\" width=\"1\" height=\"2\" border=\"0\"><br>");for(SB=0;SB<menus[WM].length;SB++){if(SB==menus[WM].length-1){thisClass="subB";}else{thisClass="subA";}document.write("<a href=\""+ pathToRoot + menus[WM][SB][1]+"\" class=\""+thisClass+"\" onMouseOver=\"showHide('"+menu+"','visible');\" onMouseOut=\"showHide('"+menu+"','hidden');\">" + menus[WM][SB][0] + "<BR></a>");}document.write("</div>");}}

function imageSwitch(imgID, state){var imgVar = imgID + "_" + state;document.images[imgID].src = eval(imgVar + ".src");}

for(WM=0;WM<menus.length;WM++){var menuNow = "menu"+WM;writeMenu(menuNow,WM);}



function ValidateFields(oForm)

{

	//oForm.SearchString.value = Trim(oForm.SearchString.value);

	//return( ValidateNotEmpty(oForm.SearchString, "Search"));

	return true;

}

