var msie=navigator.appVersion.match("MSIE")?!navigator.appVersion.match("MSIE 7.0"):false;String.prototype.trim=StringTrim;var lastcolor;var lastlen;function setScreenWidthForACure(){if(document.getElementById("screenwidth")){var A=document.getElementById("screenwidth");if(YAHOO.util.Dom.getViewportWidth()<=820){A.style.width="778px"}else{if(YAHOO.util.Dom.getViewportWidth()>=960){A.style.width="960px"}else{A.style.width=YAHOO.util.Dom.getViewportWidth()-3}}}if(document.getElementById("navigationwidget-marker")){}}function hideIt(G,F,C){var A="/images/icon_showall.gif";
xHide(G);C.style.backgroundColor="#ffffff";var E=node_parent(F);if(E){if(node_after(E).className=="clear"){node_after(E).style.backgroundColor="#ffffff"}var H=E.childNodes;for(var D=0;D<H.length;D++){if(H[D].nodeType==1&&H[D].getAttribute("href")!=null){H[D].style.background="#ffffff"}}}var B=F.childNodes;for(var D=0;D<B.length;D++){if((B[D].nodeType==1)&&(B[D].nodeName=="IMG")){B[D].src=A}}}function verifyfield(C){if(C.name=="to"||C.name=="from"){var B=C.value.split(/\,/);for(var A=0;A<B.length;A++){if(!validateemail(B[A].trim())){processerror(C,"Please check the format of your email");
return }}C.style.backgroundColor=""}}function processerror(A,B){$("error").style.background="#ffffff";$("error").style.width="100%";$("error").style.display="block";A.style.backgroundColor="#feead4";node_after(first_child($("error"))).innerHTML=B;window.setTimeout(switchoff,10000)}function switchoff(){Effect.SwitchOff($("error"))}function switchoff2(){Effect.SwitchOff($("div-emailthispage"))}function ie6LayerFix(B,F,D,A,E){if(msie){var C=document.getElementById("ieFix");C.className=E?"":"hidden";C.style.left=B+"px";
C.style.top=F+"px";C.style.width=D+"px";C.style.height=A+"px"}}function SaveLink(D,B,C,A){document.form2.title.value=D;document.form2.url.value=B;document.form2.contenttype.value=A;document.form2.action=C;document.form2.submit()}function SubmitPageForm(A,B){B.action=A;B.submit()}function closeNavWidgetMenus(){if(document.getElementById("menuimage-A")){hideIt(document.getElementById("menufull-A"),document.getElementById("menuimage-A"),document.getElementById("menu-A"))}if(document.getElementById("menuimage-B")){hideIt(document.getElementById("menufull-B"),document.getElementById("menuimage-B"),document.getElementById("menu-B"))
}if(document.getElementById("menuimage-C")){hideIt(document.getElementById("menufull-C"),document.getElementById("menuimage-C"),document.getElementById("menu-C"))}if(document.getElementById("menuimage-D")){hideIt(document.getElementById("menufull-D"),document.getElementById("menuimage-D"),document.getElementById("menu-D"))}}function xMenu1(P,B,L,F,H){var A=document.getElementById(P);var O=document.getElementById(B);var E=document.getElementById(L);var N=H;var I="#FFFFFF";var M="/images/icon_showless.gif";var C="/images/icon_showall.gif";
var K=xVisibility(E);closeNavWidgetMenus();if(K==""||K=="hidden"){xWidth(E,xWidth(O));xShow(E);O.style.backgroundColor=N;if(A.parentNode){if(node_after(A.parentNode).className=="clear"){node_after(A.parentNode).style.backgroundColor=N}var D=A.parentNode.childNodes;for(var G=0;G<D.length;G++){if(D[G].nodeType==1&&D[G].getAttribute("href")!=null){D[G].style.backgroundColor=N}}}var J=A.childNodes;for(var G=0;G<J.length;G++){if((J[G].nodeType==1)&&(J[G].nodeName=="IMG")){J[G].src=M}}}}function sw_form(B){var A=0;
if(B.symptom0!=null){if(B.symptom0.checked){B.action+="&addterm="+B.symptom0.value;A++}}if(B.symptom1!=null){if(B.symptom1.checked){B.action+="&addterm="+B.symptom1.value;A++}}if(B.symptom2!=null){if(B.symptom2.checked){B.action+="&addterm="+B.symptom2.value;A++}}if(A>0){location.href=B.action}else{alert("Please check one or more boxes, then press search.")}}function md_hp_form(A){if(A.q1.value.trim()==""||A.q1.value.trim()=="Enter a term"){A.action+="health"}else{A.action+=A.q1.value}return true}function dic_home_foc(A){A.value=""
}function StringTrim(){var A=this;A=A.replace(/^\s+/g,"");A=A.replace(/\s+$/g,"");return A}function morehealthmaps(A){if(YAHOO.util.Dom.getStyle("healthmap_full","display")=="none"){YAHOO.util.Dom.setStyle("healthmap_full","display","block");A.innerHTML="&laquo; less"}else{YAHOO.util.Dom.setStyle("healthmap_full","display","none");A.innerHTML="more &raquo;"}}function checklength(D,A,E){var B="#666640";var C="";if(D.value.length>=A){B="red";D.value=D.value.substring(0,A)}else{if(A-D.value.length<A*0.25){B="#666640"
}}if(D.value.length!=lastlen){C=A-D.value.length;document.getElementById(E).innerHTML=C}if(B!=lastcolor){lastcolor=B;document.getElementById(E).style.color=B}}function validateemail(B){var A=new RegExp("^[a-z0-9][a-z0-9_.-]*[a-z0-9_]@[a-z0-9][a-z0-9-]*[a-z0-9](\\.[a-z0-9][a-z0-9-]*[a-z0-9])+\\.?$","i");return A.test(B)}function validatescreenname(B){if(B.length<3){return false}var A=new RegExp("[<>&\\\\]","i");return !A.test(B)}function validatezip(B){var A=new RegExp("^[0-9]{5}$","i");return A.test(B)}function validfield(B){var A=new RegExp("[^ \t\n]");
return A.test(B)}function validname(B){var A=new RegExp("[<>&\\\\]","i");return !A.test(B)}function validphone(A){return(/\([0-9]{3}\)\s?[0-9]{3}\-[0-9]{4}/.test(A))}function is_all_ws(A){return !(/[^\t\n\r ]/.test(A.data))}function is_ignorable(A){return(A.nodeType==8)||((A.nodeType==3)&&is_all_ws(A))}function node_parent(B){var A=(B.parentElement!=undefined)?B.parentElement:B.parentNode;return A}function node_before(A){while((A=A.previousSibling)){if(!is_ignorable(A)){return A}}return null}function node_after(A){while((A=A.nextSibling)){if(!is_ignorable(A)){return A
}}return null}function last_child(B){var A=B.lastChild;while(A){if(!is_ignorable(A)){return A}A=A.previousSibling}return null}function first_child(B){var A=B.firstChild;while(A){if(!is_ignorable(A)){return A}A=A.nextSibling}return null}function data_of(A){var B=A.data;B=B.replace(/[\t\n\r ]+/g," ");if(B.charAt(0)==" "){B=B.substring(1,B.length)}if(B.charAt(B.length-1)==" "){B=B.substring(0,B.length-1)}return B}function kwbold(E,A){for(var D=0;D<E.length;D++){if(window.RegExp&&E[D].type=="text"){var G=A.replace("'","&#39;");
var C=G.split(/\s+/);for(x=0;x<C.length;x++){var F=new RegExp("\\b"+C[x]+"\\b","i");for(y=1;y<4;y++){if(y==1){strline=E[D].line1}else{if(y==2){strline=E[D].line2}else{strline=E[D].line3}}if(matchfound=F.exec(strline)){for(var B=0;B<matchfound.length;B++){if(y==1){google_ads[D].line1=strline.replace(matchfound[B],"<strong>"+matchfound[B]+"</strong>")}else{if(y==2){google_ads[D].line2=strline.replace(matchfound[B],"<strong>"+matchfound[B]+"</strong>")}else{google_ads[D].line3=strline.replace(matchfound[B],"<strong>"+matchfound[B]+"</strong>")
}}}}}}}}}function popUp(E,D,C,A){var B="";if(D=="news"){B="toolbar,menubar,scrollbars,resizable,location,status,titlebar,height="+A+",width="+C+",top=100,left=100"}else{if(D=="symptomsearchresult"){B="toolbar,menubar,scrollbars,resizable,location,status,titlebar,height="+A+",width="+C+",top=100,left=100"}}window.open(E,"newWin",B)}function tohtmlchars(A){var B=A;B=B.replace(/[\<]+/g,"&lt;");B=B.replace(/[\>]+/g,"&gt;");return B}function CreateBookmarkLink(){if(window.sidebar){alert("Please press CTRL + D on your keyboard to bookmark this page.")
}else{if(navigator.appVersion.indexOf("MSIE")>0){window.external.AddFavorite(location.href,document.title)}}}function processHrAnswer(C,A){try{var F=C.parentNode;F=F.parentNode;var E=F.childNodes;if(E==undefined||E==null){return }var H=null;document.getElementById(A).style.display="block";C.style.color="#CC6600";C.style.fontStyle="normal";C.style.cursor="default";C.onclick="";for(var D=0;D<E.length;D++){H=E[D].childNodes;for(var B=0;B<H.length;B++){if(H[B].nodeType==1&&H[B].onclick!=""&&H[B].onclick!=undefined){E[D].style.display="none"
}}}}catch(G){return }}function grabHrTable(A){}function dropHrTable(A){}HL_pasteHealthmap={pasteMap:function(C,B,A){this.healthmapContainerId="healthmap-container";this.healthmapHtml='<div class="hmap-close"><a href="javascript:HL_pasteHealthmap.closeMap();"><img src="/images/close_hmap.gif" alt="" border="0"/></a></div><div class="hmap-title"> '+B+' : HealthMap &reg;</div><div class="hmap-directions div-margin-medium">Click a box to search the web</div><div id="map_layer"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="750" HEIGHT="500" id="'+C+'"><PARAM NAME=movie VALUE="/corporate/test/bod_map.swf?imuid='+C+'"><PARAM NAME=quality VALUE=high><PARAM NAME=wmode VALUE=transparent><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="/corporate/test/bod_map.swf?imuid='+C+'" quality=high bgcolor=#FFFFFF WIDTH="750" HEIGHT="500"NAME="'+C+'" ALIGN="" TYPE="application/x-shockwave-flash" wmode="transparent"PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></div><div id="dfp-hmap-ad-lb2"></div><div class="div-margin-medium text-align-center">Copyright &copy; 2005-2008 Healthline Networks, Inc. All Rights Reserved Worldwide.</div><div class="hmap-close"><a href="javascript:HL_pasteHealthmap.closeMap();"><img src="/images/close_hmap.gif" alt="" border="0"/></a></div>';
this.healthmapContainerObj=document.getElementById(this.healthmapContainerId);if(this.healthmapContainerObj.hasChildNodes()){while(this.healthmapContainerObj.childNodes.length>=1){this.healthmapContainerObj.removeChild(this.healthmapContainerObj.firstChild)}}this.healthmapDiv=document.createElement("div");this.healthmapDiv.id="healthmap-div";this.healthmapDiv.className="healthmap-div";this.healthmapDiv.innerHTML=this.healthmapHtml;this.healthmapContainerObj.appendChild(this.healthmapDiv);getHmapAd(C)},closeMap:function(){if(this.healthmapContainerObj){this.healthmapContainerObj.removeChild(this.healthmapContainerObj.lastChild)
}}};var input_buttons={init:function(){inputDiv=document.getElementById("input-buttons");YAHOO.util.Event.addListener(inputDiv,"mouseover",input_buttons.hover);YAHOO.util.Event.addListener(inputDiv,"mouseout",input_buttons.clear)},hover:function(A){var B=YAHOO.util.Event.getTarget(A);while(B.id!=inputDiv.id){if(B.nodeName.toUpperCase()=="BUTTON"){YAHOO.util.Dom.addClass(B,"button-hover");break}else{B=B.parentNode}}},clear:function(A){var B=YAHOO.util.Event.getTarget(A);while(B.id!=inputDiv.id){if(B.nodeName.toUpperCase()=="BUTTON"){if(YAHOO.util.Dom.hasClass(B,"button-hover")){YAHOO.util.Dom.removeClass(B,"button-hover")
}break}else{B=B.parentNode}}}};function getHmapAd(B){var A=new YAHOO.util.YUILoader();A.base=yuiPath;A.allowRollup=true;A.require("connection");A.loadOptional=true;A.onSuccess=function(C){callback={success:function(D){document.getElementById("dfp-hmap-ad-lb2").innerHTML=D.responseText},failure:function(){}},YAHOO.util.Connect.asyncRequest("GET","/adajax?imuid="+B,callback,null)};A.insert()}emailPageLoad={init:function(C,B){pu=C;et=B;var A=new YAHOO.util.YUILoader();A.base=yuiPath;A.allowRollup=true;A.require("connection","dom","yahoo");
A.onSuccess=function(){var D=new YAHOO.util.YUILoader();D.base="/cjs/";D.addModule({name:"emailpage",type:"js",path:"emailpage.@global@.js"});D.require("emailpage");D.loadOptional=true;D.onSuccess=function(E){emailpage.open(pu,et)};D.insert()};A.insert()}};videoPopupLoad={init:function(C,B){pu=C;et=B;var A=new YAHOO.util.YUILoader();A.base="/cjs/";A.addModule({name:"videopopup",type:"js",path:"videopopup.@global@.js"});A.require("videopopup");A.loadOptional=true;A.onSuccess=function(D){videopopup.open(pu,et)
};A.insert()}};function initCommon(){var A=new YAHOO.util.YUILoader();A.base=yuiPath;A.allowRollup=true;A.require("event","dom","container","menu");A.loadOptional=true;A.onSuccess=function(B){YAHOO.util.Event.onContentReady("hlmenus",function(){var C=new YAHOO.widget.MenuBar("hlmenus",{autosubmenudisplay:true,hidedelay:750,lazyload:true});C.render()})};A.insert()}YAHOO.util.Event.onDOMReady(initCommon);