<SCRIPT LANGUAGE="JavaScript">
function Welcome()
{
if (!confirm("Warning, Entering Secure Area\nOnly enter if you have proper security clearance.\n If you do not have clearance please leave NOW!"))
alert('Relax, It\'s just a joke!!')
return "</b>"
}
document.write(Welcome())
</script>
NOTES:
This Script does not restirct access to anything.
Using the !confirm function gives you the OK and Cancel buttons.
If cancel is hit it goes to the alert function and prints what you have there.
If you just want an OK button change the !confirm to !alert and remove the alert line.