function disableselect(e){
return false
}

function reEnable(){
return true
}

var tags = document.getElementsByTagName("*");
for(var i = 0; i < tags.length; i++) {
  if ( tags[i].className == 'postshort' || tags[i].id == 'singlepost' ) { 
	  tags[i].onselectstart=new Function ("return false")
	  if (window.sidebar){
	  tags[i].onmousedown=disableselect
	  tags[i].onclick=reEnable} 
  }
} 

