// Protected area
// Set Username and Password
// Begin
function LogIn(){
loggedin=false;
username="";
password="";
username=prompt("Username:","");
username=username.toLowerCase();
password=prompt("Password:","");
password=password.toLowerCase();
if (username=="admin" && password=="mystral1320") { 
loggedin=true;
window.location="polish.html";
}
if (username=="polish" && password=="zhurigo") {
loggedin=true;
window.location="polish.html";
}
if (loggedin==false) {
alert("Username o Password errati!");
}
}
// End

// Lock Right Click
// Begin

// Set the message for the alert box
am = "Funzione disabilitata!";

// do not edit below this line
// ===========================
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bNS && e.which > 1){
      alert(am)
      return false
   } else if (bIE && (event.button >1)) {
     alert(am)
     return false;
   }
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
// End