	$(document).ready(function(){
	   init();
	   swapForms("multiFormAsk");
	   $("input:radio").css("width", "auto");
	   });
	function init() {
		$(".swapForm").click(initSwap);
		}
	function initSwap(){
			var thisLink = $(this).attr("title");
			swapForms(thisLink);
			return false;
		}
	function swapForms(formID) {
		$("#multiFormReplace").fadeOut("fast",function(){
			//alert(formID);
			document.getElementById(formID).setAttribute("id","targetForm");
			$("#multiFormReplace").html($("#targetForm").html());
			init();
			document.getElementById("targetForm").setAttribute("id",formID);
			$("#multiFormReplace").fadeIn("fast");
			});
		}
$(function() { 	
	resetRadio(); //reset classes for radio inputs,
	$("input:radio").click(resetRadio);
});
function resetRadio() {
$("input:radio").parent().removeClass();
	$("input:radio").parent().addClass("deselected");	
		$("input:radio").each(function() {
			$("input:radio:checked").parent().removeClass();	
			$("input:radio:checked").parent().addClass("selected");		
		});
}

