// JavaScript Document

jQuery.fn.shakeit = function(times){
   if(times == 'undefined')
	  times=1;
   this.each(
	  function(init){
		 var jqNode = $(this);
		 for (var x = 1; x <= times; x++){
			jqNode
			 .animate({ left: -5 },30)
			 .animate({ left: 0 },50)
			 .animate({ left: 5 },30)
			 .animate({ left: 0 },50);
		 }

	  }
   
   );
   return this;

}
