/************************************************************************************
  The following lines determine the response following a form submit. The
  query string is parsed to determine what results should be reported back to the
  page visitor and if they should be displayed at all.

  Change History:
  ---------------------------------------------------------------------------------
  Date      Initials	Description of Change
  ---------------------------------------------------------------------------------
  11.08.05  CG			Logic Developed (Removed from individual eval pages)
  01.27.06  CG			Changed text to be more sales (follow up) oriented.
************************************************************************************/

/* Check the query string on the current page */

var QRY = new Querystring();

// Check the form status Query RESults

var QRES = QRY.get('RES','');

if (QRES == "OK")
  {
		document.write(''
		+ '<table bgcolor="#bdd5e5" border="1" bordercolor="#000000" width="95%">'
		+ '	<tr>'
		+ '		<td align="center" class="copyright">'
		+ '			<br><font size="2">Thank you for submitting your comments/requests.<br>'
		+ '         We will respond as quickly as possible.<br><br></font>'
		+ '		</td>'
		+ '	</tr>'
		+ '</table><br>');
  }
else if (QRES == "FAMOK")
  {
		document.write(''
		+ '<table bgcolor="#bdd5e5" border="1" bordercolor="#000000" width="95%">'
		+ '	<tr>'
		+ '		<td align="center" class="copyright">'
		+ '			<br><font size="2">Thank you for submitting your request for a Family Portrait sitting.<br>'
		+ '         We will contact you as quickly as possible to confirm the requested date.<br><br></font>'
		+ '		</td>'
		+ '	</tr>'
		+ '</table><br>');
  };
else if (QRES == "NO")
  {
		document.write(''
		+ '<table bgcolor="#bdd5e5" border="1" bordercolor="#000000" width="95%">'
		+ '	<tr>'
		+ '		<td align="center" class="copyright">'
		+ '			<br><font size="2">We\'re sorry, but an error has occurred.<br><br></font>'
		+ '		</td>'
		+ '	</tr>'
		+ '</table><br>');
  };
