<!-- banner script for ST Luke East  //-->
<!--
// SqUp() function slides closed sidebar banners
function SqUp(banname) {
  var banObj = MM_findObj(banname);
  var banHeight = banObj.clientHeight;
  var ie4 = document.all;
  
  banObj.style.overflow = "hidden";

  if (banHeight > 3 && ie4) {
    banHeight=banHeight-3;
	banObj.style.height = banHeight;
	setTimeout('SqUp("'+banname+'")',2);
  }
  else {
	if (ie4) banObj.style.height=1;
	else banObj.style.height=0;
  	banObj.innerHTML=""; // erase contents
  	MM_showHideLayers(banname,'','hide');
  }
}  
//-->


<!--
// writes banner DIV - add logic for random banners inside
function WriteDIV() {
	var ran_num = Math.floor(Math.random()*15);

	//  SLE banner
	if (ran_num <3) {
		document.writeln("<div id='SLWpop' style='position:relative; width:150; height:229px; z-index:2; overflow: hidden;'>");
		document.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0' id='sb_SLHs_50th_anni2' width='150' height='210'>");
		document.writeln("<param name='movie' value='http://www.stlukehospitals.com/swf/sb_SLHs_50th_anni2.swf'>");
		document.writeln("<param name='bgcolor' value='#FFFFFF'><param name='quality' value='high'>");
		document.writeln("<embed type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' width='150' height='229' name='sb_SLHs_50th_anni2' src='http://www.stlukehospitals.com/swf/sb_SLHs_50th_anni2.swf' bgcolor='#FFFFFF' quality='high' swliveconnect='true' >");
		document.writeln("</embed></object></div>");
		
		// timed shutoff of banner
		shutoff = setTimeout("SqUp('SLWpop');", 90000);

		}
		else if (ran_num<5) {
		document.writeln("<div id='SLWpop' style='position:relative; width:150; height:295px; z-index:2; background-color: #FFFFFF; overflow: hidden;'>");
		document.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0' id='carePages04.swf' width='143' height='295' align='right'>");
		document.writeln("<param name='movie' value='http://www.stlukehospitals.com/swf/carePages04.swf'>");
		document.writeln("<param name='bgcolor' value='#FFFFFF'><param name='quality' value='high'>");
		document.writeln(" <embed type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' width='143' height='295' name='carePages04.swf' src='http://www.health-alliance.com/stlukeeast/swf/carePages04.swf' bgcolor='#FFFFFF' quality='high' swliveconnect='true'>");
		document.writeln("</embed></object></div>");
		
		// timed shutoff of banner
		shutoff = setTimeout("SqUp('SLWpop');", 120000);
		
		}

	else if (ran_num <= 7){
		//Childbirth calendar
		document.writeln("<div id='pop' style='position:relative; width:150; height:270px; z-index:1; overflow: hidden'>");
		document.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='150' height='270'>");
		document.writeln("<param name='movie' value='http://www.health-alliance.com/hospitals/swf/childBirth.swf'>");
        document.writeln("<param name='quality' value='high'>");
        document.writeln("<embed src='http://www.health-alliance.com/hospitals/swf/childBirth.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='150' height='270'></embed>");
        document.writeln("</object></div>");
		
		// timed shutoff of banner
		shutoff = setTimeout("SqUp('pop');", 120000);
		return;
	}

	else if (ran_num<=9) {
		//Skin Cancer banner
		document.writeln("<div id='pop' style='position:relative; width:150; height:320px; z-index:1; overflow: hidden'>");
		document.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='150' height='320'>");
		document.writeln("<param name='movie' value='http://www.health-alliance.com/cancer/swf/skinCancer.swf'>");
        document.writeln("<param name='quality' value='high'>");
        document.writeln("<embed src='http://www.health-alliance.com/cancer/swf/skinCancer.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='150' height='320'></embed>");
        document.writeln("</object></div>");
		
		// timed shutoff of banner
  		shutoff = setTimeout("SqUp('pop');", 90000);
		return;
	}

	else if (ran_num<=11) {
		//Depression Screening banner
		document.writeln("<div id='pop' style='position:relative; width:150; height:307px; z-index:1; overflow: hidden'>");
		document.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='150' height='307'><param name='background' value='#FFFFFF'><param name='movie' value='http://www.health-alliance.com/behavioral/Flash/depressionScreening_150.swf'><param name='quality' value='best'><embed src='http://www.health-alliance.com/behavioral/Flash/depressionScreening_150.swf' quality='best' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='150' height=307'></embed></object>");
		document.writeln("</div>");
		
		// timed shutoff of banner
  		shutoff = setTimeout("SqUp('pop');", 90000);
	}
	
		// billpay banner
	else {
		document.writeln("<div id='billPayBanner' style='position:absolute; width:151px; height:115px; z-index:2; left: 630px; top: 166px;'>");
  		document.writeln("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='150' height='264'>");
    	document.writeln("<param name='movie' value='http://www.stlukehospitals.com/swf/billPay_stLuke.swf'>");
		document.writeln("<param name='wmode' value='transparent'>");
    	document.writeln("<param name='quality' value='high'>");
    	document.writeln("<embed src='http://www.stlukehospitals.com/swf/billPay_stLuke.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='150' height='264' wmode='transparent'>");
  		document.writeln("</embed></object></div>");

		// timed shutoff of banner
		// shutoff = setTimeout("MM_showHideLayers('billPayBanner','','hide');", 90000);
		// shutoff is now being done from within flash
		return;
		}		

}


// run banner

WriteDIV();


// -->
