am = "Sorry right mouse button is disabled!";

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<6) window.onmousedown = nrc;


//check resolution and choose background image

if (screen.Height==768 && screen.Width==1024)
  back="../english/imgs/pagebg1.gif"
else
  back="../english/imgs/pagebg.gif"


document.write ("<style>")
document.write ("BODY{BACKGROUND-ATTACHMENT: fixed; BACKGROUND-IMAGE: url(" + back +")}")
document.write ("</style>")



