var menu1=new Array()menu1[0]='<a href="https://apps.uwhealth.org/billpay/">Bill Pay</a>'menu1[1]='<a href="http://www.uwhealth.org/uwhospitalpatientguide/carepages/11992">CarePages</a>'menu1[2]='<a href="http://www.uwhealth.org/classes-support-groups/11913">Classes and Support Groups</a>'menu1[3]='<a href="https://apps.uwhealth.org/ecards">e-Cards</a>'menu1[4]='<a href="https://apps.uwhealth.org/eflowersandgifts/">e-Flowers and Gifts</a>'menu1[5]='<a href="http://www.uwhealth.org/news/enewsletters/11929">e-Newsletters</a>'menu1[6]='<a href="http://www.uwhealth.org/make-a-gift/12456">Make a Gift</a>'menu1[7]='<a href="http://www.uwhealth.org/uwhealthperscriptionrefill/13335">Prescription Refill</a>'var menu2=new Array()menu2[0]='<a href="http://cnn.com">CNN</a>'menu2[1]='<a href="http://msnbc.com">MSNBC</a>'menu2[2]='<a href="http://news.bbc.co.uk">BBC News</a>'var menuwidth='175px'var menubgcolor='#5F82A3'var disappeardelay=250var hidemenu_onclick="yes"var ie4=document.allvar ns6=document.getElementById&&!document.allif(ie4||ns6)document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onmouseover="clearhidemenu()" onmouseout="dynamichide(event)"></div>')function getposOffset(what,offsettype){var totaloffset=(offsettype=="left")?what.offsetLeft:what.offsetTop;var parentEl=what.offsetParent;while(parentEl!=null){totaloffset=(offsettype=="left")?totaloffset+parentEl.offsetLeft:totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}return totaloffset;}function showhide(obj,e,visible,hidden,menuwidth){if(ie4||ns6)dropmenuobj.style.left=dropmenuobj.style.top="-500px"if(menuwidth!=""){dropmenuobj.widthobj=dropmenuobj.styledropmenuobj.widthobj.width=menuwidth}if(e.type=="click"&&obj.visibility==hidden||e.type=="mouseover")obj.visibility=visibleelse if(e.type=="click")obj.visibility=hidden}function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}function clearbrowseredge(obj,whichedge){var edgeoffset=0if(whichedge=="rightedge"){var windowedge=ie4&&!window.opera?iecompattest().scrollLeft+iecompattest().clientWidth-15:window.pageXOffset+window.innerWidth-15dropmenuobj.contentmeasure=dropmenuobj.offsetWidthif(windowedge-dropmenuobj.x<dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth}else{var topedge=ie4&&!window.opera?iecompattest().scrollTop:window.pageYOffsetvar windowedge=ie4&&!window.opera?iecompattest().scrollTop+iecompattest().clientHeight-15:window.pageYOffset+window.innerHeight-18dropmenuobj.contentmeasure=dropmenuobj.offsetHeightif(windowedge-dropmenuobj.y<dropmenuobj.contentmeasure){edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeightif((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge}}return edgeoffset}function populatemenu(what){if(ie4||ns6)dropmenuobj.innerHTML=what.join("")}function dropdownmenu(obj,e,menucontents,menuwidth){if(window.event)event.cancelBubble=trueelse if(e.stopPropagation)e.stopPropagation()clearhidemenu()dropmenuobj=document.getElementById?document.getElementById("dropmenudiv"):dropmenudivpopulatemenu(menucontents)if(ie4||ns6){showhide(dropmenuobj.style,e,"visible","hidden",menuwidth)dropmenuobj.x=getposOffset(obj,"left")dropmenuobj.y=getposOffset(obj,"top")dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj,"rightedge")+"px"dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj,"bottomedge")+obj.offsetHeight+"px"}return clickreturnvalue()}function clickreturnvalue(){if(ie4||ns6)return falseelse return true}function contains_ns6(a,b){while(b.parentNode)if((b=b.parentNode)==a)return true;return false;}function dynamichide(e){if(ie4&&!dropmenuobj.contains(e.toElement))delayhidemenu()else if(ns6&&e.currentTarget!=e.relatedTarget&&!contains_ns6(e.currentTarget,e.relatedTarget))delayhidemenu()}function hidemenu(e){if(typeof dropmenuobj!="undefined"){if(ie4||ns6)dropmenuobj.style.visibility="hidden"}}function delayhidemenu(){if(ie4||ns6)delayhide=setTimeout("hidemenu()",disappeardelay)}function clearhidemenu(){if(typeof delayhide!="undefined")clearTimeout(delayhide)}if(hidemenu_onclick=="yes")document.onclick=hidemenufunction showServices(show,hide1,hide2){var highlight=show;document.getElementById(show).style.display='block';document.getElementById(hide1).style.display='none';document.getElementById(hide2).style.display='none';if(highlight=='adult'){document.getElementById('adultTab').style.backgroundImage="url(../images/bg_our_services_adult_tab_on.jpg)";document.getElementById('pedsTab').style.backgroundImage="url(../images/bg_our_services_peds_tab_off_adult.jpg)";document.getElementById('otherTab').style.backgroundImage="url(../images/bg_our_services_other_tab_off_adult.jpg)";}else if(highlight=='peds'){document.getElementById('adultTab').style.backgroundImage="url(../images/bg_our_services_adult_tab_off_peds.jpg)";document.getElementById('pedsTab').style.backgroundImage="url(../images/bg_our_services_peds_tab_on.jpg)";document.getElementById('otherTab').style.backgroundImage="url(../images/bg_our_services_other_tab_off_peds.jpg)";}else if(highlight=='other'){document.getElementById('adultTab').style.backgroundImage="url(../images/bg_our_services_adult_tab_off_other.jpg)";document.getElementById('pedsTab').style.backgroundImage="url(../images/bg_our_services_peds_tab_off_other.jpg)";document.getElementById('otherTab').style.backgroundImage="url(../images/bg_our_services_other_tab_on.jpg)";}}addthis_pub='uwhealth';addthis_logo='http://www.uwhealth.org/images/img_logo.gif';addthis_logo_background='FFFFFF';addthis_logo_color='FFFFFF';addthis_brand='UW Health';addthis_options='email, favorites, digg, delicious, facebook, google, twitter, technorati, more';addthis_offset_top='-19;'<!--var WM_acceptsCookies=false;if(document.cookie==''){document.cookie='WM_acceptsCookies=yes';if(document.cookie.indexOf('WM_acceptsCookies=yes')!=-1){WM_acceptsCookies=true;}}else{WM_acceptsCookies=true;}function WM_setCookie(name,value,hours,path,domain,secure){if(WM_acceptsCookies){var not_NN2=(navigator&&navigator.appName&&(navigator.appName=='Netscape')&&navigator.appVersion&&(parseInt(navigator.appVersion)==2))?false:true;if(hours&&not_NN2){if((typeof(hours)=='string')&&Date.parse(hours)){var numHours=hours;}else if(typeof(hours)=='number'){var numHours=(new Date((new Date()).getTime()+hours*3600000)).toGMTString();}}document.cookie=name+'='+escape(value)+((numHours)?(';expires='+numHours):'')+((path)?';path='+path:'')+((domain)?';domain='+domain:'')+((secure&&(secure==true))?'; secure':'');}}function WM_readCookie(name){if(document.cookie==''){return false;}else{var firstChar,lastChar;var theBigCookie=document.cookie;firstChar=theBigCookie.indexOf(name);var NN2Hack=firstChar+name.length;if((firstChar!=-1)&&(theBigCookie.charAt(NN2Hack)=='=')){firstChar+=name.length+1;lastChar=theBigCookie.indexOf(';',firstChar);if(lastChar==-1)lastChar=theBigCookie.length;return unescape(theBigCookie.substring(firstChar,lastChar));}else{return false;}}}function WM_killCookie(name,path,domain){var theValue=WM_readCookie(name);if(theValue){document.cookie=name+'='+theValue+'; expires=Fri, 13-Apr-1970 00:00:00 GMT'+((path)?';path='+path:'')+((domain)?';domain='+domain:'');}}var defaultFontSize=62;var globalFontSize;var globalFontSizeMax=110;var globalFontSizeMin=56;function setFont(){if(WM_acceptsCookies&&WM_readCookie('fontSize')&&!isNaN(WM_readCookie('fontSize'))){setFontSize(WM_readCookie('fontSize'));}else{setFontSize(defaultFontSize);}initSearch();}function changeFontSize(pct){globalFontSize=parseInt(globalFontSize)+parseInt(pct);setFontSize(globalFontSize);}function setFontSize(pct){if(pct>=globalFontSizeMin&&pct<=globalFontSizeMax){var bod=document.getElementsByTagName('body')[0];bod.style.fontSize=pct+"%";globalFontSize=pct;WM_killCookie("fontSize","/",".uwhealth.org");WM_setCookie("fontSize",pct,8760,"/",".uwhealth.org",false);}}function clearGoogle(){var q=document.getElementsByName("q")[0];if(q.value=="Search UW Health"&&q.className=="googlite"){q.className="goog";q.value="";}}function fillGoogle(){var q=document.getElementsByName("q")[0];q.className="googlite";q.value="Search UW Health";}function checkGoogle(){var q=document.getElementsByName("q")[0];if(q.value==""&&q.className=="goog"){fillGoogle();}else if(q.value=="Search UW Health"&&q.className=="googlite"){clearGoogle();}}function initSearch(){var q=document.getElementsByName("q")[0];q.onfocus=checkGoogle;q.onblur=checkGoogle;fillGoogle();}function clearFad(){var f=document.getElementsByName("condition")[0];if(f.value=="Enter Search Term"&&f.className=="quickFadLite"){f.className="quickFad";f.value="";}}function fillFad(){var f=document.getElementsByName("condition")[0];f.className="quickFadLite";f.value="Enter Search Term";}function checkFad(){var f=document.getElementsByName("condition")[0];if(f.value==""&&f.className=="quickFad"){fillFad();}else if(f.value=="Enter Search Term"&&f.className=="quickFadLite"){clearFad();}}function initSearchFad(){var f=document.getElementsByName("condition")[0];f.onfocus=checkFad;f.onblur=checkFad;fillFad();}var iframeids=["myframe0","myframe1","myframe2","myframe3","myframe4","myframe5","myframe6","myframe7","myframe8"]var iframehide="yes"var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]var FFextraHeight=parseFloat(getFFVersion)>=0.1?16:0function resizeCaller(){var dyniframe=new Array()for(i=0;i<iframeids.length;i++){if(document.getElementById)resizeIframe(iframeids[i])if((document.all||document.getElementById)&&iframehide=="no"){var tempobj=document.all?document.all[iframeids[i]]:document.getElementById(iframeids[i])tempobj.style.display="block"}}}function resizeIframe(frameid){var currentfr=document.getElementById(frameid)if(currentfr&&!window.opera){currentfr.style.display="block"if(currentfr.contentDocument&&currentfr.contentDocument.body.offsetHeight)currentfr.height=currentfr.contentDocument.body.offsetHeight+FFextraHeight;else if(currentfr.Document&&currentfr.Document.body.scrollHeight)currentfr.height=currentfr.Document.body.scrollHeight;if(currentfr.addEventListener)currentfr.addEventListener("load",readjustIframe,false)else if(currentfr.attachEvent){currentfr.detachEvent("onload",readjustIframe)currentfr.attachEvent("onload",readjustIframe)}}}function readjustIframe(loadevt){var crossevt=(window.event)?event:loadevtvar iframeroot=(crossevt.currentTarget)?crossevt.currentTarget:crossevt.srcElementif(iframeroot)resizeIframe(iframeroot.id);}function loadintoIframe(iframeid,url){if(document.getElementById)document.getElementById(iframeid).src=url}if(window.addEventListener)window.addEventListener("load",resizeCaller,false)else if(window.attachEvent)window.attachEvent("onload",resizeCaller)elsewindow.onload=resizeCallerfunction MyClass(){if(MyClass.counter===undefined){MyClass.counter=0;}else{MyClass.counter++;}}MyClass.resetCounter=function(){MyClass.counter=0;};function showIFrame2(displayType,id,style){var count=new MyClass();document.write("<iframe name=\"myframe"+MyClass.counter+"\" id=\"myframe"+MyClass.counter+"\" src=\"_feed_proxy.asp?displayType="+displayType+"&id="+id+"&style="+style+"\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\" vspace=\"0\" hspace=\"0\" width=\"258\"></iframe>")}var divNumber=1;var orderNumber=1;var myLayer="";function showIFrame(displayType,id,style){displayFeed(displayType,id);}function displayFeed(displayType,id){setUpDiv(divNumber);var url="http://dev.uwhealth.org/_fadfeed_proxy.asp?id="+id;ajaxObject("specialty"+divNumber,url,orderNumber);divNumber++;orderNumber++;}function ajaxObject(layer,url,order){myLayer=layer;var that=this;var updating=false;if(updating==true){return false;}updating=true;var AJAX=null;if(window.XMLHttpRequest){AJAX=new XMLHttpRequest();}else{AJAX=new ActiveXObject("Microsoft.XMLHTTP");}if(AJAX==null){alert("Your browser doesn't support AJAX.");return false}else{AJAX.onreadystatechange=function(){if(AJAX.readyState==4||AJAX.readyState=="complete"){populateFeed(AJAX,order);delete AJAX;updating=false;}}AJAX.open("GET",url,true);AJAX.send(null);}var LayerID=document.getElementById(layer);var urlCall=url;}function populateFeed(hRequest,order){var resp=hRequest.responseText;var xmlDoc;if(window.ActiveXObject){xmlDoc=new ActiveXObject("Microsoft.XMLDOM");xmlDoc.async="false";xmlDoc.loadXML(resp);}else{xmlDoc=document.implementation.createDocument("","",null);var parser=new DOMParser();var dom=parser.parseFromString(resp,"text/xml");xmlDoc=dom;}sizeVal=xmlDoc.getElementsByTagName('size');var size=sizeVal[0].firstChild.data;var provString="";for(var i=0;i<size;i++){provVal=xmlDoc.getElementsByTagName('name');var prov=provVal[i].firstChild.data;idVal=xmlDoc.getElementsByTagName('id');var id=idVal[i].firstChild.data;provString+="<div style='border-bottom:8px solid #ffffff'><a href='http://findadoctor.uwhealth.org/findadoctor/profile.jsp?provider="+id+"'>"+prov+"</a><br/></div>";}provString+="<br/>";myLayer="specialty"+order;document.getElementById(myLayer).innerHTML=provString;}function setUpDiv(divNumber){document.write('<div id="specialty'+divNumber+'"></div>');}function search(value){if((value=="Search UW Health"||value=="")||(value=="Enter Search Term"||value=="")){return false;}else{return true;}}function wayfindingpopup(subloc){pup=window.open('http://apps.uwhealth.org/locations/SubLocation.action?id='+subloc,'pup','width=500,height=500,directories=no,location=no,menubar=no,status=no,toolbar=no,resizable=yes,scrollbars=yes');if(window.focus){pup.focus();}return false;}