function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")
document.oncontextmenu=new Function ("return false")
document.ondragstart =new Function("return false")
function ImpEcrOff() { SetInterval("window.clipboardData.setData('text','')",20); }
//if NS6
if (window.sidebar)
{
document.onmousedown=disableselect
document.onclick=reEnable
}

