$(function()
{
	$("#frmInquiry").submit(function()
	{
		var j = zen_make_params('frmInquiry');
		$.post(
			this.action,
			{
				"data" : j,
				"cmd-confirm" : 1
			},
			function(ret)
			{
				if (ret.status == 'SUCCESS')
				{
					location.href = 'confirm.html';
				}
				else
				{
					alert(ret.status);
				}
			},
			'json'
		);
		return false;
	});
});
