﻿function disableselect(e){
return false
}

function reEnable(){
return true
}

window.onload = function() {
        var el = document.getElementById("content")
        //if IE4+
        el.onselectstart=new Function ("return false")

        //if NS6
        if (window.sidebar){
        el.onmousedown=disableselect
        el.onclick=reEnable
        }
        curPage=1;
        el.oncontextmenu = function(){return false}
        if(document.layers) {
        el.captureEvents(Event.MOUSEDOWN);
        el.onmousedown = function(e){
        if(e.target==el)return false;
        }
        }
        else {
        el.onmousedown = function(){return false}
}}