function validateStep(nextStep) {
	if(nextStep > currStepNum || nextStep == 'complete') {
		//if you're advancing in the form, then validate ur current step
		var fieldset = "#fieldset" + currStepNum;
		var isValid = $(fieldset + " input[validate]," + fieldset + " select[validate]," + fieldset + " textarea[validate]").valid();
		
		if(isValid) {
			if(nextStep == 'complete') {
				//$(fieldset + ":parent").get(0).submit();
				submitForm();
			} else {
				showNextStep(nextStep);
			}
		}
	} else if(nextStep < currStepNum) {
		//if your going back, then no worries about validation
		showNextStep(nextStep);
	}
}

function showNextStep(nextStepNum) {
	currStepNum = nextStepNum;
	if(currStepDiv) {
		currStepDiv.slideUp(200);
	}
	currStepDiv = $("#step" + nextStepNum);
	currStepDiv.slideDown(200);
}
