function ShakeEffect(element){
		obj = document.getElementById(element);
		new Effect.Shake(obj, {distance:5});
}
function input_blur(obj){
	if(obj.value){
		obj.style.background="none";
		obj.style.border="1px solid #EDEFF0";
	}
}
function input_focus(obj){
	if(obj.value){
		obj.style.cursor="text";
		obj.style.background="white";
		obj.style.border="1px solid #6C93B6";
	}
}

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 //All other route (ie: Opera)
		target.onmousedown=function(){return false}
	target.style.cursor = "default"
}		
