// John's Simple jQuery script to make things unselectable.
//
// Any item with DATA-UNSELECTABLE will be unselectable 

jQuery(document).ready(function() {
	jQuery("[data-unselectable]").each(function() {
		var item = jQuery(this)[0];
	
		if(typeof item.onselectstart != "undefined") //IE route
		    item.onselectstart = function() { return false; }
		else if(typeof item.style.MozUserSelect != "undefined") //Firefox route
		    item.style.MozUserSelect = "none";
		else //All other route (ie: Opera)
		    item.onmousedown = function() { return false; }
	});
});
