	  $(document).ready(function(){
			$("#frmSendViral").ajaxSubmit();
			
			$("address.email").each(function(){
				$(this).html("<a href=\"mailto:" + this.title.replace(/( \[at\] )/g, "@").replace(/( \[(dot|period)\] )/g, ".").replace(/( \[dash\] )/g, "-") + "?subject=Question%20Regarding%20" + escape($("title").html()) + "\" title=\"Send " + $(this).html() + " an email regarding " + $("title").html() + "\">" + $(this).html() + "<\/a>");
				this.setAttribute("title", "");
			});
	  });

/* Original Functions */
		$.fn.setFocus = function(e){
			if (document.getElementById(e)) document.getElementById(e).focus();
			return this;
		};
		
		
		$.fn.ajaxSubmit = function(e) {
			/* Change a form's submission type to ajax */
			this.submit(function(){
				var params = {};
		    $(this)
		    .find("input[@checked], input[@type='text'], input[@type='hidden'], input[@type='password'], input[@type='submit'], option[@selected], textarea")
		    .filter(":enabled")
		    .each(function() {
		      params[ this.name || this.id || this.parentNode.name || this.parentNode.id ] = this.value;
		    });
		    $("body").addClass("curWait");
		    
				$.post(this.getAttribute("action") + "?call=ajax", params, function(xml){
					$("body").removeClass("curWait");
					strError = "Unable to submit form. Please try again later.";
					oFocus = null;
					$("AjaxResponse", xml).each(function() {
						strError = this.getAttribute("response");
					});
					$("div.formErrors").html(strError).filter(":hidden").fadeIn("normal");
				});
				return false;
			});
			
			return this;
		}