text: function yes(){ if (document.getElementById('ss').style.display = "none") { document.getElementById('ss').style.display = "block"; } else { document.getElementById('ss').style.display = "none"; } } function check(){ setTimeout(function(){document.getElementById("check").style.display = "block";}, 500); } function checktwo(){ setTimeout(function(){document.getElementById("check-three").style.display = "block";}, 500); document.getElementById("questions").style.marginTop = "-20px"; } function checkthree(){ setTimeout(function(){ document.getElementById("check-five").style.display = "block";}, 500); document.getElementById("questions").style.marginTop = "-170px"; } function checkfour(){ setTimeout(function(){document.getElementById("check-six").style.display = "block";}, 500); document.getElementById("questions").style.marginTop = "-365px"; } function checkfive(){ setTimeout(function(){document.getElementById("check-seven").style.display = "block";}, 500); document.getElementById("questions").style.marginTop = "-565px"; } function checksix(){ setTimeout(function(){document.getElementById("check-eight").style.display = "block";}, 500); document.getElementById("questions").style.marginTop = "-765px"; } function final(){ setTimeout(function(){document.getElementById('anl').style.display="block";}, 500); if (document.getElementById('sym').value != 'No') { var ans = "some chance of getting affected"; document.getElementById("demo").innerHTML = 'Your symptoms suggests that you have '+ ans+ ' to COVID-19. Continue following the common measures and government directives to avoid contracting COVID-19. Remember that your symptoms may also result from other diseases and may require medical consultation - this interview targets the COVID-19 infection. If your symptoms seem severe and you are worried, contact your doctor or local health authorities.'; } else if (document.getElementById('prog').value != 'Yes') { var ans = "slight chance of getting affected"; document.getElementById("demo").innerHTML = 'Your symptoms suggests that you have '+ ans+ ' to COVID-19. Continue following the common measures and government directives to avoid contracting COVID-19. Remember that your symptoms may also result from other diseases and may require medical consultation - this interview targets the COVID-19 infection. If your symptoms seem severe and you are worried, contact your doctor or local health authorities.'; }else{ document.getElementById("demo").innerHTML = 'Your symptoms do not suggest that you have COVID-19. Continue following the common measures and government directives to avoid contracting COVID-19. Remember that your symptoms may also result from other diseases and may require medical consultation - this interview targets the COVID-19 infection. If your symptoms seem severe and you are worried, contact your doctor or local health authorities.'; } setTimeout(function(){document.getElementById('result').style.display="block"; document.getElementById("questions").style.marginTop = "-1320px";  }, 1500); setTimeout(function(){document.getElementById("pre").style.display = "block";}, 2750); setTimeout(function(){document.getElementById("help").style.display = "block";}, 3750); setTimeout(function(){document.getElementById("run").style.display = "block";document.getElementById("vid").style.display = "block";}, 4250); } function refreshPage(){ setTimeout(function(){window.location.reload();}, 700); }
  