var showIntro;var showISI;var locations=new Hashtable();var waitDialog="0";var startVCR=0;var lastVCR=10;var maxVCR=10;var incrementVCR=10;var zipInput="";var toUrl="";var currentPage="";var numberOfContentToResize=0;var fontId=1;var font="small";var isHome=false;var ajaxLoaderImage=new Image;ajaxLoaderImage.src=mediaPath+"images/ajax-loader.gif";ajaxLoaderImage.id="ajaxLoaderImage";ajaxLoaderImage.width="100";ajaxLoaderImage.height="100";MM_preloadImages(mediaPath+"images/callout_copay_on.gif",mediaPath+"images/callout_questions_on.gif",mediaPath+"images/callout_support_on.gif",mediaPath+"images/callout_pregnancy_on.png",mediaPath+"images/top_border_left_0.gif",mediaPath+"images/top_border_left_1.gif",mediaPath+"images/top_border_left_2.gif",mediaPath+"images/top_border_right_0.gif",mediaPath+"images/top_border_right_1.gif",mediaPath+"images/top_border_right_2.gif",mediaPath+"images/nav/nav_0.gif",mediaPath+"images/nav/nav_0_1sub.gif",mediaPath+"images/nav/nav_0_2sub.gif",mediaPath+"images/nav/nav_0_3sub.gif",mediaPath+"images/nav/nav_0_4sub.gif",mediaPath+"images/nav/nav_0_5sub.gif",mediaPath+"images/nav/nav_0_bot.gif",mediaPath+"images/nav/nav_0_bot_2sub.gif",mediaPath+"images/nav/nav_0_bot_3sub.gif",mediaPath+"images/nav/nav_0_bot_4sub.gif",mediaPath+"images/nav/nav_0_bot_5sub.gif",mediaPath+"images/nav/nav_0_on.gif",mediaPath+"images/nav/nav_0_on_1sub.gif",mediaPath+"images/nav/nav_0_on_2sub.gif",mediaPath+"images/nav/nav_0_on_3sub.gif",mediaPath+"images/nav/nav_0_on_4sub.gif",mediaPath+"images/nav/nav_0_on_5sub.gif",mediaPath+"images/nav/nav_1.gif",mediaPath+"images/nav/nav_1_1.gif",mediaPath+"images/nav/nav_1_1_on.gif",mediaPath+"images/nav/nav_1_2.gif",mediaPath+"images/nav/nav_1_2_on.gif",mediaPath+"images/nav/nav_1_2sub.gif",mediaPath+"images/nav/nav_1_3.gif",mediaPath+"images/nav/nav_1_3_on.gif",mediaPath+"images/nav/nav_1_3sub.gif",mediaPath+"images/nav/nav_1_4.gif",mediaPath+"images/nav/nav_1_4_on.gif",mediaPath+"images/nav/nav_1_4sub.gif",mediaPath+"images/nav/nav_1_5.gif",mediaPath+"images/nav/nav_1_5_bot.gif",mediaPath+"images/nav/nav_1_5_on.gif",mediaPath+"images/nav/nav_1_5_on_bot.gif",mediaPath+"images/nav/nav_1_5sub.gif",mediaPath+"images/nav/nav_1_bot.gif",mediaPath+"images/nav/nav_1_bot_3sub.gif",mediaPath+"images/nav/nav_1_bot_4sub.gif",mediaPath+"images/nav/nav_1_bot_5sub.gif",mediaPath+"images/nav/nav_1_on.gif",mediaPath+"images/nav/nav_1_on_2sub.gif",mediaPath+"images/nav/nav_1_on_3sub.gif",mediaPath+"images/nav/nav_1_on_4sub.gif",mediaPath+"images/nav/nav_1_on_5sub.gif",mediaPath+"images/nav/nav_1_on_sub.gif",mediaPath+"images/nav/nav_2.gif",mediaPath+"images/nav/nav_2_1.gif",mediaPath+"images/nav/nav_2_1_on.gif",mediaPath+"images/nav/nav_2_1sub.gif",mediaPath+"images/nav/nav_2_2.gif",mediaPath+"images/nav/nav_2_2_on.gif",mediaPath+"images/nav/nav_2_3.gif",mediaPath+"images/nav/nav_2_3_on.gif",mediaPath+"images/nav/nav_2_3sub.gif",mediaPath+"images/nav/nav_2_4.gif",mediaPath+"images/nav/nav_2_4_on.gif",mediaPath+"images/nav/nav_2_4sub.gif",mediaPath+"images/nav/nav_2_5.gif",mediaPath+"images/nav/nav_2_5_bot.gif",mediaPath+"images/nav/nav_2_5_on.gif",mediaPath+"images/nav/nav_2_5_on_bot.gif",mediaPath+"images/nav/nav_2_5sub.gif",mediaPath+"images/nav/nav_2_bot.gif",mediaPath+"images/nav/nav_2_bot_1sub.gif",mediaPath+"images/nav/nav_2_bot_2sub.gif",mediaPath+"images/nav/nav_2_bot_4sub.gif",mediaPath+"images/nav/nav_2_bot_5sub.gif",mediaPath+"images/nav/nav_2_on.gif",mediaPath+"images/nav/nav_2_on_1sub.gif",mediaPath+"images/nav/nav_2_on_3sub.gif",mediaPath+"images/nav/nav_2_on_4sub.gif",mediaPath+"images/nav/nav_2_on_5sub.gif",mediaPath+"images/nav/nav_2_on_sub.gif",mediaPath+"images/nav/nav_3.gif",mediaPath+"images/nav/nav_3_1.gif",mediaPath+"images/nav/nav_3_1_on.gif",mediaPath+"images/nav/nav_3_1sub.gif",mediaPath+"images/nav/nav_3_2.gif",mediaPath+"images/nav/nav_3_2_on.gif",mediaPath+"images/nav/nav_3_2sub.gif",mediaPath+"images/nav/nav_3_3.gif",mediaPath+"images/nav/nav_3_3_bot.gif",mediaPath+"images/nav/nav_3_3_on.gif",mediaPath+"images/nav/nav_3_3_on_bot.gif",mediaPath+"images/nav/nav_3_4sub.gif",mediaPath+"images/nav/nav_3_5sub.gif",mediaPath+"images/nav/nav_3_bot.gif",mediaPath+"images/nav/nav_3_bot_1sub.gif",mediaPath+"images/nav/nav_3_bot_2sub.gif",mediaPath+"images/nav/nav_3_bot_5sub.gif",mediaPath+"images/nav/nav_3_on.gif",mediaPath+"images/nav/nav_3_on_1sub.gif",mediaPath+"images/nav/nav_3_on_2sub.gif",mediaPath+"images/nav/nav_3_on_2sub.gif",mediaPath+"images/nav/nav_3_on_4sub.gif",mediaPath+"images/nav/nav_3_on_5sub.gif",mediaPath+"images/nav/nav_3_sub.gif",mediaPath+"images/nav/nav_4.gif",mediaPath+"images/nav/nav_4_1.gif",mediaPath+"images/nav/nav_4_1_on.gif",mediaPath+"images/nav/nav_4_1sub.gif",mediaPath+"images/nav/nav_4_2.gif",mediaPath+"images/nav/nav_4_2.gif",mediaPath+"images/nav/nav_4_2_bot.gif",mediaPath+"images/nav/nav_4_2_on.gif",mediaPath+"images/nav/nav_4_2_on_bot.gif",mediaPath+"images/nav/nav_4_2sub.gif",mediaPath+"images/nav/nav_4_3sub.gif",mediaPath+"images/nav/nav_4_5sub.gif",mediaPath+"images/nav/nav_4_bot.gif",mediaPath+"images/nav/nav_4_bot_1sub.gif",mediaPath+"images/nav/nav_4_bot_2sub.gif",mediaPath+"images/nav/nav_4_bot_3sub.gif",mediaPath+"images/nav/nav_4_on.gif",mediaPath+"images/nav/nav_4_on_1sub.gif",mediaPath+"images/nav/nav_4_on_2sub.gif",mediaPath+"images/nav/nav_4_on_3sub.gif",mediaPath+"images/nav/nav_4_on_3sub.gif",mediaPath+"images/nav/nav_4_on_5sub.gif",mediaPath+"images/nav/nav_4_sub.gif",mediaPath+"images/nav/nav_4_top.gif",mediaPath+"images/nav/nav_4_top_5sub.gif",mediaPath+"images/nav/nav_5.gif",mediaPath+"images/nav/nav_5_1sub.gif",mediaPath+"images/nav/nav_5_2sub.gif",mediaPath+"images/nav/nav_5_3sub.gif",mediaPath+"images/nav/nav_5_4sub.gif",mediaPath+"images/nav/nav_5_on.gif",mediaPath+"images/nav/nav_5_on_1sub.gif",mediaPath+"images/nav/nav_5_on_2sub.gif",mediaPath+"images/nav/nav_5_on_3sub.gif",mediaPath+"images/nav/nav_5_on_4sub.gif",mediaPath+"images/search_go_btn.gif",mediaPath+"images/tracker_symptoms.gif",mediaPath+"images/tracker_triggers.gif",mediaPath+"images/tracker_reports.gif",mediaPath+"images/download_button_on.gif",mediaPath+"images/reset_button_on.gif",mediaPath+"images/submit_button_on.gif");function Info(){this.strSpecialty=null;this.strDeaNumber=null;this.strHospitalAffiliation=null;this.strEducationTraining=null;this.strKeyPositionsHeld=null}function Direction(){this.strAddress=null;this.strCity=null;this.strState=null;this.strZip=null}function Office(){this.strAddress=null;this.strCity=null;this.strState=null;this.strZip=null;this.strPhone1=null;this.strPhone2=null;this.strFax=null;this.strUrl=null;this.strEmail=null;this.strFax=null;this.blShowHours=false;this.officeSchedule=new OfficeSchedule()}function OfficeSchedule(){this.strSuOpen=null;this.strSuClose=null;this.strSuOpen1=null;this.strSuClose1=null;this.strMOpen=null;this.strMClose=null;this.strMOpen1=null;this.stTuOpen=null;this.strTuClose=null;this.stTuOpen1=null;this.strTuClose1=null;this.stWOpen=null;this.strWClose=null;this.stWOpen1=null;this.strWClose1=null;this.stThOpen=null;this.strThClose=null;this.stThOpen1=null;this.strThClose1=null;this.stFOpen=null;this.strFClose=null;this.stFOpen1=null;this.strFClose1=null;this.stSaOpen=null;this.strSaClose=null;this.stSaOpen1=null;this.strSaClose1=null}function Location(){this.id=null;this.action=null;this.city=null;this.state=null;this.zip=null;this.range=null;this.type=null;this.hcpid=null;this.miles=null;this.doctorFirstName=null;this.doctorLastName=null;this.praticeName=null;this.info_specialty=null;this.info_hospitalAffiliation=null;this.direction_address=null;this.direction_city=null;this.direction_state=null;this.direction_zip=null;this.office_address=null;this.office_city=null;this.office_state=null;this.office_zip=null;this.office_phone1=null;this.office_fax=null;this.office_url=null;this.office_email=null;this.languagesListString=null;this.poiName=null;this.poiAddress=null;this.poiPostalcode=null;this.zipCodeList=new Array();this.languagesList=new Array();this.info=new Info();this.direction=new Direction();this.office=new Office()}function closeAllPageSubnav(b){for(i=1;i<=b;i++){var a=document.getElementById("subNav"+i);var c=document.getElementById("pageNav"+i);if(a){a.style.display="none"}if(c){c.style.display="block"}}}function goToPage(a){window.location=a}function showSubnav(e,a){closeAllPageSubnav(6);var d=document.getElementById("pageNav"+e);if(d&&e<7){d.style.display="none"}var b=document.getElementById("subNav"+e);if(b){b.style.display="block"}var c=document.getElementById("link"+e+"_"+a);if(c){c.style.color="#8c0070";c.style.fontWeight="bold"}}function resetSendEmailForm(){document.getElementById("sendEmailForm").recipient_email.value="";document.getElementById("sendEmailForm").your_email.value="";document.getElementById("sendEmailForm").your_name.value="";document.getElementById("sendEmailForm").recipient_name.value=""}function submitSendEmailForm(g){currentPage=g;var b=true;var f=$("#recipient_email").val();var c=$("#your_email").val();var a=$("#recipient_name").val();var h=$("#your_name").val();if(a==null||a==""){$("#recipient_name_label").css("color","red");b=false}else{$("#recipient_name_label").css("color","#000000")}if(h==null||h==""){$("#your_name_label").css("color","red");b=false}else{$("#your_name_label").css("color","#000000")}if(!CheckEmail(f)){$("#recipient_email_label").css("color","red");b=false}else{$("#recipient_email_label").css("color","#000000")}if(!CheckEmail(c)){$("#your_email_label").css("color","red");b=false}else{$("#your_email_label").css("color","#000000")}if(!b){$("#emailErrorMessage").html("The fields highlighted below are incomplete or invalid. Please confirm your information and resubmit.");return}else{var e="type=SendEmail&r_email="+f+"&r_name="+a+"&y_email="+c+"&y_name="+h+"&currentPage="+currentPage;var d=basePath+"ajax/processor/";$.ajax({type:"post",url:d,data:e,dataType:"html",success:function(j){handlerSendEmail(j)},error:errSendEmail})}}function handlerSendEmail(a){doPageEvent("Tell afriend","event4=true");window.location="/taf_confirm.html"}function errSendEmail(responseText){var isOK=true;var emailObject=eval("("+responseText+")");if(emailObject.r_email_status!="ok"){$("#recipient_email_label").css("color","red");var isOK=false}if(emailObject.r_name_status!="ok"){$("#recipient_name_label").css("color","red");var isOK=false}if(emailObject.y_email_status!="ok"){$("#your_email_label").css("color","red");var isOK=false}if(emailObject.y_name_status!="ok"){$("#$your_name_label").css("color","red");var isOK=false}if(!isOK){$("#emailErrorMessage").html("Please enter the correct information.")}}function submitSearchForm(){var b=$("#q");s_query=b.value;if(s_query==null||s_query==""){var a=document.getElementById("searchLabel")}else{document.searchForm.submit()}}function ajaxPage(c){var b="";var a=basePath+c;$.ajax({type:"get",url:a,data:b,dataType:"html",success:function(d){handlerAjaxPage(d)},error:errAjaxPage})}function handlerAjaxPage(b){var a=document.getElementById("bodyContentSearch");if(b){a.innerHTML=b}}function errAjaxPage(b){var a=document.getElementById("bodyContentSearch");if(b){a.innerHTML=b}}function submitSearchFormRequest(c){var b="type=GoogleSearch&searchType=form&currentPage="+currentPage+"&q="+c;var a=basePath+"ajax/processor/";$.ajax({type:"post",url:a,data:b,dataType:"html",success:function(d){handlerSearch(d)},error:errSearch})}function handlerSearch(e,d){var c=document.getElementById("bodyContentSearch");var b;var a="0";if(e!="N/A"){if(c){c.innerHTML="<p>"+e+"</p>";b=document.getElementById("resultCount");if(b){a=b.innerHTML}}else{if(d!=1){setTimeout("handlerSearch(responseText,1)","1000")}}}else{if(isDevServer){document.getElementById("test-content").style.display="block"}}trackSearch(s_searchQuery,a);var f=document.getElementById("searchHeader")}function handlerSearch2(d){var f=document.getElementById("bodyContentSearch");var b=document.getElementById("searchBodyContent");var a=document.getElementById("leftCalloutContainer");var e=document.getElementById("searchBodyContentBottom");if(isIE6){a.style.display="none";f.style.marginTop="-30px";f.style.marginLeft="251px";f.style.width="451px";e.innerHTML='<img src="'+mediaPath+'images/spacer.gif" width="1" height="40" border="0"/>'}if(d!="N/A"){b.innerHTML=""+d}else{}if(isSafari){if(isSafari2){var c=document.getElementById("pageFooter");if(f){f.style.marginBottom="640px"}if(e){e.innerHTML='<img src="'+mediaPath+'images/spacer.gif" width="1" height="540" border="0"/>'}}else{if(s_searchQuery==""||s_searchQuery==null){f.style.marginBottom="640px"}}}}function errSearch(responseText){var contentBody=document.getElementById("bodyContentSearch");if(responseText!="N/A"){var searchResultObject=eval("("+responseText+")");if(searchResultObject.searchResult!="N/A"&&searchResultObject.searchResult!=""){contentBody.innerHTML+="<p>"+searchResultObject.searchResult+"</p>"}else{}}else{}if(isSafari){if(isSafari2){var pageFooter=document.getElementById("pageFooter");contentBody.style.marginBottom="640px";contentBody.innerHTML+='<p><img src="'+mediaPath+'images/spacer.gif" width="1" height="540" border="0"/></p>'}}if(isIE6){}}function printPage(){var a=document.getElementById("banner");if(isIE){if(isIE6){a.style.left="0px"}else{a.style.left="0px"}}doPageEvent("Print","event3=true");window.print()}function showPrintPage(){doPageEvent("Print","event3=true");window.print()}function resetFont(){var c=document.getElementById("font1");var b=document.getElementById("font2");var a=document.getElementById("font3");if(c){c.style.textDecoration="none"}if(b){b.style.textDecoration="none"}if(a){a.style.textDecoration="none"}}function changeFontSize(f){var k=document.body;var e=document.getElementById("header");var o=document.getElementById("banner");var Q=document.getElementById("searchForm");var a=document.getElementById("extraLink");var D=document.getElementById("extraLinkPage");var j=document.getElementById("extraLinkText");var c=document.getElementById("homeFlashTrackH1");var b=document.getElementById("homeFlashTrackH2");var U=document.getElementById("homeFlashTrackH3");var E=document.getElementById("homeFlashTrack");var z=document.getElementById("flash");var x=document.getElementById("calloutContainerLarge");var n=document.getElementById("pageNav_bottom1");var m=document.getElementById("pageNav_bottom2");var G=document.getElementById("pageNav2_0");var A=document.getElementById("pageNav3_0");var d=document.getElementById("pageNav71");var T=document.getElementById("link2_1");var S=document.getElementById("link2_3");var R=document.getElementById("link2_4");var P=document.getElementById("link3_2");var O=document.getElementById("link3_4");var N=document.getElementById("link3_5");var y=document.getElementById("font1");var w=document.getElementById("font2");var v=document.getElementById("font3");var u=document.getElementById("text_3");var t=document.getElementById("text_4");var s=document.getElementById("cercleLi");var K=document.getElementById("cercleLi2");var J=document.getElementById("cercleLi3");var H=document.getElementById("from_state");var q=document.getElementById("recipient_name");var p=document.getElementById("your_email");var B=document.getElementById("your_name");var L=document.getElementById("asthmaAllergicSubmitButton");var l=document.getElementById("asthmaAllergicResetButton");var I=document.getElementById("ajustDownloadDescription");var F=document.getElementById("coverage_reimbursement");var C=document.getElementById("patient_assistance");var M=document.getElementById("informational_resources");if(a||D){j.style.fontSize="11px";if(isIE){if(isIE7){if(a){a.style.left="400px"}if(D){D.style.left="400px"}}else{if(a){a.style.left="0px"}if(D){D.style.left="0px"}if(a){a.style.marginLeft="200px"}if(D){D.style.marginLeft="200px"}}}else{if(a){a.style.left="600px"}if(D){D.style.left="600px"}}}resetFont();if(o&&isIE6){o.style.marginTop="-3px"}if(x&&isIE6){x.style.top="0px"}if(n&&isIE){n.style.top="2px"}if(m&&isIE){m.style.top="2px"}if(G&&isIE){G.style.marginBottom="0px"}if(A&&isIE){A.style.top="-4px"}if(T){T.innerHTML="Allergic Asthma FAQ"}if(S){S.innerHTML="Is Your Asthma Controlled?"}if(R){R.innerHTML="Is Your Asthma Allergic?"}if(P){P.innerHTML="How XOLAIR Works"}if(O){O.innerHTML="Talking to Your Doctor<br /> About XOLAIR"}if(N){N.innerHTML="Getting Started on XOLAIR"}if(k){if(f==1){if(F){F.innerHTML="1. Coverage and reimbursement through a staff of";F.innerHTML+='<br /><span class="shiftRight_15">experts</span>'}if(C){C.innerHTML="2. Patient assistance for people who are uninsured or";C.innerHTML+='<br /><span class="shiftRight_15">financially challenged</span>'}if(M){M.innerHTML="3. Informational Resources, available to your doctor online or";M.innerHTML+='<br /><span class="shiftRight_15">by phone, that provide more detail about being able to access XOLAIR</span>'}if(isIE&&I){I.style.marginTop="-135px";I.style.height="100px"}if(L){L.style.left="221px"}if(l){l.style.left="305px"}resizeEmailForm(f);if(isSafari){if(H){H.style.position="relative";H.style.width="142px"}}if(s&&!isFirefox&&!isSafari){s.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 5px"}if(K&&!isFirefox&&!isSafari){K.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 5px"}if(J&&!isFirefox&&!isSafari){J.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 5px"}if(pageId="20-0-0"){resetSpecialistLocatorForm()}if(pageId=="3-2-0"){if(u){u.className="font_10"}if(t){t.className="font_10"}}if(isIE){if(isHome){if(isIE7){z.style.marginTop="0px"}else{z.style.marginTop="-583px"}}}k.style.fontSize="12px";if(Q){Q.style.left="55px"}if(a||D){j.style.fontSize="11px";if(isIE){if(isIE7){if(a){a.style.left="400px"}if(D){D.style.left="400px"}}else{if(a){a.style.left="400px"}if(D){D.style.left="400px"}if(a){a.style.marginLeft="200px"}if(D){D.style.marginLeft="200px"}}}else{if(a){a.style.left="600px"}if(D){D.style.left="600px"}}}resetFont();if(y){y.style.textDecoration="underline"}if(isIE){if(e&&isIE6){e.style.fontSize="13px"}else{e.style.fontSize="13px"}}else{if(e){e.style.fontSize="13px"}}}else{if(f==2){if(F){F.innerHTML="1. Coverage and reimbursement through a staff of";F.innerHTML+='<br /><span class="shiftRight_15">dedicated experts</span>'}if(C){C.innerHTML="2. Patient assistance for people who are uninsured or";C.innerHTML+='<br /><span class="shiftRight_15">financially challenged</span>'}if(M){M.innerHTML="3. Informational Resources, available to your doctor";M.innerHTML+='<br /><span class="shiftRight_15">online or by phone, that provide more detail about being able to access XOLAIR</span>'}if(L){L.style.left="263px"}if(l){l.style.left="345px"}resizeEmailForm(f);if(s&&!isFirefox&&!isSafari){s.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 10px"}if(K&&!isFirefox&&!isSafari){K.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 10px"}if(J&&!isFirefox&&!isSafari){J.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 10px"}if(pageId="20-0-0"){resizeSpecialistLocatorForm(f)}if(pageId=="3-2-0"){if(u){u.className=""}if(t){t.className=""}}if(o&&!isIE){o.style.marginTop="-20px"}Q.style.left="23px";if(a||D){j.style.fontSize="11px";if(isIE){if(isIE7){if(a){a.style.left="400px"}if(D){D.style.left="400px"}}else{if(a){a.style.left="400px"}if(D){D.style.left="400px"}if(a){a.style.marginLeft="200px"}if(D){D.style.marginLeft="200px"}}}else{if(a){a.style.left="600px"}if(D){D.style.left="600px"}}}resetFont();if(w){w.style.textDecoration="underline"}if(S){S.innerHTML="Is Your Asthma <br />Controlled?"}if(R){R.innerHTML="Is Your Asthma <br />Allergic?"}if(N){N.innerHTML="Getting Started  <br />on XOLAIR"}k.style.fontSize="15px";if(isIE){if(isHome){if(isIE7){z.style.marginTop="0px"}else{z.style.marginTop="-583px"}}if(n){n.style.top="-3px"}if(m){m.style.top="-3px"}if(e&&isIE6){e.style.fontSize="15px"}else{e.style.fontSize="15px"}}else{if(e){e.style.fontSize="15px"}}}else{if(f==3){if(F){F.innerHTML="1. Coverage and reimbursement through a";F.innerHTML+='<br /><span class="shiftRight2_20">staff of dedicated experts</span>'}if(C){C.innerHTML="2. Patient assistance for people who are";C.innerHTML+='<br /><span class="shiftRight2_20">uninsured or financially challenged</span>'}if(M){M.innerHTML="3. Informational Resources, available to";M.innerHTML+='<br /><span class="shiftRight2_20">your doctor online or by phone, that provide more detail about being able to access XOLAIR</span>'}if(isIE&&I){I.style.marginTop="-160px";I.style.height="100px"}resizeEmailForm(f);if(L){L.style.left="323px"}if(l){l.style.left="405px"}if(s&&!isFirefox&&!isSafari){s.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 10px"}if(K&&!isFirefox&&!isSafari){K.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 10px"}if(J&&!isFirefox&&!isSafari){J.style.background="transparent url("+basePath+"images/cercleBullet.jpg) no-repeat 0px 10px"}if(pageId="20-0-0"){resizeSpecialistLocatorForm(f)}if(u){u.className=""}if(t){t.className=""}if(o&&!isIE){o.style.marginTop="-24px"}if(!isIE){if(d){d.style.top="-37px"}}if(isIE){Q.style.left="7px";if(isHome){if(isIE7){z.style.marginTop="0px"}else{z.style.marginTop="-583px"}}}else{if(Q){Q.style.left="23px"}if(isSafari&&isHome){}}if(a){if(isIE){a.style.left="200px"}else{a.style.left="400px"}}if(a){j.style.fontSize="11px";if(isIE){if(isIE7){if(a){a.style.left="400px"}if(D){D.style.left="400px"}}else{if(a){a.style.left="400px"}if(D){D.style.left="400px"}if(a){a.style.marginLeft="200px"}if(D){D.style.marginLeft="200px"}}}else{if(a){a.style.left="600px"}if(D){D.style.left="600px"}}}resetFont();if(v){v.style.textDecoration="underline"}if(o&&isIE6){o.style.marginTop="-5px"}if(x&&isIE6){x.style.top="-2px"}if(T){T.innerHTML="Allergic Asthma <br />FAQ"}if(S){S.innerHTML="Is Your Asthma <br />Controlled?"}if(R){R.innerHTML="Is Your Asthma <br />Allergic?"}if(P){P.innerHTML="How XOLAIR  <br />Works"}if(O){O.innerHTML="Talking to Your <br />Doctor About <br />XOLAIR"}if(N){N.innerHTML="Getting Started  <br />on XOLAIR"}k.style.fontSize="18px";if(isIE){if(e&&isIE6){e.style.fontSize="16px"}else{e.style.fontSize="16px"}if(n){n.style.top="-3px"}if(m){m.style.top="-3px"}if(G){G.style.marginBottom="-1px"}if(A){A.style.top="-3px"}}else{if(e){e.style.fontSize="16px"}}}}}}if(isIE){var r=document.getElementById("#headerTextHCP");if(r){r.style.position="relative";r.style.top="-3px"}if(isHome){if(f==1){e.style.marginTop="-15px"}if(f==2){e.style.marginTop="-17px"}if(f==3){e.style.marginTop="-21px"}}}set_cookie("fontId",f);for(i=1;i<=numberOfContentToResize;i++){var h=$("texssst_"+i);if(h){var g=h.className;g=g.replace("_font2","");g=g.replace("_font3","");if(f>1){g=g+"_font"+f}h.className=g}}}function resizeEmailForm(d){var a=document.getElementById("recipient_name");var c=document.getElementById("your_email");var f=document.getElementById("your_name");var b=document.getElementById("emailResetButton");var e=document.getElementById("emailSubmitButton");if(d==1){if(a){a.style.position="relative";a.style.left="6px"}if(c){c.style.position="relative";c.style.left="45px"}if(f){f.style.position="relative";f.style.left="51px"}if(b){b.style.position="relative";b.style.left="221px"}if(e){e.style.position="relative";e.style.left="143px"}}if(d==2){if(a){a.style.position="relative";a.style.left="8px"}if(c){c.style.position="relative";c.style.left="57px"}if(f){f.style.position="relative";f.style.left="65px"}if(b){b.style.position="relative";b.style.left="255px"}if(e){e.style.position="relative";e.style.left="177px"}}if(d==3){if(a){a.style.position="relative";a.style.left="10px"}if(c){c.style.position="relative";c.style.left="70px"}if(f){f.style.position="relative";f.style.left="80px"}if(b){b.style.position="relative";b.style.left="293px"}if(e){e.style.position="relative";e.style.left="213px"}}}function resizeSpecialistLocatorForm(c){var p=document.getElementById("city");var e=document.getElementById("state");var h=document.getElementById("speciality_left");var d=document.getElementById("distance");var r=document.getElementById("zip");var n=document.getElementById("speciality_right");var l=document.getElementById("locator_search_button1");var k=document.getElementById("locator_search_button2");var g=document.getElementById("from_address");var f=document.getElementById("from_state");var a=document.getElementById("from_city");var j=document.getElementById("from_zip");var s=document.getElementById("to_address");var m=document.getElementById("to_city");var o=document.getElementById("to_state");var q=document.getElementById("to_zip");var b=document.getElementById("endLocation_label");if(c==3){if(l){l.style.position="relative";l.style.left="-10px"}if(k){k.style.position="relative";k.style.left="-10px"}if(isSafari){if(f){f.style.position="relative";f.style.width="142px"}}}if(p){p.style.width="135px";p.style.position="relative";if(c==3){p.style.left="-10px"}}if(e){e.style.width="139px";e.style.position="relative";if(c==3){e.style.left="-10px"}}if(h){h.style.width="139px";h.style.position="relative";if(c==3){h.style.left="-10px"}}if(d){d.style.width="139px";d.style.position="relative";if(c==3){d.style.left="-10px"}}if(r){r.style.width="135px";r.style.position="relative";if(c==3){r.style.left="-10px"}}if(n){n.style.width="139px";n.style.position="relative";if(c==3){n.style.left="-10px"}}}function resetSpecialistLocatorForm(){var g=document.getElementById("city");var e=document.getElementById("state");var d=document.getElementById("speciality_left");var h=document.getElementById("distance");var b=document.getElementById("zip");var a=document.getElementById("speciality_right");var f=document.getElementById("locator_search_button1");var c=document.getElementById("locator_search_button2");if(f){f.style.position="relative";f.style.left="0px"}if(c){c.style.position="relative";c.style.left="0px"}if(g){g.style.width="165px";g.style.position="relative";g.style.left="0px"}if(e){e.style.width="170px";e.style.position="relative";e.style.left="0px"}if(d){d.style.width="170px";d.style.position="relative";d.style.left="0px"}if(h){h.style.width="170px";h.style.position="relative";h.style.left="0px"}if(b){b.style.width="165px";b.style.position="relative";b.style.left="0px"}if(a){a.style.width="170px";a.style.position="relative";a.style.left="0px"}}function resetAsthmaControlledForm(){}function resetRadioButtonValue(b){if(!b){return""}var c=b.length;if(c==undefined){if(b.checked){return b.value}else{return""}}for(var a=0;a<c;a++){if(b[a].checked){return b[a].value}}return""}function getCheckedValue(b){if(!b){return""}var c=b.length;if(c==undefined){if(b.checked){return b.value}else{return""}}for(var a=0;a<c;a++){if(b[a].checked){return b[a].value}}return""}function checkSelectRadio(b){if(!b){return""}var c=b.length;var d=false;for(var a=0;a<c;a++){if(b[a].checked){d=true;break}}return d}function submitAsthmaControlledForm(){window.scroll(0,270);var b=document.getElementById("bodyContent");var a=document.getElementById("question1");var K=document.getElementById("question2");var J=document.getElementById("question3");var I=document.getElementById("question4");var G=document.getElementById("question5");var A=document.getElementById("question1Text");var u=document.getElementById("question2Text");var e=document.getElementById("question3Text");var c=document.getElementById("question4Text");var x=document.getElementById("question5Text");var p=document.getElementById("title");var v=document.getElementById("title2");var m=document.getElementById("text_1");var l=document.getElementById("text_2");var k=document.getElementById("text_3");var j=document.getElementById("text_4");var h=document.getElementById("text_5");var L=document.getElementById("asthmaControlledForm");var d=document.getElementById("submit-button-off");var w=document.getElementById("reset-button-off");var t=true;var r=true;var q=true;var o=true;var n=true;if(!checkSelectRadio(L.time_asthma)){t=false;if(h){h.innerHTML="Take the Asthma Control Test<sup>&trade;</sup> (ACT<sup>&trade;</sup>)";h.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(A){A.style.color="red"}}else{if(A){A.style.color="#000000"}}if(!checkSelectRadio(L.shortness_breath)){r=false;if(h){h.innerHTML="Take the Asthma Control Test<sup>&trade;</sup> (ACT<sup>&trade;</sup>)";h.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(u){u.style.color="red"}}else{if(u){u.style.color="#000000"}}if(!checkSelectRadio(L.asthma_symptoms)){q=false;if(h){h.innerHTML="Take the Asthma Control Test<sup>&trade;</sup> (ACT<sup>&trade;</sup>)";h.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(e){e.style.color="red"}}else{if(e){e.style.color="#000000"}}if(!checkSelectRadio(L.medication)){o=false;if(h){h.innerHTML="Take the Asthma Control Test<sup>&trade;</sup> (ACT<sup>&trade;</sup>)";h.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(c){c.style.color="red"}}else{if(c){c.style.color="#000000"}}if(!checkSelectRadio(L.rate_your_asthma)){n=false;if(h){h.innerHTML="Take the Asthma Control Test<sup>&trade;</sup> (ACT<sup>&trade;</sup>)";h.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(x){x.style.color="red"}}else{if(x){x.style.color="#000000"}}if(!t||!r||!q||!o||!n){return}var H=document.getElementById("answer1");var F=document.getElementById("answer2");var E=document.getElementById("answer3");var D=document.getElementById("answer4");var C=document.getElementById("answer5");var y="";var f="";var z="";var g="";var B="";var s=document.getElementById("ulList1");if(m){m.style.display="none"}if(s){s.style.display="none"}if(l){l.style.display="none"}if(k){k.style.display="none"}if(j){j.style.display="none"}if(h){h.style.display="none"}if(a){a.style.display="none";H.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(L.time_asthma)+"</font></b>";y=getCheckedValue(L.time_asthma)}if(K){K.style.display="none";F.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(L.shortness_breath)+"</font></b>";f=getCheckedValue(L.shortness_breath)}if(J){J.style.display="none";E.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(L.asthma_symptoms)+"</font></b>";z=getCheckedValue(L.asthma_symptoms)}if(I){I.style.display="none";D.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(L.medication)+"</font></b>";g=getCheckedValue(L.medication)}if(G){G.style.display="none";C.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(L.rate_your_asthma)+"</font></b>";B=getCheckedValue(L.rate_your_asthma)}if(y=="Some of the time"||y=="All of the time"||f=="3 to 6 times a week"||f=="Once a day"||f=="More than once a day"){p.innerHTML='<span class="subhead">ACT<sup>&trade;</sup> survey results</span>';p.innerHTML+='<br /><br /><b>Your answers to the survey indicate that your asthma may not be as well controlled as it could be. You may wish to <a href="javascript:void(showPrintPage())" class="bodytextlink">print this page</a> and discuss any questions you have with your doctor.</b>'}else{p.innerHTML='<br /><br /><span class="subhead">ACT<sup>&trade;</sup> survey results</span>';p.innerHTML+='<br /><br /><b>Your answers to the survey indicate that your asthma seems to be controlled. You may wish to <a href="javascript:void(showPrintPage())" class="bodytextlink">print this page</a> and discuss any questions you have with your doctor.</b>'}if(v){v.style.display="block"}if(isIE){if(b){b.style.marginTop="-40px"}}if(d){d.style.display="none"}if(w){w.style.position="relative";w.style.left="120px"}}function resetAsthmaAllergicForm(){}function submitAsthmaAllergicForm(){window.scroll(0,270);var D=document.getElementById("asthmaAllergicForm");var a=document.getElementById("submit-button-off");var C=document.getElementById("IgE_level_form");var F=document.getElementById("title");var l=document.getElementById("title2");var m=document.getElementById("question1");var j=document.getElementById("question2");var h=document.getElementById("question3");var g=document.getElementById("question4");var f=document.getElementById("question5");var z=document.getElementById("IgE_level");var y=document.getElementById("question1Text");var e=document.getElementById("question2Text");var B=document.getElementById("question3Text");var u=document.getElementById("question4Text");var c=document.getElementById("question5Text");var w=true;var t=true;var r=true;var p=true;var n=true;if(!checkSelectRadio(D.symptoms)){w=false;if(F){F.innerHTML="You may find that you are experiencing asthma symptoms, but you're not sure if they are causedaused by allergens in the air. Take this helpful quiz to find out if you have allergic asthma.";F.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(y){y.style.color="red"}}else{if(y){y.style.color="#000000"}}if(!checkSelectRadio(D.other_symptoms)){t=false;if(F){F.innerHTML="You may find that you are experiencing asthma symptoms, but you're not sure if they are causedaused by allergens in the air. Take this helpful quiz to find out if you have allergic asthma.";F.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(e){e.style.color="red"}}else{if(e){e.style.color="#000000"}}if(!checkSelectRadio(D.asthma_attacks)){r=false;if(F){F.innerHTML="You may find that you are experiencing asthma symptoms, but you're not sure if they are caused by allergens in the air. Take this helpful quiz to find out if you have allergic asthma.";F.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(B){B.style.color="red"}}else{if(B){B.style.color="#000000"}}if(!checkSelectRadio(D.skin_blood_test)){p=false;if(F){F.innerHTML="You may find that you are experiencing asthma symptoms, but you're not sure if they are caused by allergens in the air. Take this helpful quiz to find out if you have allergic asthma.";F.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(u){u.style.color="red"}}else{if(u){u.style.color="#000000"}}if(!checkSelectRadio(D.ige)){n=false;if(F){F.innerHTML="You may find that you are experiencing asthma symptoms, but you're not sure if they are caused by allergens in the air. Take this helpful quiz to find out if you have allergic asthma.";F.innerHTML+='<br /><font color="red">Please answer each of the test questions.</font>'}if(c){c.style.color="red"}}else{if(c){c.style.color="#000000"}}if(!w||!t||!r||!p||!n){return}var x=document.getElementById("answer1");var v=document.getElementById("answer2");var s=document.getElementById("answer3");var q=document.getElementById("answer4");var o=document.getElementById("answer5");var A="";var E="";var b="";var d="";var k="";if(m){m.style.display="none";x.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(D.symptoms)+"</font></b>";A=getCheckedValue(D.symptoms)}if(j){j.style.display="none";v.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(D.other_symptoms)+"</font></b>";E=getCheckedValue(D.other_symptoms)}if(h){h.style.display="none";s.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(D.asthma_attacks)+"</font></b>";b=getCheckedValue(D.asthma_attacks)}if(g){g.style.display="none";q.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(D.skin_blood_test)+"</font></b>";d=getCheckedValue(D.skin_blood_test)}if(f){f.style.display="none";o.innerHTML='<b>Your answer is : <font color="red">'+getCheckedValue(D.ige)+"</font></b>";if(D.IgE_level.value!=null&&D.IgE_level.value!=""){o.innerHTML+='<b><font color="red">, your IgE level is '+D.IgE_level.value+"</font></b>"}k=getCheckedValue(D.ige)}if(A=="Yes"||E=="Yes"||b=="Yes"){F.innerHTML='<br /><br /><span class="subhead">Quiz results</span>';F.innerHTML+='<br /><br /><b>Your responses to the quiz indicate that your asthma may be allergic. You may wish to <a href="javascript:void(showPrintPage())" class="bodytextlink">print this page</a> and discuss any questions you have with your doctor.</b>'}else{F.innerHTML='<br /><br /><span class="subhead">Quiz results</span>';F.innerHTML+='<br /><br /><b>Your responses to the quiz indicate that your asthma does not seem to be allergic. You may wish to <a href="javascript:void(printContent())" class="bodytextlink">print this page</a> and discuss any questions you have with your doctor.</b>'}if(l){l.style.display="block"}if(a){a.style.display="none"}if(C){C.style.display="none"}}function submitGoogleSearchLink(d,b){var c=document.getElementById("bodyContentSearch");var e="type=GoogleSearch&searchType="+b+"&currentPage="+currentPage;e+="&"+d;var a=basePath+"ajax/processor/";$.ajax({type:"post",url:a,data:e,dataType:"html",success:function(f){handlerSearch(f)},error:errSearch})}function setNavLink(a){}function submitRefinedSearch(){goToPage("specialist_locator_search.html")}function showResultList(){var b=$("#accept_term_form");var g=$("#location_terms");var d=$("#locationResults");var j=$("#accept_terms_label");var a=$("#locationResults_list");var c=$("#location_terms_print");var k=$("#locationResults_terms_print");var f=$("#resultsTitle");var e=$("#acceptTermsError");var h=$("#accept_terms:checked").val()!==undefined;if(h){window.scroll(0,70);g.css("display","none");e.hide();if(d){d.css("display","block");$("#specialist-header").hide();$("#locator-header").show();if(c){c.css("display","block")}if(k){k.css("display","block")}}}else{window.scroll(0,70);j.css("color","red");e.show()}}function hideResultList(){var e=$("#accept_term_form");var c=$("#location_terms");var b=$("#locationResults");var f=$("#location_terms_print");var d=$("#locationResults_terms_print");hideSearchForm();if(b){if(!isBackResults){b.css("display","none");$("#specialist-header").show();$("#locator-header").hide()}}if(c){if(!isBackResults){c.css("display","block");if(f){f.css("display","none")}if(d){d.css("display","none")}var a=$("#maxResultTerms");a.html(maxVCR)}}}function submitNewSearch(){goToPage("specialist_locator_search.html")}function submitBackToResultSearchDoctorLocation(e,g,c,d,b,f){var h=$("#location_terms");var j="type=FindSpecialistLocator&action="+e;var a=basePath+"ajax/processor/";if(e=="action1"){j+="&city="+f+"&state="+b;j+="&speciality="+c;j+="&doctorName=&range=25&zip=";$.ajax({type:"post",url:a,data:j,dataType:"html",success:function(k){handlerSubmitSearchDoctorLocation(k)},error:errSubmitSearchDoctorLocation})}else{if(e=="action2"){j+="&city=&state=&speciality="+c;j+="&range="+g+"&zip="+d+"&doctorName=";$.ajax({type:"post",url:a,data:j,dataType:"html",success:function(k){handlerSubmitSearchDoctorLocation(k)},error:errSubmitSearchDoctorLocation})}else{if(e=="action3"){j+="&city=&state=&speciality="+c;j+="&range="+g+"&zip="+d+"&doctorName=";$.ajax({type:"post",url:a,data:j,dataType:"html",success:function(k){handlerSubmitSearchDoctorLocation(k)},error:errSubmitSearchDoctorLocation})}}}}function submitSearchDoctorLocation(w,f,B,b,y,m){var r=true;var g=document.getElementById("findLocationTitle");var x;var s;var k;var C;var e;var v;var p;var j=document.getElementById("label-distance");var c=document.getElementById("label-distance");var a=document.getElementById("label-state");var u=document.getElementById("label-specialty1");var o=document.getElementById("abel-specialty2");var A=document.getElementById("label-zip");if(w!="action3"&&w!="action4"&&w!="action5"&&w!="action6"){p=document.getElementById("findLocationForm");if(p){x=document.getElementById("city").value;k=document.getElementById("state").value;e=document.getElementById("specialty1").value;s=document.getElementById("distance").value;C=document.getElementById("zip").value;v=document.getElementById("specialty2").value}else{x=B;k=b;e=y;s=m;C=f;v=y}zipInput=C}if(w=="action1"){var q=checkField(x,"City");if(q!=""){r=false;if(c){c.style.color="red"}if(g){g.innerHTML="<br /><font color='red'>The following fields are incomplete or invalid.  Please re-enter your information and click <b>Search</b>.</font>"}}else{if(c){c.style.color="#3C3C3E"}}if(k==null||k==""){r=false;if(a){a.style.color="red"}if(g){g.innerHTML="<br /><font color='red'>The following fields are incomplete or invalid.  Please re-enter your information and click <b>Search</b>.</font>"}}else{if(a){a.style.color="#3C3C3E"}}if(e==null||e==""){r=false;if(u){u.style.color="red"}if(g){g.innerHTML="<br /><font color='red'>The following fields are incomplete or invalid.  Please re-enter your information and click <b>Search</b>.</font>"}}else{if(u){u.style.color="#3C3C3E"}}}else{if(w=="action2"){var t=checkRange(s);if(t!=""){r=false;if(j){j.style.color="red"}if(g){g.innerHTML="<br /><font color='red'>The following fields are incomplete or invalid.  Please re-enter your information and click <b>Search</b>.</font>"}}else{if(j){j.style.color="#3C3C3E"}}var z=checkZip(C);zipInput=C;if(z!=""){r=false;if(A){A.style.color="red"}if(g){g.innerHTML="<br /><font color='red'>The following fields are incomplete or invalid.  Please re-enter your information and click <b>Search</b>.</font>"}}else{if(A){A.style.color="#3C3C3E"}}if(v==null||v==""){r=false;if(o){o.style.color="red"}if(g){g.innerHTML="<br /><font color='red'>The following fields are incomplete or invalid.  Please re-enter your information and click <b>Search</b>.</font>"}}else{if(o){o.style.color="#3C3C3E"}}}else{if(w=="action3"){var d=document.getElementById("findSpecialistForm");var n="";if(d){n=document.getElementById("find_specialist_input").value;zipInput=n}if(n==""){n=f;zipInput=n}var D=document.getElementById("find_specialist_input");var E=checkZip(n);if(E!=""){r=false;if(D){D.style.color="#ff0000"}if(g){g.innerHTML="<p><font color='red'>The following fields are incomplete or invalid.  Please re-enter your information and click <b>Search</b>.</font></p>"}}else{if(D){D.style.color="#95a0a2"}}}}}if(x==null){x=""}if(k==null){k=""}if(e==null){e=""}if(v==null){v=""}if(s==null){s=""}if(C==null){C=""}if(n==null){n=""}if(r&&g){g.style.color="#000000"}var l="type=FindSpecialistLocator&action="+w;var h=basePath+"ajax/processor/";if(w=="action1"&&r){startImageLoader();l+="&city="+x+"&state="+k;l+="&speciality="+e;l+="&doctorName=&range=&zip=";zipInput="";$.ajax({type:"post",url:h,data:l,dataType:"html",success:function(F){handlerSubmitSearchDoctorLocation(F)},error:errSubmitSearchDoctorLocation})}else{if(w=="action2"&&r){startImageLoader();l+="&city=&state=&speciality="+v;l+="&range="+s+"&zip="+C+"&doctorName=";zipInput=C;$.ajax({type:"post",url:h,data:l,dataType:"html",success:function(F){handlerSubmitSearchDoctorLocation(F)},error:errSubmitSearchDoctorLocation})}else{if(w=="action3"&&r){zipInput=n;goToPage("specialist_locator_search.html?zip="+n)}else{if(w=="action4"&&r){startImageLoader();l+="&city=&state=&speciality=";l+="&range=&zip="+f+"&doctorName=";zipInput=f;$.ajax({type:"post",url:h,data:l,dataType:"html",success:function(F){handlerSubmitSearchDoctorLocation(F)},error:errSubmitSearchDoctorLocation})}else{if(w=="action5"){startImageLoader();l+="&city="+B+"&state="+b;l+="&speciality="+y;l+="&doctorName=&range=&zip=";zipInput="";$.ajax({type:"post",url:h,data:l,dataType:"html",success:function(F){handlerSubmitSearchDoctorLocation(F)},error:errSubmitSearchDoctorLocation})}else{if(w=="action6"){startImageLoader();l+="&city=&state=&speciality="+y;l+="&range="+m+"&zip="+f+"&doctorName=";zipInput=f;$.ajax({type:"post",url:h,data:l,dataType:"html",success:function(F){handlerSubmitSearchDoctorLocation(F)},error:errSubmitSearchDoctorLocation})}}}}}}}function hideSearchForm(){var b=$("#advancedSearchHeader");var e=$("#searchLocation");var a=$("#findLocationTitle");var d=$("#locationResults");var c=$("#findLocationForm");if(a){a.css("display","none")}if(e){e.css("display","none")}if(c){c.css("display","none")}if(b){b.css("display","none")}if(d){}}function showSearchForm(){var d=$("#searchLocation");var a=$("#findLocationTitle");var c=$("#locationResults");var b=$("#findLocationForm");if(a){a.css("display","block")}if(b){b.css("display","block")}if(d){d.css("display","block")}if(c){c.css("top","20px")}}function handlerSubmitSearchDoctorLocation(responseText){stopImageLoader();var findLocationTitle=document.getElementById("findLocationTitle");if(responseText!="N/A"&&responseText!=""&&responseText!="ziperr"){stopImageLoader();var locationsListObject=eval("("+responseText+")");var locationsList=locationsListObject.locations;var locationsListSize=locationsList.length;var locationResults;var locationResults_list;var searchLocation=document.getElementById("searchLocation");locationResults=document.getElementById("locationResults");locationResults_list=document.getElementById("locationResults_list");var locationResults_list_tbody=document.getElementById("locationResults_list_tbody");if(true){if(locationsListSize>0){if(findLocationTitle){findLocationTitle.innerHTML="Welcome to the XOLAIR Specialist Locator, an online directory of healthcare providers. It offers a simple way to find specialists in your area who treat allergic asthma. To locate a doctor, use the search tool below.";findLocationTitle.style.color="#000000"}maxVCR=locationsListSize;if(locationResults){locationResults.style.display="block";$("#specialist-header").hide();$("#locator-header").show();if(locationResults_list){locationResults_list.style.display="block";displayMinMaxValue();var maxResult=document.getElementById("maxResult");maxResult.innerHTML=maxVCR;var maxResultTerms=document.getElementById("maxResultTerms");maxResultTerms.innerHTML=maxVCR;var flag=0;var bgcolor2="#FFFFFF";var bgcolor1="#eef4f7";for(var i=0;i<locationsListSize;i++){var locationId=locationsList[i].id;locations.put(locationId,locationsList[i])}displayLocationsList(locationResults_list_tbody)}}hideResultList()}else{if(findLocationTitle){findLocationTitle.innerHTML="Welcome to the XOLAIR Specialist Locator, an online directory of healthcare providers. It offers a simple way to find specialists in your area who treat allergic asthma. To locate a doctor, use the search tool below.";findLocationTitle.innerHTML+="<br /><font color='red'>No doctors where found using this search criteria. Please try again.</font>"}}}else{if(findLocationTitle){findLocationTitle.innerHTML="Welcome to the XOLAIR Specialist Locator, an online directory of healthcare providers. It offers a simple way to find specialists in your area who treat allergic asthma. To locate a doctor, use the search tool below.";findLocationTitle.innerHTML+="<br /><font color='red'>Sorry, your search criteria was too broad. Please enter your distance, zip code, and speciality to narrow your search.</font>"}}}else{if(responseText=="ziperr"||responseText=="N/A"){goToPage("specialist_locator_search.html?ziperr=1")}if(findLocationTitle){findLocationTitle.innerHTML="Welcome to the XOLAIR Specialist Locator, an online directory of healthcare providers. It offers a simple way to find specialists in your area who treat allergic asthma. To locate a doctor, use the search tool below.";findLocationTitle.innerHTML+="<br /><font color='red'>No doctors where found using this search criteria. Please try again.</font>"}}if(zipInput==null){zipInput=""}trackTool("searchDoctorLocation")}function displayMinMaxValue(){var n=document.getElementById("maxVCR1");var m=document.getElementById("maxVCR2");var l=document.getElementById("maxVCR3");var j=document.getElementById("maxVCR4");var p;var a;var o;if(parseInt(maxVCR)<10){p="0"+maxVCR}else{p=maxVCR}if(parseInt(startVCR+1)<10){a="0"+(startVCR+1)}else{a=(startVCR+1)}if(parseInt(lastVCR)<10){o="0"+(lastVCR)}else{o=(lastVCR)}n.innerHTML=p;m.innerHTML=p;l.innerHTML=p;j.innerHTML=p;var k=document.getElementById("lastVCR1");var h=document.getElementById("lastVCR2");var g=document.getElementById("lastVCR3");var f=document.getElementById("lastVCR4");k.innerHTML=o;h.innerHTML=o;g.innerHTML=o;f.innerHTML=o;var e=document.getElementById("startVCR1");var d=document.getElementById("startVCR2");var c=document.getElementById("startVCR3");var b=document.getElementById("startVCR4");e.innerHTML=a;d.innerHTML=a;c.innerHTML=a;b.innerHTML=a}function viewAllLocationsList(){if(maxVCR>10){startVCR=0;lastVCR=maxVCR;var a=document.getElementById("locationResults_list_tbody");displayLocationsList(a)}}function previousLocationsList(){if(maxVCR>10){lastVCR=startVCR;startVCR=startVCR-incrementVCR;var a=document.getElementById("locationResults_list_tbody");displayLocationsList(a)}}function nextLocationsList(){if(maxVCR>10){startVCR=lastVCR;lastVCR=lastVCR+incrementVCR;var a=document.getElementById("locationResults_list_tbody");displayLocationsList(a)}}function displayLocationsList(e){if(startVCR<0){startVCR=0}if(startVCR>maxVCR){startVCR=maxVCR-incrementVCR}if(lastVCR<0){lastVCR=10}if(lastVCR>maxVCR){lastVCR=maxVCR}if(lastVCR<=startVCR){lastVCR=10;startVCR=0}if(startVCR>=lastVCR){lastVCR=10;startVCR=0}displayMinMaxValue();if(isIE){while(e.hasChildNodes()){e.removeChild(e.firstChild)}}else{e.innerHTML=""}var a="#FFFFFF";var b="#eef4f7";for(var c=startVCR;c<lastVCR;c++){var d=locations.get(c);if(c%2==0){displayLocationsListRow(e,d,b,c)}else{displayLocationsListRow(e,d,a,c)}}}function displayOtherLocation(g,e,a){var m=parseInt(e)+1;var n=document.getElementById("locationResults_list_tbody");var f=locations.get(g);var c="tr_bgcolor_"+e;var h=$("#trPrentId");var k=$("#other_location_"+g);if(n){var o="";if(isFirefox){}var l=f.praticeName;o="<br />&nbsp;&nbsp;&nbsp;&nbsp;<span class='searchLocatorSmallFont'>Practice:</span> <b>"+l+"</b>";o+="<br />&nbsp;&nbsp;&nbsp;&nbsp;<span class='searchLocatorSmallFont'>Office Location:</span>";o+="<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>"+f.direction_address+"</b>";o+="<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>"+f.direction_city+", "+f.direction_state+" "+f.direction_zip+"</b>";var s;var b=document.createElement("tr");b.style.background=a;trId=++trId;b.id="tr_otherLocation_"+trId;b.bgcolor=a;var q=createTableCell(trId,o);q.colspan="4";q.align="left";q.width="250";q.valign="top";var u=createTableCell(trId,"&nbsp;");var t=createTableCell(trId,"&nbsp;");b.appendChild(u);b.appendChild(q);b.appendChild(t);var j="<span class='locationInfo'>";j+="<span class='searchLocatorSmallFont'>Specialty:</span> <b>"+f.info_specialty+"</b>";j+="<br /><span class='searchLocatorSmallFont'>Affiliated institution:</span> <b>"+f.info_hospitalAffiliation+"</b>";j+="<br /><span class='searchLocatorSmallFont'>Email:</span> <b>"+f.office_email+"</b>";j+="<br /><span class='searchLocatorSmallFont'>Phone:</span> <b>"+f.office_phone1+"</b>";j+="<br /><span class='searchLocatorSmallFont'>Fax:</span> <b>"+f.office_fax+"</b>";j+="</span>";var r=createTableCell(trId,j);r.align="left";r.valign="top";r.width="250";b.appendChild(r);var d=n.childNodes;for(var p=0;p<d.length;p++){if(d[p].id==c){k.style.display="none";var s=n.getElementsByTagName("tr").item(p+1);n.insertBefore(b,s)}}}}var tdId=1;var trId=1;function displayLocationsListRow(u,d,b,r){var B=document.createElement("tr");B.id="tr_bgcolor_"+trId;B.style.background=b;var n=createTableCell(r,"&nbsp;");n.width="10";var m=createTableCell(r,(r+1)+". Dr.&nbsp;"+d.doctorFirstName+" "+d.doctorLastName);m.colspan="2";m.className="subhead";m.align="left";m.width="290";var l=createTableCell(r,d.miles+"&nbsp;miles&nbsp;");l.align="right";l.className="milesFont";l.width="290";var k=createTableCell(r,"&nbsp;");k.width="10";B.appendChild(n);B.appendChild(m);B.appendChild(k);B.appendChild(l);u.appendChild(B);var A=document.createElement("tr");A.id="tr_bgcolor_"+trId;A.style.background=b;var y=createTableCell(r,"&nbsp;");var w=createTableCell(r,"&nbsp;");var v=createTableCell(r,"&nbsp;");var t=createTableCell(r,"&nbsp;");A.appendChild(y);A.appendChild(w);A.appendChild(v);A.appendChild(t);var z=document.createElement("tr");z.style.background=b;trId=++trId;z.id="tr_bgcolor_"+trId;var e=trId;var j=createTableCell(r,"&nbsp;");z.appendChild(j);var q=d.praticeName;var s="<br />&nbsp;&nbsp;&nbsp;&nbsp;<span class='searchLocatorSmallFont'>Practice:</span> <b>"+q+"</b>";s+="<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;<span class='searchLocatorSmallFont'>Office Location:</span>";s+="<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>"+d.direction_address+"</b>";s+="<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>"+d.direction_city+", "+d.direction_state+" "+d.direction_zip+"</b>";var h=createTableCell(r,s);h.align="left";h.width="250";h.valign="top";z.appendChild(h);var g=createTableCell(r,"&nbsp;");z.appendChild(g);var f="<span class='locationInfo'>";f+="<span class='searchLocatorSmallFont'>Specialty:</span> <b>"+d.info_specialty+"</b>";f+="<br /><span class='searchLocatorSmallFont'>Affiliated institution:</span> <b>"+d.info_hospitalAffiliation+"</b>";f+="<br /><span class='searchLocatorSmallFont'>Email:</span> <b>"+d.office_email+"</b>";f+="<br /><span class='searchLocatorSmallFont'>Phone:</span> <b>"+d.office_phone1+"</b>";f+="<br /><span class='searchLocatorSmallFont'>Fax:</span> <b>"+d.office_fax+"</b>";f+="<br /><span class='searchLocatorSmallFont'>Other languages spoken:</span> <b>"+d.languagesListString+"</b>";f+="<br /><span class='searchLocatorSmallFont'>Website:</span> <a href='http://"+d.office_url+"' target='_blank'><span class='locationResults_link'>"+d.office_url+"</span></a>";f+="</span>";var c=createTableCell(r,f);c.align="left";c.valign="top";c.width="250";z.appendChild(c);u.appendChild(z);var x=document.createElement("tr");x.style.background=b;trId=++trId;x.id="tr_bgcolor_"+trId;var a=createTableCell(r,"&nbsp;");x.appendChild(a);var C=createTableCell(r,"&nbsp;");C.colspan="3";x.appendChild(C);var p=createTableCell(r,"&nbsp;");var o=createTableCell(r,"&nbsp;");x.appendChild(p);x.appendChild(o);if(!isIE){u.appendChild(x)}trId=++trId}function displayLanguages(b){var c="";if(b.languagesListSize>0){var a=b.languagesList;if(a){for(var d=0;d<a.length;d++){c+=a[d].language;if(d<(a.length-1)){c+=","}}}}return c}function displayZipcodes(a){var d="";if(a.zipCodeListSize>0){var c=a.zipCodeList;if(c){for(var b=0;b<c.length;b++){d+=c[b].zip;if(b<(c.length-1)){d+=","}}}}return d}function createTableCell(a,b){var c=document.createElement("td");c.id="td_"+tdId;c.innerHTML=b;tdId=++tdId;return c}function displayLocationNotFound(b){var e=$("#tr_bgcolor_1");if(!e){var g=document.createElement("tr");g.id="tr_bgcolor_1";g.bgcolor="#eef4f7";var d=document.createElement("td");d.id="td_empty1";d.innerHTML="&nbsp;";var c=document.createElement("td");c.id="td_empty2";c.innerHTML="&nbsp;";g.appendChild(d);g.appendChild(c);var f=document.createElement("td");f.id="td_1";f.width="600";f.align="center";f.innerHTML="<b>No location were found</b>";var a=document.createElement("td");a.id="td_empty3";a.innerHTML="&nbsp;";var k=document.createElement("td");k.id="td_empty4";k.innerHTML="&nbsp;";g.appendChild(f);g.appendChild(a);g.appendChild(k);b.appendChild(g);var j=document.getElementId("maxResult");j.innerHTML=0;var h=document.getElementId("maxResultTerms");h.innerHTML=0}}function errSubmitSearchDoctorLocation(responseText){if(responseText!="N/A"&&responseText!=""){var LocationsListObject=eval("("+responseText+")")}}function startImageLoader(){var c=$("#findLocationTitle");var d=$("#findLocationForm");var g=$("#location_terms_print");var e=$("#location_terms");var f=$("#locationResults_terms_print");var b=$("#ajaxLoader");var a=$("#xolairBody");if(c){c.css("display","none")}if(d){d.css("display","none")}if(f){f.css("display","none")}if(g){g.css("display","none")}if(e){e.css("display","none")}if(b&&ajaxLoaderImage){b.append(ajaxLoaderImage);b._timer=setTimeout("",100)}}function stopImageLoader(){$("#ajaxLoader").hide();return true;var c=$("#findLocationTitle");var d=$("#findLocationForm");var b=$("#xolairBody");var h=$("#location_terms_print");var g=$("#locationResults_terms_print");if(c){c.css("display","block")}if(d){d.css("display","block")}if(g){g.css("display","block")}if(h){h.css("display","block")}if(b){var a=document.getElementById("ajaxLoader");var a;var f;if(a){clearTimeout(a._timer);a=document.getElementById("ajaxLoader");f=a.childNodes;if(f){for(var e=0;e<f.length;e++){if(f[e].id=="ajaxLoaderImage"){a.removeChild(f[e])}}}}}}function goToSpecialistResultPrintPage(){var a="print.html?printPage=&speciality=Pulmonary Diseases&address=200+GREGORY+AVE&city=PASSAIC&state=NJ&zip=07055&maxVCR=8&startVCR=0&lastVCR=8&action=action4&range=";a="print.html?printPage=&speciality=Allergy&address=178+E+85TH+ST&city=NEW+YORK&state=NY&zip=10028&maxVCR=21&startVCR=0&lastVCR=10&action=action1&range=";a="print.html?printPage=&speciality="+encodeURIComponent("Allergy")+"&address="+encodeURIComponent("150 BROADWAY")+"&city="+encodeURIComponent("NEW YORK")+"&state=NY&zip=10038&maxVCR=22&startVCR=0&lastVCR=10&action=action2&range=5";window.location=a}function goToSearchResultPrintPage(){var a="";window.location=a}function printXolairPage(){doPageEvent("Print","event3=true");window.print()}function enrollDialog(a){var b;switch(a){case"email":b="<div id='dialog-email'><div id='xpansions-popup-border-email'></div><div id='xpansions-popup-email'>";b+="As a member of Xpansions, you&#39;ll receive e-mails with helpful tips and tools for dealing with your condition.";b+="</div><img src='"+mediaPath+"images/xpansions_popup_bottom_email.gif' width='222' height='18' /></div>";break;case"phone":b="<div id='dialog-phone'><div id='xpansions-popup-border-phone'></div><div id='xpansions-popup-phone'>";b+="Xpansions members have access to our live Nurse Educators, who may call to check in, track your symptoms, and answer your questions about XOLAIR, Xpansions, and allergic asthma.";b+="</div><img src='"+mediaPath+"images/xpansions_popup_bottom_phone.gif' width='234' height='18' /></div>";break;case"dob":b="<div id='dialog-dob'><div id='xpansions-popup-border-dob'></div><div id='xpansions-popup-dob'>";b+="Your age helps us better understand who we&#39;re talking to.";b+="</div><img src='"+mediaPath+"images/xpansions_popup_bottom_dob.gif' width='234' height='18' /></div>";break;case"treat1":b="<div id='dialog-treat1'><div id='xpansions-popup-border-treat1'></div><div id='xpansions-popup-treat1'>";b+="The Xpansions program provides information about asthma control.";b+="</div><img id='xpansions-popup-bottom-treat1' src='"+mediaPath+"images/xpansions_popup_bottom_treat.gif' width='222' height='18' /></div>";break;case"treat2":b="<div id='dialog-treat2'><div id='xpansions-popup-border-treat2'></div><div id='xpansions-popup-treat2'>";b+="The Xpansions program provides appropriate information based on the type of medication you&#39;re taking.";b+="</div><img id='xpansions-popup-bottom-treat2' src='"+mediaPath+"images/xpansions_popup_bottom_treat.gif' width='222' height='18' /></div>";break;case"treat3":b="<div id='dialog-treat3'><div id='xpansions-popup-border-treat3'></div><div id='xpansions-popup-treat3'>";b+="The Xpansions program provides appropriate information based on the type of medication you&#39;re taking.";b+="</div><img id='xpansions-popup-bottom-treat3' src='"+mediaPath+"images/xpansions_popup_bottom_treat.gif' width='222' height='18' /></div>";break;case"holdphone":b="<div id='xpansions-holdphone'><div id='xpansions-holdphone-border'>";b+="<a id='xpansions-popup-x' href='javascript:void(0)' onclick='enrollSubmit();hideDialog(&#39;xpansions-holdphone&#39;)'></a><div id='xpansions-holdphone-body'>";b+="<span class='subhead'>Hold the phone!</span>";b+="<br /><br />When you sign up for Xpansions, our Nurse Educators may call you to answer your questions about XOLAIR, Xpansions, and allergic asthma. So, while providing your phone number is optional, it&#39;s also highly recommended.<br /><br />";b+="Please enter your phone number now.<br />";b+="<input type='text' maxlength='12' class='medium' id='holdphone-input' name='' value='' onkeypress='return isNumberKeyPopup(event)'; onkeyup='editPhone(event, this)'; />";b+="<a id='xpansions-holdphone-enter' href='javascript:void(0)' onclick='enterPhone()' ><img src='"+mediaPath+"images/xpansions_popup_enter.gif' width='82' height='13' alt='' title='' border='0' /></a></div>";b+="<img id='xpansions-bg-holdphone' src='"+mediaPath+"images/xpansions_bg_holdphone.gif' width='383' height='79'  alt='' title='' border='0' /><img src='"+mediaPath+"images/xpansions_holdphone_bottom.gif' width='383' height='11'  alt='' title='' border='0' /></div></div>";break;case"12under":b="<div id='xpansions-12under'><div id='xpansions-12under-border'>";b+="<a id='xpansions-popup-x' href='javascript:void(0)' onclick='hideDialog(&#39;xpansions-12under&#39;)'></a>";b+="<div id='xpansions-12under-body'>Sorry, you can&#39;t sign up. Xpansions is only for people who are 12 and older.</div></div>";b+="<img id='xpansions-bg-12under' src='"+mediaPath+"images/xpansions_bg_12under.gif' width='314' height='42'  alt='' title='' border='0' /><img id='xpansions-12under-bottom'src='"+mediaPath+"images/xpansions_12under_bottom.gif' width='313' height='10'  alt='' title='' border='0' /></div>";break;case"wait":b="<div id='xpansions-wait'><div id='xpansions-wait-border'><div id='xpansions-wait-body'>";b+="<span class='subhead'>Wait, you&#39;re not done yet!</span>";b+="<br /><br />You must complete all 3 steps to sign up.<br /><br /><br /><br />";b+="<a id='xpansions-wait-finish' href='javascript:hideDialog(&quot;xpansions-wait&quot;)'><img src='"+mediaPath+"images/xpansions_wait_finish.gif' width='154' height='13' alt='' title='' border='0' /></a>";b+="<a id='xpansions-wait-exit' href='javascript:location.href=toUrl'><img src='"+mediaPath+"images/xpansions_wait_exit.gif' width='78' height='9'  alt='' title='' border='0' /></a></div></div>";b+="<img id='xpansions-bg-wait' src='"+mediaPath+"images/xpansions_bg_wait.gif' width='383' height='49'  alt='' title='' border='0' /><img src='"+mediaPath+"images/xpansions_wait_bottom.gif' width='383' height='10' alt='' title='' border='0' /></div>";break;default:}document.write(b)}function showWait(a){toUrl=a;if(waitDialog=="1"){$("#xpansions-wait").show();location.href="#top"}else{location.href=a}}function setWaitDialog(a){waitDialog=a}function showDialog(a){$("#"+a).show()}function hideDialog(a){$("#"+a).hide()}function enterPhone(){var e=$("#holdphone-input").val();var c=e.split("-").join("");var a=c.length;var d=$("#phoneAreaCode");var f=$("#phone1");var b=$("#phone2");if(e){if(d){if(a<=3){d.val(c)}else{d.val(c.substring(0,3))}}if(f&&a>3){if(a>=6){f.val(c.substring(3,6))}else{f.val(c.substring(3))}}if(b&&a>6){if(a>=10){b.val(c.substring(6,10))}else{b.val(c.substring(6))}}}hideDialog("xpansions-holdphone");enrollSubmit()}function editPhone(c,b){var a=c.keyCode;if(a=="8"){return false}if(b.value.length==3||b.value.length==7){b.value+="-"}if(b.value.length==4&&b.value.charAt(3)!="-"){b.value=b.value.substring(0,3)+"-"+b.value.substring(3)}if(b.value.length==8&&b.value.charAt(7)!="-"){b.value=b.value.substring(0,7)+"-"+b.value.substring(7)}}function isNumberKeyPopup(b){if(window.event){var a=b.keyCode}else{if(b.which){var a=b.which}}var c=b.keyCode;if(c=="13"){enterPhone();return false}if((a>31&&(a<48||a>57))||c=="9"||c=="16"||c=="37"||c=="39"){return false}return true}function phoneEntered(){var a=$("#phoneAreaCode").val();var c=$("#phone1").val();var b=$("#phone2").val();if((a.length==0&&c.length==0&&b.length==0)){showDialog("xpansions-holdphone");return false}return true}function validateAge(){var c=$("#dateOfBirthMM").val();var a=$("#dateOfBirthDD").val();var d=$("#dateOfBirthYY").val();if(c.length>0){c=parseInt(c)-1}var b=getAge(new Date(d,c,a,0,0,0));if(b<12){showDialog("xpansions-12under");return false}return true}function correctFlashLeakInIE(c){var f=document.getElementById(c);var a=f.parentNode;var e;var b;if(f){var d=new SWFObject("swf/xolair_HP.swf","xolair_HP","717","455","9","none");b=document.createElement("DIV");b.id=c;a.removeChild(f);e=a.firstChild;a.insertBefore(b,e);d.addParam("wmode","transparent");d.addVariable("showIntro",showIntro);d.write(c)}}function openLightbox(){if(currentLink=="index.html"){$("#xolair_HP").css("display","none");$("#flash-static-home").css("display","block")}$("#flash-module-lightbox").hide();$("#flash-module-lightbox-big").show();$("#matte").show()}function closeLightbox2(){$("#flash-module-xpansions-isi").hide();$("#flash-module-xpansions-isi2").hide();$("#flash-isi-x-close").hide();$("#flash-isi-x-close2").hide();$("#matte").hide()}function closeLightbox(){$("#flash-module-home-isi").hide();if(currentLink=="index.html"){$("#flash-static-home").css("display","none");if(isIE){correctFlashLeakInIE("flash-module-home")}else{$("#xolair_HP").css("display","block")}}$("#flash-module-lightbox-big").hide();$("#flash-module-lightbox").show();$("#matte").hide();if(isAndroid&&currentLink=="xolair_101.html"){rebuildFlashDiv("flash-module-lightbox","swf/Xolair101/Xolair101player.swf","Xolair101","500","340","9","block");rebuildFlashDiv("flash-module-lightbox-big","swf/Xolair101/Xolair101Big.swf","Xolair101","772","693","9","none");setTimeout("rebuildFlashDiv('flash-side-isi','swf/xolair_scroll.swf','xolair_scroll','735','420','9','block')","250")}if(isAndroid&&currentLink=="community_stories.html"){rebuildFlashDiv("flash-module-lightbox","swf/PatientStories/PatientStories.swf","PatientStories","500","340","9","block");rebuildFlashDiv("flash-module-lightbox-big","swf/PatientStories/PatientStoriesBig.swf","PatientStories","772","693","9","none");setTimeout("rebuildFlashDiv('flash-side-isi','swf/xolair_scroll.swf','xolair_scroll','735','420','9','block')","250")}}function openISI(){$("#flash-side-isi").css("z-index","300");$("#side-isi-mask").css("display","block");setTimeout('$("#side-isi-mask").css("display","none")',"1000")}function closeISI(){setTimeout('$("#flash-side-isi").css("z-index","0")',"500");$("#side-isi-mask").css("display","block");setTimeout('$("#side-isi-mask").css("display","none")',"1000");if(isAndroid&&currentLink=="xolair_101.html"){rebuildFlashDiv("flash-module-lightbox","swf/Xolair101/Xolair101player.swf","Xolair101","500","340","9","block");rebuildFlashDiv("flash-module-lightbox-big","swf/Xolair101/Xolair101Big.swf","Xolair101","772","693","9","none");setTimeout("rebuildFlashDiv('flash-side-isi','swf/xolair_scroll.swf','xolair_scroll','735','420','9','block')","250")}if(isAndroid&&currentLink=="community_stories.html"){rebuildFlashDiv("flash-module-lightbox","swf/PatientStories/PatientStories.swf","PatientStories","500","340","9","block");rebuildFlashDiv("flash-module-lightbox-big","swf/PatientStories/PatientStoriesBig.swf","PatientStories","772","693","9","none");setTimeout("rebuildFlashDiv('flash-side-isi','swf/xolair_scroll.swf','xolair_scroll','735','420','9','block')","250")}}function rebuildFlashDiv(b,h,j,m,l,c,e){var f=document.getElementById(b);var g=f.parentNode;var k;var a;if(f){var d=new SWFObject(h,j,m,l,c,"none");a=document.createElement("DIV");a.id=b;a.style.display=e;g.removeChild(f);k=g.firstChild;g.insertBefore(a,k);d.addParam("wmode","transparent");if(currentLink=="xolair_101.html"){d.addParam("videoPath",mediaPath+"swf/Xolair101/")}else{if(currentLink=="community_stories.html"){d.addParam("videoPath",mediaPath+"swf/PatientStories/")}}d.write(b)}}function setXpansionsForm(a){$("#step1").hide();$("#step2").hide();$("#step3").hide();$("#xpansions-bar-step1").hide();$("#xpansions-bar-step2").hide();$("#xpansions-bar-step3").hide();if(a.length>0){if(a=="3"&&$("input[@name='treatXolair']:checked").val()=="yes"){$("#xpansions-bar-step3-tc").show();$("#act-survey").hide();if(isIE7){$("#xpansions-submit").css("left","-68px")}else{$("#xpansions-submit").css("left","-9px")}}else{$("#xpansions-bar-step"+a).show()}$("#step"+a).show()}else{$("#xpansions-bar-step1").show();$("#step1").show()}}function changeTextSize(a){switch(a){case"small":changeClass("bodyContent","textsize-small");set_cookie("siteTextSize","small");setTextUtility("textsize-small");break;case"medium":changeClass("bodyContent","textsize-medium");set_cookie("siteTextSize","medium");setTextUtility("textsize-medium");break;case"large":changeClass("bodyContent","textsize-large");set_cookie("siteTextSize","large");setTextUtility("textsize-large");break;default:changeClass("bodyContent","textsize-small");set_cookie("siteTextSize","small");setTextUtility("textsize-small")}}function setPageTextSize(){var a=get_cookie("siteTextSize");switch(a){case"small":changeClass("bodyContent","textsize-small");setTextUtility("textsize-small");break;case"medium":changeClass("bodyContent","textsize-medium");setTextUtility("textsize-medium");break;case"large":changeClass("bodyContent","textsize-large");setTextUtility("textsize-large");break;default:changeClass("bodyContent","textsize-small");setTextUtility("textsize-small")}}function setTextUtility(a){$("#textsize-small").css("text-decoration","none");$("#textsize-medium").css("text-decoration","none");$("#textsize-large").css("text-decoration","none");$("#"+a).css("text-decoration","underline")}function showDisclaimer(a,b,c){$("#"+a).show();$("div").each(function(){if($(this).hasClass("pagecontent-center")){$(this).css("z-index","100")}});$("#print-link").css("z-index","100");$("#matte").show();$("#newUrl").attr("title",b);if(c){$("#linkName").attr("title",c)}}function showBrowserUpgrade(a,b){$("#disclaimer-ie6").show();$("#matte").show();$("#newUrl").attr("title",a);if(b){$("#linkName").attr("title",b)}}function closeDisclaimer(a){$("#"+a).hide();$("#matte").hide()}function redirect(){trackCustomLink("disclaimer_ok:"+$("#linkName").attr("title"));var a="http://"+$("#newUrl").attr("title");window.open(a)}function cancel(){trackCustomLink("disclaimer_cancel:"+$("#linkName").attr("title"))}function checkDOB(){var b=$("#dateOfBirthMM");var a=$("#dateOfBirthDD");var c=$("#dateOfBirthYY");if(b.val().length<2){b.val("mm")}if(a.val().length<2){a.val("dd")}if(c.val().length<4){c.val("yyyy")}}function formatDOB(b){var a=b.value;if(a=="mm"||a=="dd"||a=="yyyy"){b.value=""}}function clearNext(a){setTimeout($("#"+a).val(""),500)}function showQuestions(){$("#no-xolair-questions").slideDown("slow",function(){})}function hideQuestions(){$("#no-xolair-questions").slideUp("slow",function(){});$("input[name=treatAdvairSymbicort]").attr("checked",false);$("input[name=treatOralPrednisone]").attr("checked",false);$("input[name=treatInhaledSteroids]").attr("checked",false);$("input[name=treatOther]").attr("checked",false);$("input[name=condAttacks]:checked").attr("checked",false);$("span").each(function(){if($(this).hasClass("errordisplay-num")){$(this).removeClass("errordisplay-num").addClass("style1")}else{if($(this).hasClass("errordisplay")){$(this).removeClass("errordisplay")}}});if(errorCount>0){$("#enroll-error").slideUp("slow",function(){})}};
