function HideContent(d) {
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
document.getElementById(d).style.display = "block";
}
function ReverseDisplay(d) {
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}


function HideContent_s(d,t)
{
//setTimeout("HideContent('d')",5000);

setTimeout(function(){HideContent(d)},t*1000);

}

function ShowContent_s(d,t)
{
setTimeout(function(){ShowContent(d)},t*1000);
}



function ShowHideContent(s,h,t) {
//document.getElementById(s).style.display = "block"; //show s
ShowContent(s);


//document.getElementById(h).style.display = "none"; //hide h
HideContent(h);

HideContent_s(s,t);



//setTimeout("HideContent(s)",5000); // hide s after x seconds


}

function ShowHideContent_Resp(s,h,t,r) {

ShowContent(s);

HideContent(h);

HideContent_s(s,t);

ShowContent_s(r,t);

}

