/*
 * contactable 1.2 - jQuery Ajax contact form
 *
 * Copyright (c) 2009 Philip Beel (http://www.theodin.co.uk/)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Revision: $Id: jquery.contactable.js 2009-09-24 $
 *
 */

(function($){$.fn.contactable=function(options){var defaults={name:'Name'};var options=$.extend(defaults,options);return this.each(function(options){$(this).html('<div id="contactable"></div><form id="contactForm" method="" action=""><div id="loading"></div><div id="callback"></div><div class="holder"><a href="tarifas.asp" target="mainFrame"><img src="../img/prueba.jpg"></a></p></div></form>');$('div#contactable').toggle(function(){$('#overlay').css({display:'block'});																																																					   $(this).animate({"marginLeft":"-=5px"},"fast");																																																				   $("#contactForm").animate({width:'toggle'},800);																																																																																																																																																																																																																																						   $(this).animate({"marginLeft":"+=147px"},"slow");																																																																																																																																																																																																																																																																																																																																																																																																																																																																																													   },function(){$("#contactForm").animate({width:'toggle'},"slow");	$(this).animate({"marginLeft":"-=147px"},"slow").animate({"marginLeft":"+=5px"},"fast");$('#overlay').css({display:'none'})});
																																																																																																																																																																																																																																																																																																																																																																																																																																								   })}
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				   })(jQuery);