home *** CD-ROM | disk | FTP | other *** search
/ bombers.k12.ar.us / bombers.k12.ar.us.tar / bombers.k12.ar.us / survey / PreviewTemplate.asp < prev    next >
Text File  |  2006-11-29  |  23KB  |  611 lines

  1. <!--#Include File="Include/Top_inc.asp"-->
  2. <!--#Include File="Include/Config_inc.asp"-->
  3. <%
  4. '***********************************************************************
  5. '   Application: SelectSurveyASP Advanced v8.1.11
  6. '   Author: Aaron Baril for ClassApps.com
  7. '   Page Description: This page shows the look and feel of a selected template.
  8. '
  9. '   COPYRIGHT NOTICE                                
  10. '
  11. '   See attached Software License Agreement
  12. '
  13. '   (c) Copyright 2002 - 2006 by ClassApps.com.  All rights reserved.
  14. '***********************************************************************
  15.  
  16. %>
  17. <!--#Include File="Include/Utility_inc.asp"-->
  18. <!--#Include File="Include/adovbs_inc.asp"-->
  19. <!--#Include File="Include/SurveySecurity_inc.asp"-->
  20. <!--#Include File="Include/SurveyUtility_inc.asp"-->
  21. <!--#Include File="Include/CurrentUser_inc.asp"-->
  22. <!--#Include File="Include/Constants_inc.asp"-->
  23.  
  24. <html lang="en">
  25. <head>
  26.     <title>Employee Satisfaction Survey Survey</title>
  27. <%
  28.     Dim strSQL
  29.     Dim rsTemplate
  30.     Dim strLogoPath
  31.     Dim strLogoAlignment
  32.     Dim strSurveyAlignment
  33.     Dim strDisplayBorderYN
  34.     Dim strBorderColor
  35.     Dim lngBorderWidth
  36.     Dim strSurveyBackgroundColor
  37.     Dim strPageBackgroundColor
  38.     Dim strMatrixHeaderColor
  39.     Dim strMatrixFirstColor
  40.     Dim strMatrixSecondColor
  41.     Dim strProgressFirstColor
  42.     Dim strProgressSecondColor
  43.     Dim strHTMLTop
  44.     Dim strHTMLBottom
  45.     Dim strNavigationBackButtonPath
  46.     Dim strNavigationBackLinkText
  47.     Dim strNavigationNextButtonPath
  48.     Dim strNavigationNextLinkText
  49.     Dim strNavigationDoneButtonPath
  50.     Dim strNavigationDoneLinkText
  51.     Dim strNavigationCancelButtonPath
  52.     Dim strNavigationCancelLinkText
  53.     
  54.     'Initialization
  55.     Set rsTemplate = Server.CreateObject("ADODB.Recordset")
  56.     
  57.     'Select all of the attributes for the specified template to create the look and feel
  58.     strSQL = "SELECT logo_path, logo_alignment, survey_alignment, display_border_yn, border_color, border_width, " & _
  59.                 "survey_background_color, page_background_color, matrix_header_color, matrix_first_color, " & _
  60.                 "matrix_second_color, progress_first_color, progress_second_color, survey_name_font_color, " & _
  61.                 "survey_name_font_size, survey_name_font_weight, html_top, html_bottom, " & _
  62.                 "survey_name_font_family, page_title_font_color, page_title_font_size, page_title_font_weight, " & _
  63.                 "page_title_font_family, page_number_font_color, page_number_font_size, page_number_font_weight, " & _
  64.                 "page_number_font_family, question_text_font_color, question_text_font_size, question_text_font_weight, " & _
  65.                 "question_text_font_family, question_subtext_font_color, question_subtext_font_size, " & _
  66.                 "question_subtext_font_weight, question_subtext_font_family, navigation_link_font_color, " & _
  67.                 "navigation_link_font_size, navigation_link_font_weight, navigation_link_font_family, navigation_back_button_path, " & _
  68.                 "navigation_back_link_text, navigation_next_button_path, navigation_next_link_text, " & _
  69.                 "navigation_cancel_button_path, navigation_cancel_link_text, navigation_done_button_path, navigation_done_link_text " & _
  70.               "FROM sur_template " & _
  71.               "WHERE template_id = " & Request.QueryString("TemplateID")
  72.     rsTemplate.Open ConvertSQL(strSQL), SURVEY_APP_CONNECTION, adOpenForwardOnly, adLockReadOnly, adCmdText
  73.     rsTemplate.MoveFirst
  74.  
  75.     'Capture all of the fields in local variables
  76.     strLogoPath = rsTemplate("logo_path")
  77.     strLogoAlignment = rsTemplate("logo_alignment")
  78.     strSurveyAlignment = rsTemplate("survey_alignment")
  79.     strDisplayBorderYN = rsTemplate("display_border_yn")
  80.     strBorderColor = rsTemplate("border_color")
  81.     lngBorderWidth = rsTemplate("border_width")
  82.     strSurveyBackgroundColor = rsTemplate("survey_background_color")
  83.     strPageBackgroundColor = rsTemplate("page_background_color")
  84.     strMatrixHeaderColor = rsTemplate("matrix_header_color")
  85.     strMatrixFirstColor = rsTemplate("matrix_first_color")
  86.     strMatrixSecondColor = rsTemplate("matrix_second_color")
  87.     strProgressFirstColor = rsTemplate("progress_first_color")
  88.     If Len(strProgressFirstColor) = 0 Then
  89.         strProgressFirstColor = strPageBackgroundColor 
  90.     End If
  91.     strProgressSecondColor = rsTemplate("progress_second_color")
  92.     If Len(strProgressSecondColor) = 0 Then
  93.         strProgressSecondColor = strSurveyBackgroundColor 
  94.     End If
  95.     strHTMLTop = rsTemplate("html_top")
  96.     strHTMLBottom = rsTemplate("html_bottom")
  97.     strNavigationBackButtonPath = rsTemplate("navigation_back_button_path")
  98.     strNavigationBackLinkText = rsTemplate("navigation_back_link_text")
  99.     strNavigationNextButtonPath = rsTemplate("navigation_next_button_path")
  100.     strNavigationNextLinkText = rsTemplate("navigation_next_link_text")
  101.     strNavigationCancelButtonPath = rsTemplate("navigation_cancel_button_path")
  102.     strNavigationCancelLinkText = rsTemplate("navigation_cancel_link_text")
  103.     strNavigationDoneButtonPath = rsTemplate("navigation_done_button_path")
  104.     strNavigationDoneLinkText = rsTemplate("navigation_done_link_text")
  105.     
  106.     If Len(strMatrixFirstColor) = 0 Or Len(strMatrixSecondColor) = 0 Then
  107.         strMatrixFirstColor = strSurveyBackgroundColor
  108.         strMatrixSecondColor = GetDarkerShadeOfBackgroundColor(strMatrixFirstColor)
  109.     End If
  110.  
  111.     If Len(strMatrixHeaderColor) = 0 Then
  112.         strMatrixHeaderColor = strMatrixSecondColor
  113.     End If
  114.     
  115.     'Render the styles required for the survey    
  116. %>
  117. <style>
  118.     .SurveyBodyStyle
  119.     {
  120.         FONT-FAMILY: <%=SUR_DEFAULT_FONT_FAMILY%>;
  121.         BACKGROUND-COLOR: <%=strPageBackgroundColor%>;
  122.         COLOR: <%=SUR_DEFAULT_FONT_COLOR%>;
  123.         MARGIN-LEFT: 0;
  124.         MARGIN-RIGHT: 0;
  125.         MARGIN-BOTTOM: 0;
  126. <%
  127.         'If not top HTML was provided, leave a 15-pixel margin at the top; otherwise, flush the survey with the top, 
  128.         'and let the top HTML establish the look and feel.
  129.         If Len(Trim(strHTMLTop)) = 0 Then
  130. %>        
  131.             MARGIN-TOP: 15;
  132. <%
  133.         Else
  134. %>
  135.             MARGIN-TOP: 0;
  136. <%
  137.         End If
  138. %>
  139.     }
  140.  
  141.     .Normal
  142.     {
  143.         COLOR: <% If Len(rsTemplate("question_text_font_color")) > 0 Then Response.Write rsTemplate("question_text_font_color") Else Response.Write SUR_DEFAULT_FONT_COLOR End If %>;
  144.         FONT-FAMILY: <%=rsTemplate("question_text_font_family")%>;
  145.         FONT-SIZE: <% If Len(rsTemplate("question_text_font_size")) > 0 Then Response.Write rsTemplate("question_text_font_size") Else Response.Write "12" End If %>px;
  146.         FONT-WEIGHT: <%=rsTemplate("question_text_font_weight")%>;
  147.     }
  148.  
  149.     .Required
  150.     {
  151.         COLOR: red;
  152.         FONT-FAMILY: <%=rsTemplate("question_text_font_family")%>;
  153.         FONT-SIZE: 10px;
  154.     }
  155.  
  156.     .H1HeadingStyle
  157.     {
  158.         COLOR: <% If Len(rsTemplate("survey_name_font_color")) > 0 Then Response.Write rsTemplate("survey_name_font_color") Else Response.Write SUR_DEFAULT_FONT_COLOR End If %>;
  159.         FONT-FAMILY: <%=rsTemplate("survey_name_font_family")%>;
  160.         FONT-WEIGHT: <%=rsTemplate("survey_name_font_weight")%>;
  161.         FONT-SIZE: <% If Len(rsTemplate("survey_name_font_size")) > 0 Then Response.Write rsTemplate("survey_name_font_size") Else Response.Write "18" End If %>px;
  162.     }
  163.  
  164.     .PageNumberFontStyle
  165.     {
  166.         COLOR: <% If Len(rsTemplate("page_number_font_color")) > 0 Then Response.Write rsTemplate("page_number_font_color") Else Response.Write SUR_DEFAULT_FONT_COLOR End If %>;
  167.         FONT-FAMILY: <%=rsTemplate("page_number_font_family")%>;
  168.         FONT-WEIGHT: <%=rsTemplate("page_number_font_weight")%>;
  169.         FONT-SIZE: <% If Len(rsTemplate("page_number_font_size")) > 0 Then Response.Write rsTemplate("page_number_font_size") Else Response.Write "16" End If %>px;
  170.     }
  171.  
  172.     .InlineHelpSpanStyle
  173.     {
  174.         COLOR: <% If Len(rsTemplate("question_subtext_font_color")) > 0 Then Response.Write rsTemplate("question_subtext_font_color") Else Response.Write SUR_DEFAULT_FONT_COLOR End If %>;
  175.         FONT-FAMILY: <%=rsTemplate("question_subtext_font_family")%>;
  176.         FONT-SIZE: <% If Len(rsTemplate("question_subtext_font_size")) > 0 Then Response.Write rsTemplate("question_subtext_font_size") Else Response.Write "10" End If %>px;
  177.         FONT-WEIGHT: <%=rsTemplate("question_subtext_font_weight")%>;
  178.     }
  179.  
  180.     .SurveyPageTitle
  181.     {
  182.         COLOR: <% If Len(rsTemplate("page_title_font_color")) > 0 Then Response.Write rsTemplate("page_title_font_color") Else Response.Write SUR_DEFAULT_FONT_COLOR End If %>;
  183.         FONT-FAMILY: <%=rsTemplate("page_title_font_family")%>;
  184.         FONT-SIZE: <% If Len(rsTemplate("page_title_font_size")) > 0 Then Response.Write rsTemplate("page_title_font_size") Else Response.Write "16" End If %>px;
  185.         FONT-WEIGHT: <%=rsTemplate("page_title_font_weight")%>;
  186.     }
  187.  
  188.     .SurveyNavigationLink A
  189.     {
  190.         COLOR: <% If Len(rsTemplate("navigation_link_font_color")) > 0 Then Response.Write rsTemplate("navigation_link_font_color") Else Response.Write SUR_DEFAULT_FONT_COLOR End If %>;
  191.         FONT-FAMILY: <%=rsTemplate("navigation_link_font_family")%>;
  192.         FONT-SIZE: <% If Len(rsTemplate("navigation_link_font_size")) > 0 Then Response.Write rsTemplate("navigation_link_font_size") Else Response.Write "14" End If %>px;
  193.         FONT-WEIGHT: <%=rsTemplate("navigation_link_font_weight")%>;
  194.     }
  195. </style>
  196. <%
  197.     'Clean up
  198.     rsTemplate.Close
  199.     Set rsTemplate = Nothing
  200. %>
  201. </head>
  202. <body class="SurveyBodyStyle">
  203. <%
  204.     'If an HTML header was provided, display it
  205.     If Len(strHTMLTop) > 0 Then
  206.         Response.Write strHTMLTop
  207.     End If
  208. %>
  209.  
  210. <table border="0" cellspacing="0" cellpadding="5" width="760" align="<% If strSurveyAlignment = SUR_SURVEY_ALIGNMENT_CENTER Then Response.Write "center" End If %>">
  211. <%
  212.     'Optionally display a logo at the top of the survey
  213.     If IsNull(strLogoPath) Or Len(strLogoPath) = 0 Then
  214. %>
  215.         <tr>
  216.             <td>
  217.                   <span class="H1HeadingStyle"><a name="skipnav" tabindex="1">Employee Satisfaction Survey</a></span>
  218.             </td>
  219.         </tr>
  220. <%    
  221.     Else
  222.         'Whether the image alignment is left or right determines how the image and title are rendered
  223.         If strLogoAlignment = SUR_LOGO_ALIGNMENT_LEFT Then
  224. %>
  225.             <tr>
  226.                 <td align="left">
  227.                     <img alt="Survey logo" border="0" src="<%=strLogoPath%>">
  228.                 </td>
  229.                 <td align="right">
  230.                     <span class="H1HeadingStyle"><a name="skipnav" tabindex="1">Employee Satisfaction Survey</a></span>
  231.                 </td>
  232.             </tr>
  233. <%    
  234.         ElseIf strLogoAlignment = SUR_LOGO_ALIGNMENT_RIGHT Then
  235. %>
  236.             <tr>
  237.                 <td align="left">
  238.                     <span class="H1HeadingStyle"><a name="skipnav" tabindex="1">Employee Satisfaction Survey</a></span>
  239.                 </td>
  240.                 <td align="right">
  241.                     <img border="0" src="<%=strLogoPath%>" alt="Survey logo">
  242.                 </td>
  243.             </tr>
  244. <%    
  245.         Else
  246. %>
  247.             <tr>
  248.                 <td align="left">
  249.                     <img border="0" src="<%=strLogoPath%>" alt="Survey logo">
  250.                 </td>
  251.             </tr>
  252.             <tr>
  253.                 <td align="left">
  254.                     <span class="H1HeadingStyle"><a name="skipnav" tabindex="1">Employee Satisfaction Survey</a></span>
  255.                 </td>
  256.             </tr>
  257. <%    
  258.         End If
  259.     End If
  260. %>    
  261. </table>
  262. <%
  263.     'Optionally display the border
  264.     If strDisplayBorderYN = SUR_BOOLEAN_POSITIVE Then
  265. %>
  266.         <table style="background-color:<%=strBorderColor%>" cellspacing="0" cellpadding="<%=lngBorderWidth%>" width="760" align="<% If strSurveyAlignment = SUR_SURVEY_ALIGNMENT_CENTER Then Response.Write "center" End If %>"><tr><td>
  267.         <table cellpadding="0" border="0" style="background-color:<%=strSurveyBackgroundColor%>" width="100%"><tr><td>
  268. <%
  269.     Else
  270. %>
  271.         <table style="background-color:<%=strSurveyBackgroundColor%>" cellspacing="0" cellpadding="0" width="760"><tr><td>
  272. <%
  273.     End If
  274. %>
  275.  
  276. <table cellpadding="3" cellspacing="0" border="0" width="100%">
  277.     <tr>
  278.         <td width="28"> </td>
  279.         <td align="right" valign="top">
  280.             <table width="100" border="0" cellspacing="0" cellpadding="2" height="12">
  281.                 <tr>
  282.                     <td align="center">
  283.                         <span class="Normal">
  284.                             Page 1 of 3
  285.                         </span>
  286.                     </td>
  287.                 </tr>
  288.             </table>
  289.             <table width="100" border="0" cellspacing="0" cellpadding="1" height="12">
  290.                 <tr>
  291.                     <td bgcolor="black">
  292.                         <table width="100" border="0" cellspacing="0" cellpadding="0" height="12">
  293.                             <tr> 
  294.                                 <td width="33" bgcolor="<%=strProgressFirstColor%>"></td>
  295.                                 <td width="67" bgcolor="<%=strProgressSecondColor%>"></td>
  296.                             </tr>
  297.                         </table>
  298.                     </td>
  299.                 </tr>
  300.             </table>
  301.         </td>
  302.         <td width="14"> </td>
  303.     </tr>
  304.     <tr>
  305.         <td width="28" rowspan="5"> </td>
  306.         <td>
  307.             <span class="SurveyPageTitle">
  308.                 General Information
  309.             </span>
  310.         </td>
  311.         <td width="14" rowspan="5"> </td>
  312.     </tr>
  313.     <tr>
  314.         <td align="left" valign="top">
  315.             <span class="Normal">Thank you for taking the Employee Satisfaction Survey.  We greatly appreciate your time and honesty in answering these questions.</span>
  316.         </td>
  317.     </tr>
  318. </table>
  319.  
  320. <table cellpadding="2" cellspacing="0" border="0" width="100%">
  321.     <tr>
  322.         <td width="5"> </td>
  323.         <td valign="top">
  324.             <table cellpadding="2" cellspacing="0" border="0" width="100%">
  325.                 <tr>
  326.                     <td valign="top" width="21">
  327.                         <table border="0" cellpadding="3" cellspacing="0">
  328.                             <tr>
  329.                                 <td>
  330.                                     <span class="Normal">1. </span>
  331.                                 </td>
  332.                             </tr>
  333.                         </table>
  334.                     </td>
  335.                     <td valign="top">
  336.                         <span class="Normal">How long have you been with the company?</span><span class="Required">*</span>
  337.                     </td>
  338.                 </tr>
  339.                 <tr>
  340.                     <td> </td>
  341.                     <td>
  342.                         <input type="radio"  value="141" name="QID120"> <span class="Normal">Less than a year</span>
  343.                     </td>
  344.                 </tr>
  345.                 <tr>
  346.                     <td> </td>
  347.                     <td>
  348.                         <input type="radio"  value="142" name="QID120"> <span class="Normal">1-2 years</span>
  349.                     </td>
  350.                 </tr>
  351.                 <tr>
  352.                     <td> </td>
  353.                     <td>
  354.                         <input type="radio"  value="143" name="QID120"> <span class="Normal">3-4 years</span>
  355.                     </td>
  356.                 </tr>
  357.                 <tr>
  358.                     <td> </td>
  359.                     <td>
  360.                         <input type="radio"  value="144" name="QID120"> <span class="Normal">5-7 years</span>
  361.                     </td>
  362.                 </tr>
  363.                 <tr>
  364.                     <td> </td>
  365.                     <td>
  366.                         <input type="radio"  value="145" name="QID120"> <span class="Normal">7-10 years</span>
  367.                     </td>
  368.                 </tr>
  369.                 <tr>
  370.                     <td> </td>
  371.                     <td>
  372.                         <input  type="radio" value="AnswerOther" name="QID120"> <span class="Normal">Other, please specify</span>
  373.                     </td>
  374.                 </tr>
  375.                 <tr>
  376.                     <td> </td>
  377.                     <td>
  378.                              <input type="text" value="" maxlength="150" size="55" name="QID120OTHERTEXT">
  379.                     </td>
  380.                 </tr>
  381.             </table>    
  382.         </td>
  383.         <td width="5"> </td>
  384.     </tr>
  385.     <tr>
  386.         <td width="5"> </td>
  387.         <td valign="top">
  388.             <table cellpadding="2" cellspacing="0" border="0" width="100%">
  389.                 <tr>
  390.                     <td valign="top" width="21">
  391.                         <table border="0" cellpadding="3" cellspacing="0">
  392.                             <tr>
  393.                                 <td>
  394.                                     <span class="Normal">2. </span>
  395.                                 </td>
  396.                             </tr>
  397.                         </table>
  398.                     </td>
  399.                     <td valign="top">
  400.                         <span class="Normal">How would you rate the company in each of the following key areas?</span>
  401.                     </td>
  402.                 </tr>
  403.                 <tr>
  404.                     <td> 
  405.                     </td>
  406.                     <td>
  407.                         <table cellspacing="0" cellpadding="2" border="0" width="690">
  408.                             <tr bgcolor="<%=strMatrixHeaderColor%>">
  409.                                 <td> </td>
  410.                                 <td width="5"> </td>
  411.                                 <td align="center" valign="center"><span class="Normal">1</span></td>
  412.                                 <td width="5"> </td>
  413.                                 <td align="center" valign="center"><span class="Normal">2</span></td>
  414.                                 <td width="5"> </td>
  415.                                 <td align="center" valign="center"><span class="Normal">3</span></td>
  416.                                 <td width="5"> </td>
  417.                                 <td align="center" valign="center"><span class="Normal">4</span></td>
  418.                                 <td width="5"> </td>
  419.                                 <td align="center" valign="center"><span class="Normal">5</span></td>
  420.                             </tr>
  421.                             <tr bgcolor="<%=strMatrixFirstColor%>">
  422.                                 <td width="150" align="left" valign="center"><span class="Normal">Compensation</span></td>
  423.                                 <td width="5"> </td>
  424.                                 <td width="103" align="center" valign="center">
  425.                                     <input  type="radio" value="1" name="QID119||SIID143">
  426.                                 </td>
  427.                                 <td width="5"> </td>
  428.                                 <td width="103" align="center" valign="center">
  429.                                     <input  type="radio" value="2" name="QID119||SIID143">
  430.                                 </td>
  431.                                 <td width="5"> </td>
  432.                                 <td width="103" align="center" valign="center">
  433.                                     <input  type="radio" value="3" name="QID119||SIID143">
  434.                                 </td>
  435.                                 <td width="5"> </td>
  436.                                 <td width="103" align="center" valign="center">
  437.                                     <input  type="radio" value="4" name="QID119||SIID143">
  438.                                 </td>
  439.                                 <td width="5"> </td>
  440.                                 <td width="103" align="center" valign="center">
  441.                                     <input  type="radio" value="5" name="QID119||SIID143">
  442.                                 </td>
  443.                             </tr>
  444.                             <tr bgcolor="<%=strMatrixSecondColor%>">
  445.                                 <td width="150" align="left" valign="center"><span class="Normal">Flexible Work Schedule</span></td>
  446.                                 <td width="5"> </td>
  447.                                 <td width="103" align="center" valign="center">
  448.                                     <input  type="radio" value="1" name="QID119||SIID144">
  449.                                 </td>
  450.                                 <td width="5"> </td>
  451.                                 <td width="103" align="center" valign="center">
  452.                                     <input  type="radio" value="2" name="QID119||SIID144">
  453.                                 </td>
  454.                                 <td width="5"> </td>
  455.                                 <td width="103" align="center" valign="center">
  456.                                     <input  type="radio" value="3" name="QID119||SIID144">
  457.                                 </td>
  458.                                 <td width="5"> </td>
  459.                                 <td width="103" align="center" valign="center">
  460.                                     <input  type="radio" value="4" name="QID119||SIID144">
  461.                                 </td>
  462.                                 <td width="5"> </td>
  463.                                 <td width="103" align="center" valign="center">
  464.                                     <input  type="radio" value="5" name="QID119||SIID144">
  465.                                 </td>
  466.                             </tr>
  467.                             <tr bgcolor="<%=strMatrixFirstColor%>">
  468.                                 <td width="150" align="left" valign="center"><span class="Normal">Growth Opportunity</span></td>
  469.                                 <td width="5"> </td>
  470.                                 <td width="103" align="center" valign="center">
  471.                                     <input  type="radio" value="1" name="QID119||SIID145">
  472.                                 </td>
  473.                                 <td width="5"> </td>
  474.                                 <td width="103" align="center" valign="center">
  475.                                     <input  type="radio" value="2" name="QID119||SIID145">
  476.                                 </td>
  477.                                 <td width="5"> </td>
  478.                                 <td width="103" align="center" valign="center">
  479.                                     <input  type="radio" value="3" name="QID119||SIID145">
  480.                                 </td>
  481.                                 <td width="5"> </td>
  482.                                 <td width="103" align="center" valign="center">
  483.                                     <input  type="radio" value="4" name="QID119||SIID145">
  484.                                 </td>
  485.                                 <td width="5"> </td>
  486.                                 <td width="103" align="center" valign="center">
  487.                                     <input  type="radio" value="5" name="QID119||SIID145">
  488.                                 </td>
  489.                             </tr>
  490.                             <tr bgcolor="<%=strMatrixSecondColor%>">
  491.                                 <td width="150" align="left" valign="center"><span class="Normal">Company Culture</span></td>
  492.                                 <td width="5"> </td>
  493.                                 <td width="103" align="center" valign="center">
  494.                                     <input  type="radio" value="1" name="QID119||SIID146">
  495.                                 </td>
  496.                                 <td width="5"> </td>
  497.                                 <td width="103" align="center" valign="center">
  498.                                     <input  type="radio" value="2" name="QID119||SIID146">
  499.                                 </td>
  500.                                 <td width="5"> </td>
  501.                                 <td width="103" align="center" valign="center">
  502.                                     <input  type="radio" value="3" name="QID119||SIID146">
  503.                                 </td>
  504.                                 <td width="5"> </td>
  505.                                 <td width="103" align="center" valign="center">
  506.                                     <input  type="radio" value="4" name="QID119||SIID146">
  507.                                 </td>
  508.                                 <td width="5"> </td>
  509.                                 <td width="103" align="center" valign="center">
  510.                                     <input  type="radio" value="5" name="QID119||SIID146">
  511.                                 </td>
  512.                             </tr>
  513.                         </table>
  514.                     </td>
  515.                 </tr>
  516.             </table>    
  517.         </td>
  518.         <td width="5"> </td>
  519.     </tr>
  520. </table>
  521.  
  522. <table border="0" cellpadding="10" cellspacing="3" width="100%">
  523.     <tr>
  524.         <td width="25"> </td>
  525.         <td align="center">
  526. <%
  527.                 'Use the button for the Back button, if provided
  528.                 If Len(strNavigationBackButtonPath) > 0 Then
  529.                     'Use the button path provided, if there is one; otherwise, use the default button
  530.                     If Len(strNavigationBackButtonPath) > 0 Then
  531. %>
  532.                         <a href="javascript:window.close();"><img border="0" alt="Back" name="btnBack" src="<%=strNavigationBackButtonPath%>"></a>  
  533. <%
  534.                     Else
  535. %>
  536.                         <a href="javascript:window.close();"><img border="0" alt="Back" name="btnBack" src="Resources/SurveyButtons/Back.gif"></a>  
  537. <%
  538.                     End If                    
  539.                 Else
  540. %>
  541.                     <span class="SurveyNavigationLink">
  542.                         <a href="javascript:window.close();"><%=strNavigationBackLinkText%></a>  
  543.                     </span>
  544. <%
  545.                 End If
  546.  
  547.                 'Use the button for the Next button, if provided
  548.                 If Len(strNavigationNextButtonPath) > 0 Then
  549.                     'Use the button path provided, if there is one; otherwise, use the default button
  550.                     If Len(strNavigationNextButtonPath) > 0 Then
  551. %>
  552.                         <a href="javascript:window.close();"><img border="0" alt="Next" name="btnNext" src="<%=strNavigationNextButtonPath%>"></a>  
  553. <%
  554.                     Else
  555. %>
  556.                         <a href="javascript:window.close();"><img border="0" alt="Next" name="btnNext" src="Resources/SurveyButtons/Next.gif"></a>  
  557. <%
  558.                     End If                    
  559.                 Else
  560. %>
  561.                     <span class="SurveyNavigationLink">
  562.                         <a href="javascript:window.close();"><%=strNavigationNextLinkText%></a>  
  563.                     </span>
  564. <%
  565.                 End If
  566.  
  567.                 'Use the button for the Cancel button, if provided
  568.                 If Len(strNavigationCancelButtonPath) > 0 Then
  569.                     'Use the button path provided, if there is one; otherwise, use the default button
  570.                     If Len(strNavigationCancelButtonPath) > 0 Then
  571. %>
  572.                         <a href="javascript:window.close();"><img border="0" alt="Cancel" name="btnCancel" src="<%=strNavigationCancelButtonPath%>"></a>  
  573. <%
  574.                     Else
  575. %>
  576.                         <a href="javascript:window.close();"><img border="0" alt="Cancel" name="btnCancel" src="Resources/SurveyButtons/Cancel.gif"></a>  
  577. <%
  578.                     End If                    
  579.                 Else
  580. %>
  581.                     <span class="SurveyNavigationLink">
  582.                         <a href="javascript:window.close();"><%=strNavigationCancelLinkText%></a>  
  583.                     </span>
  584. <%
  585.                 End If
  586. %>
  587.         </td>
  588.         <td width="5"> </td>
  589.     </tr>
  590. </table>
  591.     
  592. <%
  593.     'If the border was displayed, close out an extra table
  594.     If strDisplayBorderYN = SUR_BOOLEAN_POSITIVE Then
  595. %>
  596.         </td></tr></table>
  597. <%
  598.     End If
  599. %>    
  600. </td></tr></table>
  601. <%
  602.     'If an HTML footer was provided, display it
  603.     If Len(strHTMLBottom) > 0 Then
  604.         Response.Write strHTMLBottom
  605.     Else
  606.         Response.Write "<br>"
  607.     End If
  608. %>
  609. </body>
  610. </html>
  611.