/***********************************************
* Disable Text Selection script
***********************************************/
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
	target.style.MozUserSelect="none"
else //Other route (Opera etc)
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}
//Usages
window.addEvent('domready', function(){
	disableSelection(document.body) //Disable text selection on entire body
});