<SCRIPT LANGUAGE="JavaScript">
<!--- Hide from tired old browsers that should be put to pasture.
// Get your very own Gate Keeper from Professional Web Design
function goForit() {
var location;
var password;
password= this.document.testform.inputbox.value
location=password + ".html" // если файл
открываемой секретной страницы имеет
расширение htm, то впишите htm вместо html
fetch(location)
theKeeper=window.close()
}
function fetch(location) {
var root;
if (opener.closed) {
root=window.open('','theKeepersGopher', 'toolbar=yes, location=yes, status=yes,
menubar=yes, scrollbars=yes, resizable=yes, copyhistory=no');
root.location.href = location;
} else {
opener.location.href = location;
}
}
// End hiding --->
var mes="Введите пароль!!!";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(mes);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</SCRIPT>