function getSel()
{
    if (document.selection) document.selection.empty();
    else document.location.reload();
    return false;
}

function right(e)
{
    if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;
    else if (event.button == 2 || event.button == 3)
    {
        alert("Sorry, you do not have permission to copy.");
        return false;
    }
    return true;
}

//setInterval("window.clipboardData.clearData()",20);

//form tags to omit in NS6+:
//var omitformtags=["input", "textarea", "select"]

//omitformtags=omitformtags.join("|")

//function disableselect(e){
//if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
//return false
//}

//function reEnable(){
//return true
//}

//if (typeof document.onselectstart!="undefined")
//document.onselectstart=new Function ("return false")
//else{
//document.onmousedown=disableselect
//document.onmouseup=reEnable
//}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;


