var expectedHash="";
function makeHistory(A){window.location.hash=A;
expectedHash=window.location.hash
}function getSymptom(A){updateQuestionDIVBasedOnResponse_local(A,"0")
}function handleHistory(){if(window.location.hash!=expectedHash){expectedHash=window.location.hash;
var A=expectedHash.substring(1,window.location.hash.length);
updateQuestionDIVBasedOnResponse_local(A.substring(A.indexOf("|")+1),A.substring(0,A.indexOf("|")))
}return true
}function pollHash(){handleHistory();
window.setInterval("handleHistory()",1000);
return true
}function newXMLHttpRequest(){var C=false;
if(window.XMLHttpRequest){C=new XMLHttpRequest()
}else{if(window.ActiveXObject){try{C=new ActiveXObject("Msxml2.XMLHTTP")
}catch(B){try{C=new ActiveXObject("Microsoft.XMLHTTP")
}catch(A){}}}}return C
}function updateQuestionDIVBasedOnResponse_local(B,C){var A=newXMLHttpRequest();
var D=getReadyStateHandler(A,responseXmlHandler);
A.onreadystatechange=D;
A.open("POST","<pt:common.url pt:href='/tools/Symptom.do' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>",true);
A.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
if(C=="0"){A.send("category="+B)
}else{A.send("responsecode="+C)
}}function getReadyStateHandler(B,A){return function(){if(B.readyState==4){if(B.status==200){A(B.responseText)
}else{}}}
}function responseXmlHandler(A){document.getElementById("s_main").innerHTML=A
}function toggleTab(B,A){if(B=="firstaid"){document.getElementById("lefttab").className="leftActive";
document.getElementById("righttab").className="rightInactive";
document.getElementById("firstaid").className="";
document.getElementById("prevention").className="nodisplay"
}else{document.getElementById("righttab").className="rightActive";
document.getElementById("lefttab").className="leftInactive";
document.getElementById("firstaid").className="nodisplay";
document.getElementById("prevention").className=""
}A.blur()
}function animate(){Effect.BlindDown(document.getElementById("s_main"),{duration:0.4})
}function showSpinner(){var A=document.getElementById("indicator");
A.style.display=(A.style.display=="none")?"block":"none"
}function moreInfo(){document.getElementById("s_main").className="nodisplay";
document.getElementById("more_info").className=""
}function goBack(){document.getElementById("more_info").className="nodisplay";
document.getElementById("s_main").className=""
}function toggleTab(B,A){if(B=="firstaid"){document.getElementById("lefttab").className="leftActive";
document.getElementById("righttab").className="rightInactive";
document.getElementById("firstaid").className="";
document.getElementById("prevention").className="nodisplay"
}else{document.getElementById("righttab").className="rightActive";
document.getElementById("lefttab").className="leftInactive";
document.getElementById("firstaid").className="nodisplay";
document.getElementById("prevention").className=""
}A.blur()
}function animate(){Effect.BlindDown(document.getElementById("s_main"),{duration:0.4})
}function showSpinner(){var A=document.getElementById("indicator");
A.style.display=(A.style.display=="none")?"block":"none"
}function moreInfo(){document.getElementById("s_main").className="nodisplay";
document.getElementById("more_info").className=""
}function goBack(){document.getElementById("more_info").className="nodisplay";
document.getElementById("s_main").className=""
};