/* FILE ARCHIVED ON 20:31:51 Feb 13, 2013 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 21:19:35 Apr 27, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ function openHFwidgetWindow(){ var form = document.forms["widgetForm"]; if(form){ var age = form.age.value; var sex = getCheckedValue(form.sex); var pregnant = form.pregnant.checked; var url = "https://cybercemetery.unt.edu/archive/oilspill/20130213203151/http://healthfinder.gov/myhealthfinder/Result.aspx?age=" + age + "&gender=" + sex + "&pregnant=" + pregnant; myHFwindow = window.open(url, 'myHFwindow', 'width=980,height=730,menubar=1,resizable=1,status=1,scrollbars=1,location=1'); /*myHFwindow.moveTo(100, 10); myHFwindow.focus();return false;*/ try { myHFwindow.moveTo(100, 10); myHFwindow.focus(); } catch(err) { } } } function getCheckedValue(radioObj) { if(!radioObj){ return ""; } var radioLength = radioObj.length; if(radioLength == undefined){ if(radioObj.checked){ return radioObj.value; }else{ return ""; } } for(var i = 0; i < radioLength; i++) { if(radioObj[i].checked) { return radioObj[i].value; } }return ""; } function ageChanged(e){ var p = document.getElementById('pregnant'); if(e.value>=50){; p.disabled = true;p.checked = false; }else if(document.getElementById('female').checked){ p.disabled = false; } } function genderChanged(sex){ var p = document.getElementById('pregnant'); if(sex=='male'){; p.disabled = true;p.checked=false }else if(sex=='female' && document.getElementById('age').value < 50){ p.disabled = false; } } document.write('my healthfinder
Find health advice for you or someone you care about.
    Sex: 
 
Get Started
healthfinder.gov. Live well. Learn how.')