

function toggleVisibility(id, NNtype, IEtype, WC3type) {
 checkLayer();
    if (document.getElementById) {
        eval("document.getElementById(id).style.visibility = \"" + WC3type + "\"");
    } else {
        if (document.layers) {
            document.layers[id].visibility = NNtype;
        } else {
            if (document.all) {
                eval("document.all." + id + ".style.visibility = \"" + IEtype + "\"");
            }
        }
    }

}

var checkIt;
function checkLayer()
{
	if (checkIt) clearTimeout(checkIt);{
	checkIt = setTimeout("toggleVisibility('thankyouLayer', 'hide','hidden', 'hidden')",6000);
	return false;
	}
	return true;
}



