

function modFormSaveAuto() {
	ajaxPostForm('/xfw/mods/standard/form/advanced/0.0.1//svc.cxp?modformsvcaction=autosave', 'modFormMain', 'modForm_Validate');
}

function modFormSaveSubmit() {
	var savePage
	if ( modFormPageCurrent != modFormPageCount ) {
		savePage = modFormPageCurrent;
	} else {
		savePage = '';
	}
	ajaxPostForm('/xfw/mods/standard/form/advanced/0.0.1//svc.cxp?modformsvcaction=submit&savepage=' + savePage, 'modFormMain', 'modForm_Validate');
}

function modFormContinue() {
	modFormNameSelect(((modFormPageCurrent*1) + 1).toString())
}

function modFormNameSelect(fx_select) {
	$('#modForm_Validate').html('');
	$('.modFormPageGroup').hide();
	$('.modFormNav').removeClass('sc_up');
	$('#modFormNav' + fx_select).addClass('sc_up');
	$('#modFormNav' + fx_select).blur();
	$('#modFormPageGroup' + fx_select).show();
	modFormPageCurrent = fx_select;
	if ( modFormPageCurrent != modFormPageCount ) {
		$('#modFormBtnSubmit').hide();
		$('#modFormBtnContinue').show();				
	} else {
		$('#modFormBtnSubmit').show();
		$('#modFormBtnContinue').hide();				
	}
}

var modFormPageCurrent = '1';
var modFormPageCount = '1';

xpsJSPage = 'ran';




