/*

This script attempts to grab the mouse right click event in order to prevent 
things like save image etc. Most browsers can ignore this attempt (Firefox, Opera etc.)
So this is no guarantee of copy protection

*/


var appversion  = parseInt(navigator.appVersion)
var is_moz = navigator.appName=="Netscape"
var is_ie = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) 
{
    var msg="Thank you for your interest!\nPlease fill in the \“Enquiry form\” and we will contact you shortly.";
    
    //alert('appVersion ' + navigator.appVersion + ' appName ' + navigator.appName + ' which ' + e.which);
    if (is_moz && e.which == 3){
       alert(msg);
       return false;
    } 
    else if (is_ie && (event.button == 2)) {
       alert(msg);
       return false;
    }
    return true;
}

document.onmousedown = nrc;
if (document.layers){
    window.captureEvents(Event.MOUSEDOWN);
}
if (is_moz && appversion<5){
        window.onmousedown = nrc;
}
