 $(document).ready(function() {
	        $("#create-account").hide();

	        if ($("div#existing-company").size() > 0) {
	            $("div#new-company").hide();
	            $("input#companyType").val("existing");
	        }
	        else {
	            $("input#companyType").val("new");
	        }

	        $("a.new-company").click(function() {
	            $("div#existing-company").hide();
	            $("div#new-company").fadeIn('slow');
	            $("input#companyType").val("new");
	        });

	        $("#create-your-account").click(function() {
	            $("#select-type").hide();
	            $("#create-account").show();

	            var accountType = $("#accountType").val();

	            if (accountType == "student") {
	                $("#company-account").hide();
	                $("#student-account").hide().fadeIn('slow');
	                setupFormValidation("#student-account form");
	            }
	            else {
	                $("#company-account").hide().fadeIn('slow');
	                $("#student-account").hide();
	                setupFormValidation("#company-account form");
	            }
	        });

	    });