$().ready(function(){ //when page has fully loaded
	$('IMG,A,.button,.nodrag')
		.css('MozUserSelect','none')
        	.bind('selectstart', function() {
            		return false;
        	})
		.bind('draggesture', function() {
        		return false;
        	});
        	
	$(':text').bind('focus', function() {
		try {$(this).caret(this.value.length);}catch(xe1){}
	});
	
});



