document.write('</FONT>');
document.write('<CENTER>');
if (document.stateSpecs.page_type.value != "Trip Report")  {
  if (document.photoSpecs.length >= 4)  {
    document.write('<P><FONT FACE="GillSans,Futura,Arial,Helvetica" SIZE="-1" COLOR="FF0000">');
    document.write('<B>');
    document.write('Select the viewer style you want to use then');
    document.write('<BR>');
    document.write('click on the thumbnail views to enlarge the photos.');
    document.write('</B>');
    document.write('</FONT>');
    document.write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="center">');
    document.write('<TR>');
    document.write('<TD HEIGHT="5">');
    document.write('</TD>');
    document.write('</TR>');
    document.write('<TR>');
    document.write('<TD BGCOLOR="#000000" HEIGHT="26" WIDTH="250" >');
    document.write('<TABLE BORDER="0" BGCOLOR="#C0C0C0" CELLPADDING="0" CELLSPACING="0" HEIGHT="24" WIDTH="248" ALIGN="center">');
    document.write('<TR onMouseOver="statusMessage(3)" onMouseOut="statusMessage(0)">');
  }
//  else  {
  else  if (document.photoSpecs.length > 0)  {
    document.write('<P><FONT FACE="GillSans,Futura,Arial,Helvetica" SIZE="-1" COLOR="FF0000">');
    document.write('<B>');
    document.write('Click on the thumbnail views to enlarge the photos.');
    document.write('</B>');
    document.write('</FONT>');
  }
//  else  {
//    document.write('<P><BR><BR><BR>');
//    }
//  }
//else  {
  document.write('<FORM NAME="photoForm">');
  document.write('<INPUT TYPE="hidden" NAME="path" VALUE="hpjpg/' + document.stateSpecs.abbrev.value + '/">');
  document.write('<INPUT TYPE="hidden" NAME="prefix" VALUE="hp' + document.stateSpecs.abbrev.value + '">');
  document.write('<INPUT TYPE="hidden" NAME="suffix" VALUE="fs">');
  document.write('<INPUT TYPE="hidden" NAME="extension" VALUE="jpg">');
  document.write('<INPUT TYPE="hidden" NAME="item">');
  document.write('<INPUT TYPE="hidden" NAME="photographer" VALUE="D. Wickersham">');
  if (document.photoSpecs.length < 4 && document.photoSpecs.length > 0)  {
    document.write('<INPUT TYPE="hidden"  NAME="viewer_type" VALUE="snapshot">');
    document.write('</FORM>');
  }
  else  {
    document.write('<TD ALIGN="center">');
    document.write('<LABEL>');
    document.write('<INPUT TYPE="radio"  NAME="viewer_type" VALUE="snapshot" CHECKED>');
    document.write('<FONT FACE="GillSans,Futura,Arial,Helvetica" SIZE="-1">');
    document.write('Snapshot');
    document.write('</FONT>');
    document.write('</LABEL>');
    document.write('</TD>');
    document.write('<TD ALIGN="center">');
    document.write('<LABEL>');
    document.write('<INPUT TYPE="radio"  NAME="viewer_type" VALUE="slide_show">');
    document.write('<FONT FACE="GillSans,Futura,Arial,Helvetica" SIZE="-1">');
    document.write('Slide Show');
    document.write('</FONT>');
    document.write('</LABEL>');
    document.write('</TD>');
    document.write('</FORM>');
    document.write('</TR>');
    document.write('</TABLE>');
    document.write('</TD>');
    document.write('</TR>');
    document.write('</TABLE>');
  }
  document.write('<P>');
  thumb_write();
}
else  {
  if (document.photoSpecs.length == 0)  {
    document.write('<P><BR><BR><BR>');
  }
}
