//extend the plugin
(function($){

	//define the new for the plugin ans how to call it	
	$.fn.contactable = function(options) {
		//act upon the element that is passed into the design    
		return this.each(function(options) {
			
			var moveButton = true;
			
			//construct the form
			$(this).html('<div id="contactable"></div>');
			
			// over
			$('div#contactable').mouseover(function() {
				if (moveButton) {
					$(this).animate({"marginLeft": "-=5px"}, "normal").animate({"marginLeft": "+=5px"}, "normal");
				}
				moveButton = false;
				return false;
			});
			$('div#contactable').mouseout(function() { 
				moveButton = true;
			});
		});
	};
	
})(jQuery);

