﻿cdd__codebase = "http://www.lewisvillemedical.com/images/superthemes/Bordeaux/" //absolute location of script files (the cbrowser_???.js files)

cdd__database = "http://www.lewisvillemedical.com/images/superthemes/Bordeaux/" //absolute location of data - settings files (for the Netscape 4 Settings file)

//Global Settings (applies to all menus)
cdd__activate_onclick = false			//Choose between click or mouse over menu functionality.
	cdd__showhide_delay = 100			//Defined in milliseconds
	cdd__url_target = "_self"			//Default target - use: _self, _top, _blank, _parent, (frame name)
	cdd__url_features = ""				//Sample: "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no"
	cdd__display_urls_in_status_bar = false
	

	//******************************************************************************************************
	//Web Menu Code (Warning: Do Not Alter!)
	cdd__notice='DHTML Web Menu, (c) 2004 OpenCube Inc., All Rights Reserved, Visit - www.opencube.com'
	cdd__default_statusbar_text = "";//"OpenCube - DHTML Web Menu - www.opencube.com"
	if (window.showHelp){b_type = "ie"; if (!window.attachEvent) b_type += "mac";}if (document.createElementNS) b_type = "dom";if (window.opera) b_type = "opera"; qmap1 = "\<\script language=\"JavaScript1.2\" src=\""; qmap2 = ".js\"\>\<\/script\>";
	if(document.layers){document.write(qmap1+cdd__database+"menu_ns4_styles"+qmap2);b_type = "ns4";}
	if (b_type){document.write(qmap1+cdd__codebase+"cbrowser_"+b_type+qmap2);document.close();}


var SiteSearchCommon_ie4 = (((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));
var SiteSearchCommon_ns3 = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )));


function executeSearch(form){
	var strValue = "";
	if (SiteSearchCommon_ie4 || SiteSearchCommon_ns3) {
		if (form.cmbSearch.options[form.cmbSearch.selectedIndex].value!='') {
			strValue = form.cmbSearch.options[form.cmbSearch.selectedIndex].value;
			switch (strValue){
				case "22012640-9f91-11d4-ad36-00508b6cbb35":  //HealthInformation
					document.frmHealthInfoSearch.search1.value = form.txtSearchFor.value;
					document.frmHealthInfoSearch.submit();
					break;
				case "22012641-9f91-11d4-ad36-00508b6cbb35": //LocalInformation
					document.frmLocalInfoSearch.qu.value = form.txtSearchFor.value;
					document.frmLocalInfoSearch.submit();
					break;
				case "22012642-9f91-11d4-ad36-00508b6cbb35":  //MedlineInformation
					document.frmMedlineInfoSearch.search1.value = form.txtSearchFor.value;
					document.frmMedlineInfoSearch.submit();
					break;
				case "22012643-9f91-11d4-ad36-00508b6cbb35": //Guid To Drugs
					break;
				case "22012644-9f91-11d4-ad36-00508b6cbb35": //MedicalDictionary
					document.frmMedicalDictSearch.search1.value = form.txtSearchFor.value;
					document.frmMedicalDictSearch.submit();
					break;
			}
		}
	}
}

var grcid; //this variable helps to support the print this page functionality. Do not remove! -CM

	function fnICUNavigate(strUrl,strTarget,strPopupUrl,strPopupName,strPopupFeatures)
	{
		//First check for the popup, if it exists then pop it..
		if(strPopupUrl != null && strPopupUrl != "")
		{
			window.open(strPopupUrl,strPopupName,strPopupFeatures);
		}
		//Now let's look for the 
		if( strUrl != null && strUrl != '')
		{
			var win = fnWindowObjectFromTargetName(strTarget);
			win.location = strUrl;
		}
	}

	function fnWindowObjectFromTargetName (strTarget)
	{
		switch (strTarget)
		{
			//case undefined:
			//case null : 
			case '':
			case '_self' : return window;
			case '_parent' : return window.parent;
			case '_top' : return window.top;
			case '_blank' : return window.open();
			default : return window.open('about:blank', strTarget, '', true);
		}
}

function PrintThisPage(logo) 
		{
			var html = "";
			
			if(navigator.appName.indexOf("Microsoft") > -1 && parseInt(navigator.appVersion.substring(0,1)) >= 4)
			{ 
				if(document.all["spanMainContent"])	
					html = document.all["spanMainContent"].innerHTML; 
			}
			else if(navigator.appName.indexOf("Netscape") > -1 && parseInt(navigator.appVersion.substring(0,1)) >= 5)
			{ 
				if(document.getElementById("spanMainContent"))
					html = document.getElementById("spanMainContent").innerHTML; 
			}

			if( html.length == 0 )
			{
				window.print();
				return;
			}

			var iHtml = 
				'<table border="0" width="100%">' +
				'<tr><td align="left"><a href="javascript:window.print();">Print</a></td>' +
				'<td align="right"><a href="javascript:window.close();">Close</a></td></tr>';
			if( logo.length > 0 )
			{
				iHtml += '<tr><td colspan="2" align="center"><img src="' + logo + '" /></td></tr>';
			}
			iHtml += '<tr><td colspan="2">' + html + '</td></tr>' +
				'</table>';

			var wnd = window.open("","PrintWindow","height=440,width=600,menubar=0,status=0,scrollbars=1,toolbar=0");

			var isready = false;
			while (isready == false)
			{
				if( wnd.document.body )
					isready = true;
			}

			var doc = wnd.document;
			doc.title = document.title;
			doc.open();
			doc.write('<HTML><BODY>' + iHtml + '</BODY></HTML>');
			doc.close();
}




var gImages=new Array;
var gIndex=0;
var DCS=new Object();
var WT=new Object();
var DCSext=new Object();

cdd__urltarget = GetOpenCubeUrlTarget("_self")


var gDomain="dcs.ehc.com";
var gDcsId="dcs4ai7t5gkevmfvbwza1hh3a_4h3j";
var gDcsId_GLOBAL="dcsst9aeb6aw53iynoz2r7ijk_6g7w"; //GLOBAL REPORTING

if (gDcsId==""){
	var gTagPath=gDomain;
}
else{
	var gTagPath=gDomain+"/"+gDcsId;
}

if (gDcsId_GLOBAL==""){ //GLOBAL REPORTING
	var gTagPath_GLOBAL=gDomain;
}
else{
	var gTagPath_GLOBAL=gDomain+"/"+gDcsId_GLOBAL;
}



function dcsVar(){
	var dCurrent=new Date();
	WT.tz=dCurrent.getTimezoneOffset()/60*-1;
	WT.bh=dCurrent.getHours();
	WT.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage;
	if (typeof(screen)=="object"){
		WT.cd=screen.colorDepth;
		WT.sr=screen.width+"x"+screen.height;
	}
	if (typeof(navigator.javaEnabled())=="boolean"){
		WT.jo=navigator.javaEnabled()?"Yes":"No";
	}
	WT.ti=document.title;
	WT.js="Yes";
	if (typeof(gVersion)!="undefined"){
		WT.jv=gVersion;
	}
//	WT.sp="@@SPLITVALUE@@";
	DCS.dcsuri=window.location.pathname;
	DCS.dcsqry=window.location.search;
	if ((window.document.referrer!="")&&(window.document.referrer!="-")){
		if (!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){
			DCS.dcsref=window.document.referrer;
		}
	}
	DCS.dcssip=window.location.hostname;
	DCS.dcsdat=dCurrent.getTime();
}

function A(N,V){
	return "&"+N+"="+escape(V);
}

function dcsCreateImage(dcsSrc){
	if (document.images){
		gImages[gIndex]=new Image;
		gImages[gIndex].src=dcsSrc;
		gIndex++;
	}
	else{
		document.write('<IMG BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+dcsSrc+'">');
	}
}

function dcsMeta(){
	var myDocumentElements;
	if (document.all){
		myDocumentElements=document.all.tags("meta");
	}
	else if (document.documentElement){
		myDocumentElements=document.getElementsByTagName("meta");
	}
	if (typeof(myDocumentElements)!="undefined"){
		for (var i=1;i<=myDocumentElements.length;i++){
			myMeta=myDocumentElements.item(i-1);
			if (myMeta.name){
				if (myMeta.name.indexOf('WT.')==0){
					WT[myMeta.name.substring(3)]=myMeta.content;
				}
				else if (myMeta.name.indexOf('DCSext.')==0){
					DCSext[myMeta.name.substring(7)]=myMeta.content;
				}
				else if (myMeta.name.indexOf('DCS.')==0){
					DCS[myMeta.name.substring(4)]=myMeta.content;
				}
			}
		}
	}
}

function dcsTag(TagImage){
	var P="http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+TagImage+"/dcs.gif?";
	for (N in DCS){
		if (DCS[N]) {
			P+=A(N,DCS[N]);
		}
	}
	for (N in WT){
		if (WT[N]) {
			P+=A("WT."+N,WT[N]);
		}
	}
	for (N in DCSext){
		if (DCSext[N]) {
			P+=A(N,DCSext[N]);
		}
	}
	if (P.length>2048&&navigator.userAgent.indexOf('MSIE')>=0){
		P=P.substring(0,2040)+"&WT.tu=1";
	}
	dcsCreateImage(P);
}

dcsVar();
dcsMeta();
dcsTag(gTagPath);
dcsTag(gTagPath_GLOBAL); //GLOBAL REPORTING


var grcid = "41ff69a4-df58-11d3-ad19-00508b91a0dd";

function CreateOpenCubeMenuItems0(menu){
	menu.item0="Women/Children";
	menu.url0="../../../CustomPage.asp?guidCustomContentID=5D0E2AE4-FB85-4B1F-9D2A-14806A05C377"	
	menu.item0_0="First Impressions";
	menu.url0_0="../../../CustomPage.asp?guidCustomContentID=0922DA58-1047-409C-9486-A369136E75C4"	
	menu.item0_1="Labor &amp; Delivery";
	menu.url0_1="../../../CustomPage.asp?guidCustomContentID=094D25CA-4CD4-4CB3-9C93-8218A236B478"	
	menu.item0_2="Postpartum";
	menu.url0_2="../../../CustomPage.asp?guidCustomContentID=9A418F5D-F1AD-4123-85B5-60885BFBF54A"	
	menu.item0_3="NICU";
	menu.url0_3="../../../CustomPage.asp?guidCustomContentID=D6999B32-2787-483E-A91A-88DB790965D6"	
	menu.item0_4="Nursery";
	menu.url0_4="../../../CustomPage.asp?guidCustomContentID=323DE8EC-70AF-489A-A6A0-24619705E2CC"	
	menu.item0_5="Pediatrics";
	menu.url0_5="../../../CustomPage.asp?guidCustomContentID=A8E2980F-DB1C-4C5B-93A8-A38120541818"	
	menu.item0_6="Breast Imaging";
	menu.url0_6="../../../CustomPage.asp?guidCustomContentID=F49B06EB-F6B7-40D1-96CB-9B8B48E620E7"	
	menu.item0_7="Obstetrics &amp; Gynecology";
	menu.url0_7="../../../CustomPage.asp?guidCustomContentID=B4B59B9B-D6D4-40B3-90EE-9FA4B9F1AE08"	
	menu.item0_8="Education";
	menu.url0_8="../../../CustomPage.asp?guidCustomContentID=BA5C4945-E9DA-4DB9-ACAE-12AA0F7F901B"	
	menu.item1="Colorectal";
	menu.url1="../../../CustomPage.asp?guidCustomContentID=15C4994C-1499-4211-8F08-7E725E999D0B"	
	menu.item1_0="Colon Cancer";
	menu.url1_0="../../../CustomPage.asp?guidCustomContentID=E5090313-3D3E-41CE-A0EE-41FA7865DF09"	
	menu.item1_1="Manometry";
	menu.url1_1="../../../CustomPage.asp?guidCustomContentID=E1DA3F96-7843-4269-8059-863D426821C0"	
	menu.item1_2="Endoscopy";
	menu.url1_2="../../../CustomPage.asp?guidCustomContentID=F185B282-0850-4B3C-842C-76B219776792"	
	menu.item1_3="Esophageal Testing";
	menu.url1_3="../../../CustomPage.asp?guidCustomContentID=61F9E993-05CB-4BD7-A970-C9C819A06DE4"	
	menu.item1_4="Resources";
	menu.url1_4="../../../CustomPage.asp?guidCustomContentID=5941FE74-62CD-47B6-88EB-328F13463896"	
	menu.item2="Endovascular";
	menu.url2="../../../CustomPage.asp?guidCustomContentID=70E128ED-4E35-4F41-9017-E1AC92DFD3AC"	
	menu.item2_0="Vascular Services";
	menu.url2_0="../../../CustomPage.asp?guidCustomContentID=14884A9C-8CB1-4326-AA83-D41DF921C24A"	
	menu.item2_1="New Endovascular Suite";
	menu.url2_1="../../../CustomPage.asp?guidCustomContentID=A93DF356-527C-4701-9D88-F37CFC0B04A4"	
	menu.item2_2="Resources";
	menu.url2_2="../../../CustomPage.asp?guidCustomContentID=AA740ED5-D0A4-41C3-BA68-4F487ADB3CCE"	
	menu.item3="Oncology";
	menu.url3="../../../CustomPage.asp?guidCustomContentID=33A29886-9F32-43F6-B767-149F3C789399"	
	menu.item3_0="Oncology Services";
	menu.url3_0="../../../CustomPage.asp?guidCustomContentID=99754C34-178D-40D8-9E99-840CEDD76683"	
	menu.item3_1="Education &amp; Support";
	menu.url3_1="../../../CustomPage.asp?guidCustomContentID=02C88F98-8828-48AF-B78A-10D41B732B2C"	
	menu.item3_2="Cancer Care Resources";
	menu.url3_2="../../../CustomPage.asp?guidCustomContentID=021B54DC-C45C-41A6-AD62-F13CCE18D65D"	
	menu.item4="Radiology";
	menu.url4="../../../CustomPage.asp?guidCustomContentID=88908CD4-0838-40CC-9AAF-DEC8C16926C5"	
	menu.item4_0="Imaging Services";
	menu.url4_0="../../../CustomPage.asp?guidCustomContentID=2C761453-518E-44C6-876D-83F7140B37E8"	
	menu.item4_1="PACS Archives";
	menu.url4_1="../../../CustomPage.asp?guidCustomContentID=7EAE5F6E-A510-43B0-A287-4112793BF1EB"	
	menu.item4_2="LightSpeed Technology";
	menu.url4_2="../../../CustomPage.asp?guidCustomContentID=B6DA5732-158A-41DC-8461-38C0A6B69EC8"	
	menu.item4_3="RadiologyInfo";
	menu.url4_3="http://www.radiologyinfo.org/"	
	menu.url_target4_3=GetOpenCubeUrlTarget("_blank")
    menu.item5="Orthopedics";
	menu.url5="../../../CustomPage.asp?guidCustomContentID=FAE29151-6607-4F70-88C6-B53D38BCB702"	
	menu.item5_0="Orthopedic Services";
	menu.url5_0="../../../CustomPage.asp?guidCustomContentID=EE878D45-3DC7-4D4B-8D1F-FC8EE1E51027"	
	menu.item5_1="Human Motion Institute";
	menu.url5_1="../../../CustomPage.asp?guidCustomContentID=9A975EFD-FDBA-497F-B279-868DCDC966CC"	
	menu.item5_2="Education &amp; Health";
	menu.url5_2="../../../CustomPage.asp?guidCustomContentID=AF1AD339-2806-4463-B929-B2A828CC9FF5"	
	menu.item5_3="Resources &amp; Community Partnerships";
	menu.url5_3="../../../CustomPage.asp?guidCustomContentID=82C24DA3-442D-4A9A-952F-B386C057FD2D"	
	menu.item6="Home";
	menu.url6="http://www.lewisvillemedical.com/"	
}

function GetOpenCubeUrlTarget(strTarget)
{
	if(strTarget == "_top")
		return "_parent";
	else if(strTarget == "_blank")
		return "_new";
	else
		return strTarget;
}



