<option <% If CStr(strValue) = CStr(SUR_DEFAULT_TEMPLATE_ID) Then Response.Write "selected" End If %> value="<%=SUR_DEFAULT_TEMPLATE_ID%>">[Default Template]</option>
<%
'Select the list of all templates that the current user can user.
<option <% If CStr(strValue) = CStr(rsTemplates("template_id")) Then Response.Write "selected" End If %> value="<%=rsTemplates("template_id")%>"><%=rsTemplates("template_name")%></option>
<%
rsTemplates.MoveNext
Loop
End If
%>
</select>
<img onClick="javascript:window.open('PreviewTemplate.asp?TemplateID=' + document.forms['frmSurvey'].cboTemplateID.value);" alt="Preview the look and feel of the selected template" border="0" src="Resources/Buttons/PreviewSmall.gif" onMouseOver="this.style.cursor='hand'">
<option <% If strValue = "af" Then Response.Write "selected" End If %> value="af">Afrikaans</option>
<option <% If strValue = "sq" Then Response.Write "selected" End If %> value="sq">Albanian</option>
<option <% If strValue = "ar-dz" Then Response.Write "selected" End If %> value="ar-dz">Arabic (Algeria)</option>
<option <% If strValue = "ar-bh" Then Response.Write "selected" End If %> value="ar-bh">Arabic (Bahrain)</option>
<option <% If strValue = "ar-eg" Then Response.Write "selected" End If %> value="ar-eg">Arabic (Egypt)</option>
<option <% If strValue = "ar-iq" Then Response.Write "selected" End If %> value="ar-iq">Arabic (Iraq)</option>
<option <% If strValue = "ar-jo" Then Response.Write "selected" End If %> value="ar-jo">Arabic (Jordan)</option>
<option <% If strValue = "ar-kw" Then Response.Write "selected" End If %> value="ar-kw">Arabic (Kuwait)</option>
<option <% If strValue = "ar-lb" Then Response.Write "selected" End If %> value="ar-lb">Arabic (Lebanon)</option>
<option <% If strValue = "ar-ly" Then Response.Write "selected" End If %> value="ar-ly">Arabic (Libya)</option>
<option <% If strValue = "ar-ma" Then Response.Write "selected" End If %> value="ar-ma">Arabic (Morocco)</option>
<option <% If strValue = "ar-om" Then Response.Write "selected" End If %> value="ar-om">Arabic (Oman)</option>
<option <% If strValue = "ar-qa" Then Response.Write "selected" End If %> value="ar-qa">Arabic (Qatar)</option>
<option <% If strValue = "ar-sa" Then Response.Write "selected" End If %> value="ar-sa">Arabic (Saudi Arabia)</option>
<option <% If strValue = "ar-sy" Then Response.Write "selected" End If %> value="ar-sy">Arabic (Syria)</option>
<option <% If strValue = "ar-tn" Then Response.Write "selected" End If %> value="ar-tn">Arabic (Tunisia)</option>
<option <% If strValue = "ar-ae" Then Response.Write "selected" End If %> value="ar-ae">Arabic (U.A.E.)</option>
<option <% If strValue = "ar-ye" Then Response.Write "selected" End If %> value="ar-ye">Arabic (Yemen)</option>
<option <% If strValue = "eu" Then Response.Write "selected" End If %> value="eu">Basque</option>
<option <% If strValue = "be" Then Response.Write "selected" End If %> value="be">Belarusian</option>
<option <% If strValue = "bg" Then Response.Write "selected" End If %> value="bg">Bulgarian</option>
<option <% If strValue = "ca" Then Response.Write "selected" End If %> value="ca">Catalan</option>
<option <% If strValue = "zh-hk" Then Response.Write "selected" End If %> value="zh-hk">Chinese (Hong Kong, SAR)</option>
<option <% If strValue = "zh-cn" Then Response.Write "selected" End If %> value="zh-cn">Chinese (PRC)</option>
<option <% If strValue = "zh-sg" Then Response.Write "selected" End If %> value="zh-sg">Chinese (Singapore)</option>
<option <% If strValue = "zh-tw" Then Response.Write "selected" End If %> value="zh-tw">Chinese (Taiwan)</option>
<option <% If strValue = "hr" Then Response.Write "selected" End If %> value="hr">Croatian</option>
<option <% If strValue = "cs" Then Response.Write "selected" End If %> value="cs">Czech</option>
<option <% If strValue = "da" Then Response.Write "selected" End If %> value="da">Danish</option>
<option <% If strValue = "nl-be" Then Response.Write "selected" End If %> value="nl-be">Dutch (Belgium)</option>
<option <% If strValue = "nl" Then Response.Write "selected" End If %> value="nl">Dutch (Standard)</option>
<option <% If strValue = "en-au" Then Response.Write "selected" End If %> value="en-au">English (Australia)</option>
<option <% If strValue = "en-bz" Then Response.Write "selected" End If %> value="en-bz">English (Belize)</option>
<option <% If strValue = "en-ca" Then Response.Write "selected" End If %> value="en-ca">English (Canada)</option>
<option <% If strValue = "en" Then Response.Write "selected" End If %> value="en">English (Caribbean)</option>
<option <% If strValue = "en-gb" Then Response.Write "selected" End If %> value="en-gb">English (Great Britain)</option>
<option <% If strValue = "en-ie" Then Response.Write "selected" End If %> value="en-ie">English (Ireland)</option>
<option <% If strValue = "en-jm" Then Response.Write "selected" End If %> value="en-jm">English (Jamaica)</option>
<option <% If strValue = "en-nz" Then Response.Write "selected" End If %> value="en-nz">English (New Zealand)</option>
<option <% If strValue = "en-za" Then Response.Write "selected" End If %> value="en-za">English (South Africa)</option>
<option <% If strValue = "en" Then Response.Write "selected" End If %> value="en">English (Standard)</option>
<option <% If strValue = "en-us" Then Response.Write "selected" End If %> value="en-us">English (United States)</option>
<option <% If strValue = "en-tt" Then Response.Write "selected" End If %> value="en-tt">English (Trinidad)</option>
<option <% If strValue = "et" Then Response.Write "selected" End If %> value="et">Estonian</option>
<option <% If strValue = "fo" Then Response.Write "selected" End If %> value="fo">Faeroese</option>
<option <% If strValue = "fa" Then Response.Write "selected" End If %> value="fa">Farsi</option>
<option <% If strValue = "fi" Then Response.Write "selected" End If %> value="fi">Finnish</option>
<option <% If strValue = "fr-be" Then Response.Write "selected" End If %> value="fr-be">French (Belgium)</option>
<option <% If strValue = "fr-ca" Then Response.Write "selected" End If %> value="fr-ca">French (Canada)</option>
<option <% If strValue = "fr-lu" Then Response.Write "selected" End If %> value="fr-lu">French (Luxembourg)</option>
<option <% If strValue = "fr" Then Response.Write "selected" End If %> value="fr">French (Standard)</option>
<option <% If strValue = "fr-ch" Then Response.Write "selected" End If %> value="fr-ch">French (Switzerland)</option>
<option <% If strValue = "gd-ie" Then Response.Write "selected" End If %> value="gd-ie">Gaelic (Ireland)</option>
<option <% If strValue = "gd" Then Response.Write "selected" End If %> value="gd">Gaelic (Scotland)</option>
<option <% If strValue = "de-at" Then Response.Write "selected" End If %> value="de-at">German (Austria)</option>
<option <% If strValue = "de-li" Then Response.Write "selected" End If %> value="de-li">German (Liechtenstein)</option>
<option <% If strValue = "de-lu" Then Response.Write "selected" End If %> value="de-lu">German (Luxembourg)</option>
<option <% If strValue = "de" Then Response.Write "selected" End If %> value="de">German (Standard)</option>
<option <% If strValue = "de-ch" Then Response.Write "selected" End If %> value="de-ch">German (Switzerland)</option>
<option <% If strValue = "el" Then Response.Write "selected" End If %> value="el">Greek</option>
<option <% If strValue = "he" Then Response.Write "selected" End If %> value="he">Hebrew</option>
<option <% If strValue = "hi" Then Response.Write "selected" End If %> value="hi">Hindi</option>
<option <% If strValue = "hu" Then Response.Write "selected" End If %> value="hu">Hungarian</option>
<option <% If strValue = "is" Then Response.Write "selected" End If %> value="is">Icelandic</option>
<option <% If strValue = "in" Then Response.Write "selected" End If %> value="in">Indonesian</option>
<option <% If strValue = "it" Then Response.Write "selected" End If %> value="it">Italian (Standard)</option>
<option <% If strValue = "it-ch" Then Response.Write "selected" End If %> value="it-ch">Italian (Switzerland)</option>
<option <% If strValue = "ja" Then Response.Write "selected" End If %> value="ja">Japanese</option>
<option <% If strValue = "ko" Then Response.Write "selected" End If %> value="ko">Korean (Standard)</option>
<option <% If strValue = "ko" Then Response.Write "selected" End If %> value="ko">Korean (Johab)</option>
<option <% If strValue = "lv" Then Response.Write "selected" End If %> value="lv">Latvian</option>
<option <% If strValue = "lt" Then Response.Write "selected" End If %> value="lt">Lithuanian</option>
<option <% If strValue = "mk" Then Response.Write "selected" End If %> value="mk">Macedonian</option>
<option <% If strValue = "ms" Then Response.Write "selected" End If %> value="ms">Malaysian</option>
<option <% If strValue = "mt" Then Response.Write "selected" End If %> value="mt">Maltese</option>
<option <% If strValue = "no" Then Response.Write "selected" End If %> value="no">Norwegian (Bokmal)</option>
<option <% If strValue = "nn-no" Then Response.Write "selected" End If %> value="nn-no">Norwegian (Nynorsk)</option>
<option <% If strValue = "pl" Then Response.Write "selected" End If %> value="pl">Polish</option>
<option <% If strValue = "pt-br" Then Response.Write "selected" End If %> value="pt-br">Portuguese (Brazil)</option>
<option <% If strValue = "pt" Then Response.Write "selected" End If %> value="pt">Portuguese (Standard)</option>
<option <% If strValue = "rm" Then Response.Write "selected" End If %> value="rm">Rhaeto-Romanic</option>
<option <% If strValue = "ro-mo" Then Response.Write "selected" End If %> value="ro-mo">Romanian (Moldavia)</option>
<option <% If strValue = "ro" Then Response.Write "selected" End If %> value="ro">Romanian (Standard)</option>
<option <% If strValue = "ru-mo" Then Response.Write "selected" End If %> value="ru-mo">Russian (Moldavia)</option>
<option <% If strValue = "ru" Then Response.Write "selected" End If %> value="ru">Russian (Standard)</option>
<option <% If strValue = "sz" Then Response.Write "selected" End If %> value="sz">Sami (Lappish)</option>
<option <% If strValue = "sr" Then Response.Write "selected" End If %> value="sr">Serbian (Cyrillic)</option>
<option <% If strValue = "sr" Then Response.Write "selected" End If %> value="sr">Serbian (Latin)</option>
<option <% If strValue = "sk" Then Response.Write "selected" End If %> value="sk">Slovak</option>
<option <% If strValue = "sl" Then Response.Write "selected" End If %> value="sl">Slovenian</option>
<option <% If strValue = "sb" Then Response.Write "selected" End If %> value="sb">Sorbian</option>
<option <% If strValue = "es-ar" Then Response.Write "selected" End If %> value="es-ar">Spanish (Argentina)</option>
<option <% If strValue = "es-bo" Then Response.Write "selected" End If %> value="es-bo">Spanish (Bolivia)</option>
<option <% If strValue = "es-cl" Then Response.Write "selected" End If %> value="es-cl">Spanish (Chile)</option>
<option <% If strValue = "es-co" Then Response.Write "selected" End If %> value="es-co">Spanish (Colombia)</option>
<option <% If strValue = "es-cr" Then Response.Write "selected" End If %> value="es-cr">Spanish (Costa Rica)</option>
<option <% If strValue = "es-do" Then Response.Write "selected" End If %> value="es-do">Spanish (Dominican Republic)</option>
<option <% If strValue = "es-ec" Then Response.Write "selected" End If %> value="es-ec">Spanish (Ecuador)</option>
<option <% If strValue = "es-sv" Then Response.Write "selected" End If %> value="es-sv">Spanish (El Salvador)</option>
<option <% If strValue = "es-gt" Then Response.Write "selected" End If %> value="es-gt">Spanish (Guatemala)</option>
<option <% If strValue = "es-hn" Then Response.Write "selected" End If %> value="es-hn">Spanish (Honduras)</option>
<option <% If strValue = "es-mx" Then Response.Write "selected" End If %> value="es-mx">Spanish (Mexico)</option>
<option <% If strValue = "es-ni" Then Response.Write "selected" End If %> value="es-ni">Spanish (Nicaragua)</option>
<option <% If strValue = "es-pa" Then Response.Write "selected" End If %> value="es-pa">Spanish (Panama)</option>
<option <% If strValue = "es-pe" Then Response.Write "selected" End If %> value="es-pe">Spanish (Peru)</option>
<option <% If strValue = "es-py" Then Response.Write "selected" End If %> value="es-py">Spanish (Paraguay)</option>
<option <% If strValue = "es-pr" Then Response.Write "selected" End If %> value="es-pr">Spanish (Puerto Rico)</option>
<option <% If strValue = "es" Then Response.Write "selected" End If %> value="es">Spanish (Spain û Modern)</option>
<option <% If strValue = "es" Then Response.Write "selected" End If %> value="es">Spanish (Spain û Traditional)</option>
<option <% If strValue = "es-uy" Then Response.Write "selected" End If %> value="es-uy">Spanish (Uruguay)</option>
<option <% If strValue = "es-ve" Then Response.Write "selected" End If %> value="es-ve">Spanish (Venezuela)</option>
<option <% If strValue = "sx" Then Response.Write "selected" End If %> value="sx">Sutu</option>
<option <% If strValue = "sv-fi" Then Response.Write "selected" End If %> value="sv-fi">Swedish (Finland)</option>
<option <% If strValue = "sv" Then Response.Write "selected" End If %> value="sv">Swedish (Standard)</option>
<option <% If strValue = "th" Then Response.Write "selected" End If %> value="th">Thai</option>
<option <% If strValue = "ts" Then Response.Write "selected" End If %> value="ts">Tsonga</option>
<option <% If strValue = "tn" Then Response.Write "selected" End If %> value="tn">Tswana</option>
<option <% If strValue = "tr" Then Response.Write "selected" End If %> value="tr">Turkish</option>
<option <% If strValue = "uk" Then Response.Write "selected" End If %> value="uk">Ukrainian</option>
<option <% If strValue = "ur" Then Response.Write "selected" End If %> value="ur">Urdu</option>
<option <% If strValue = "ve" Then Response.Write "selected" End If %> value="ve">Venda</option>
<option <% If strValue = "vi" Then Response.Write "selected" End If %> value="vi">Vietnamese</option>
<option <% If strValue = "xh" Then Response.Write "selected" End If %> value="xh">Xhosa</option>
<option <% If strValue = "ji" Then Response.Write "selected" End If %> value="ji">Yiddish</option>
<option <% If strValue = "zu" Then Response.Write "selected" End If %> value="zu">Zulu</option>
</select>
</td>
</tr>
<tr>
<td valign="middle" class="NormalBold">
<label for="cboStatus">Status:</label>
</td>
<td valign="top" class="Normal">
<%
'Get the number of questions associated with this survey
lngQuestionCount = GetQuestionCount(lngSurveyID)
'Only display this message if the status equals 'New' and the question count = 0
If strStatus = SUR_STATUS_DESIGN And lngQuestionCount = 0 Then
%>
<span class="InlineHelpSpanStyle">The status can be changed to something other than 'Design' only after at least one question has been added to the survey.<br></span>
<input <% If CStr(lngRespondentAccessLevel) = CStr(SUR_RESPONDENT_ACCESS_LEVEL_SINGLE_UPDATEABLE_LOGIN) Then Response.Write "checked" End If %> type="radio" name="optRespondentAccessLevel" id="optRespondentAccessLevel" value="<%=SUR_RESPONDENT_ACCESS_LEVEL_SINGLE_UPDATEABLE_LOGIN%>">
</td>
<td valign="top">
<span class="NormalBold">Single Response, Login Required</span><span class="Normal"> - Respondents must log
in before responding to the survey, and are prevented from responding to the survey more than once. Respondents
that return to a completed survey can edit their original responses.<br></span>
</td>
</tr>
<tr>
<td colspan="2" height="8"></td>
</tr>
<tr>
<td width="25" valign="top">
<input <% If CStr(lngRespondentAccessLevel) = CStr(SUR_RESPONDENT_ACCESS_LEVEL_SINGLE_FORWARD_ONLY_LOGIN) Then Response.Write "checked" End If %> type="radio" name="optRespondentAccessLevel" id="optRespondentAccessLevel" value="<%=SUR_RESPONDENT_ACCESS_LEVEL_SINGLE_FORWARD_ONLY_LOGIN%>">
in before responding to the survey, and are prevented from responding to the survey more than once. Respondents
that attempt to return to a completed survey are not able to modify their original responses.<br></span>
</td>
</tr>
<tr>
<td colspan="2" height="8"></td>
</tr>
<tr>
<td width="25" valign="top">
<input <% If CStr(lngRespondentAccessLevel) = CStr(SUR_RESPONDENT_ACCESS_LEVEL_SINGLE_UPDATEABLE_ANONYMOUS) Then Response.Write "checked" End If %> type="radio" name="optRespondentAccessLevel" id="optRespondentAccessLevel" value="<%=SUR_RESPONDENT_ACCESS_LEVEL_SINGLE_UPDATEABLE_ANONYMOUS%>">
</td>
<td valign="top">
<span class="NormalBold">Single Response, Anonymous Access Allowed</span><span class="Normal"> - Respondents are allowed to
respond to a survey anonymously (without logging in). Respondents may also log in before responding to a survey. Either way,
respondents are prevented from responding to the survey more than once. Respondents that return to a completed survey
can edit their original responses.<br></span>
</td>
</tr>
<tr>
<td colspan="2" height="8"></td>
</tr>
<tr>
<td width="25" valign="top">
<input <% If CStr(lngRespondentAccessLevel) = CStr(SUR_RESPONDENT_ACCESS_LEVEL_SINGLE_FORWARD_ONLY_ANONYMOUS) Then Response.Write "checked" End If %> type="radio" name="optRespondentAccessLevel" id="optRespondentAccessLevel" value="<%=SUR_RESPONDENT_ACCESS_LEVEL_SINGLE_FORWARD_ONLY_ANONYMOUS%>">
</td>
<td valign="top">
<span class="NormalBold">Single Response, Anonymous Access Allowed (Not Updateable)</span><span class="Normal"> - Respondents are allowed to
respond to a survey anonymously (without logging in). Respondents may also log in before responding to a survey. Either way,
respondents are prevented from responding to the survey more than once. Respondents that attempt to return to a completed
survey are not able to modify their original responses.<br></span>
</td>
</tr>
<tr>
<td colspan="2" height="8"></td>
</tr>
<tr>
<td width="25" valign="top">
<input <% If CStr(lngRespondentAccessLevel) = CStr(SUR_RESPONDENT_ACCESS_LEVEL_MULTIPLE_LOGIN) Then Response.Write "checked" End If %> type="radio" name="optRespondentAccessLevel" id="optRespondentAccessLevel" value="<%=SUR_RESPONDENT_ACCESS_LEVEL_MULTIPLE_LOGIN%>">
in before responding to the survey, and may respond to the survey as many times as they want. Respondents cannot
update prior responses.<br></span>
</td>
</tr>
<tr>
<td colspan="2" height="8"></td>
</tr>
<tr>
<td width="25" valign="top">
<input <% If CStr(lngRespondentAccessLevel) = CStr(SUR_RESPONDENT_ACCESS_LEVEL_MULTIPLE_ANONYMOUS) Then Response.Write "checked" End If %> type="radio" name="optRespondentAccessLevel" id="optRespondentAccessLevel" value="<%=SUR_RESPONDENT_ACCESS_LEVEL_MULTIPLE_ANONYMOUS%>">
</td>
<td valign="top">
<span class="NormalBold">Multiple Response, Anonymous Access Allowed (Not Updateable)</span><span class="Normal"> - Respondents are allowed to
respond to a survey anonymously (without logging in). Respondents may also log in before responding to a survey. Either way,
respondents may respond to the survey as many times as they want. Respondents cannot update prior responses.<br></span>
</td>
</tr>
<tr>
<td colspan="2" height="8"></td>
</tr>
<tr>
<td width="25" valign="top">
<input <% If CStr(lngRespondentAccessLevel) = CStr(SUR_RESPONDENT_ACCESS_LEVEL_MANUAL_ENTRY) Then Response.Write "checked" End If %> type="radio" name="optRespondentAccessLevel" id="optRespondentAccessLevel" value="<%=SUR_RESPONDENT_ACCESS_LEVEL_MANUAL_ENTRY%>">
</td>
<td valign="top">
<span class="NormalBold">Manual Response Entry</span><span class="Normal"> - Survey owners and application
administrators can enter unlimited responses. This access level takes precedence over all other
access levels, and prevents standard respondents from taking the survey. After completing each response, the
user is returned to the start of the survey to submit a new response.<br></span>
<option <% If strValue = SUR_COMPLETION_ACTION_DISPLAY_MESSAGE Then Response.Write("selected") End If %> value="<%=SUR_COMPLETION_ACTION_DISPLAY_MESSAGE%>"><%=SUR_COMPLETION_ACTION_DISPLAY_MESSAGE%></option>
<option <% If strValue = SUR_COMPLETION_ACTION_DISPLAY_RESULTS Then Response.Write("selected") End If %> value="<%=SUR_COMPLETION_ACTION_DISPLAY_RESULTS%>"><%=SUR_COMPLETION_ACTION_DISPLAY_RESULTS%></option>
<option <% If strValue = SUR_COMPLETION_ACTION_REDIRECT Then Response.Write("selected") End If %> value="<%=SUR_COMPLETION_ACTION_REDIRECT%>"><%=SUR_COMPLETION_ACTION_REDIRECT%></option>
<option <% If strValue = SUR_COMPLETION_ACTION_CLOSE Then Response.Write("selected") End If %> value="<%=SUR_COMPLETION_ACTION_CLOSE%>"><%=SUR_COMPLETION_ACTION_CLOSE%></option>
<input <% If strValue = SUR_BOOLEAN_POSITIVE Then Response.Write "checked" End If %> type="checkbox" name="chkCloseButton" id="chkCloseButton"> <span class="InlineHelpSpanStyle">Close Button</span>
<input <% If strValue = SUR_BOOLEAN_POSITIVE Then Response.Write "checked" End If %> type="checkbox" name="chkContinueButton" id="chkContinueButton"> <span class="InlineHelpSpanStyle">Continue Button</span>
<input <% If strValue = SUR_BOOLEAN_POSITIVE Then Response.Write "checked" End If %> type="checkbox" name="chkReportsButton" id="chkReportsButton"> <span class="InlineHelpSpanStyle">View Reports Button</span>
<option <% If strValue = SUR_BACK_BUTTON_DO_NOT_DISPLAY Then Response.Write("selected") End If %> value="<%=SUR_BACK_BUTTON_DO_NOT_DISPLAY%>"><%=SUR_BACK_BUTTON_DO_NOT_DISPLAY%></option>
<option <% If strValue = SUR_BACK_BUTTON_DISPLAY Then Response.Write("selected") End If %> value="<%=SUR_BACK_BUTTON_DISPLAY%>"><%=SUR_BACK_BUTTON_DISPLAY%></option>
<option <% If strValue = SUR_CANCEL_BUTTON_CLOSE Then Response.Write("selected") End If %> value="<%=SUR_CANCEL_BUTTON_CLOSE%>"><%=SUR_CANCEL_BUTTON_CLOSE%></option>
<option <% If strValue = SUR_CANCEL_BUTTON_DO_NOT_DISPLAY Then Response.Write("selected") End If %> value="<%=SUR_CANCEL_BUTTON_DO_NOT_DISPLAY%>"><%=SUR_CANCEL_BUTTON_DO_NOT_DISPLAY%></option>
<option <% If strValue = SUR_CANCEL_BUTTON_END_OF_SURVEY Then Response.Write("selected") End If %> value="<%=SUR_CANCEL_BUTTON_END_OF_SURVEY%>"><%=SUR_CANCEL_BUTTON_END_OF_SURVEY%></option>
<option <% If strValue = SUR_CANCEL_BUTTON_REDIRECT Then Response.Write("selected") End If %> value="<%=SUR_CANCEL_BUTTON_REDIRECT%>"><%=SUR_CANCEL_BUTTON_REDIRECT%></option>
<table cellpadding="3" cellspacing="0" width="540" border="0" summary="This section displays a list of all hidden fields associated with this survey.">
<table cellpadding="3" cellspacing="0" width="540" border="0" summary="This section displays a list of all hidden fields associated with this survey.">
<a href="javascript:alert('Hidden fields can only be added to a survey that does not have any responses.');"><img border="0" src="Resources/Buttons/Configure.gif" alt="Configure hidden fields"></a>
<table cellpadding="3" cellspacing="0" width="540" border="0" summary="This section displays a list of all IP address ranges associated with this survey.">
<a href="IPAddressList.asp?SurveyID=<%=lngSurveyID%>&SurveyName=<%=strTitle%>"><img border="0" src="Resources/Buttons/Configure.gif" alt="Configure IP address ranges"></a>
</th>
</tr>
</table>
<%
Else
%>
<table cellpadding="3" cellspacing="0" width="540" border="0" summary="This section displays a list of all IP address ranges associated with this survey.">
<option <% If strValue = SUR_PAGE_NUMBERING_DISPLAY_PAGE_NUMBER_ONLY Then Response.Write("selected") End If %> value="<%=SUR_PAGE_NUMBERING_DISPLAY_PAGE_NUMBER_ONLY%>"><%=SUR_PAGE_NUMBERING_DISPLAY_PAGE_NUMBER_ONLY%></option>
<option <% If strValue = SUR_PAGE_NUMBERING_DISPLAY_PROGRESS_BAR Then Response.Write("selected") End If %> value="<%=SUR_PAGE_NUMBERING_DISPLAY_PROGRESS_BAR%>"><%=SUR_PAGE_NUMBERING_DISPLAY_PROGRESS_BAR%></option>
<option <% If strValue = SUR_PAGE_NUMBERING_DISPLAY_PROGRESS Then Response.Write("selected") End If %> value="<%=SUR_PAGE_NUMBERING_DISPLAY_PROGRESS%>"><%=SUR_PAGE_NUMBERING_DISPLAY_PROGRESS%></option>
<option <% If strValue = SUR_PAGE_NUMBERING_DO_NOT_DISPLAY Then Response.Write("selected") End If %> value="<%=SUR_PAGE_NUMBERING_DO_NOT_DISPLAY%>"><%=SUR_PAGE_NUMBERING_DO_NOT_DISPLAY%></option>
<option <% If strValue = SUR_QUESTION_NUMBERING_DO_NOT_DISPLAY Then Response.Write("selected") End If %> value="<%=SUR_QUESTION_NUMBERING_DO_NOT_DISPLAY%>"><%=SUR_QUESTION_NUMBERING_DO_NOT_DISPLAY%></option>
<option <% If strValue = SUR_QUESTION_NUMBERING_ENTIRE_SURVEY Then Response.Write("selected") End If %> value="<%=SUR_QUESTION_NUMBERING_ENTIRE_SURVEY%>"><%=SUR_QUESTION_NUMBERING_ENTIRE_SURVEY%></option>
<option <% If strValue = SUR_QUESTION_NUMBERING_EACH_PAGE Then Response.Write("selected") End If %> value="<%=SUR_QUESTION_NUMBERING_EACH_PAGE%>"><%=SUR_QUESTION_NUMBERING_EACH_PAGE%></option>
<option <% If strValue = SUR_REPORT_SECURITY_OWNERS_ONLY Then Response.Write("selected") End If %> value="<%=SUR_REPORT_SECURITY_OWNERS_ONLY%>"><%=SUR_REPORT_SECURITY_OWNERS_ONLY%></option>
<option <% If strValue = SUR_REPORT_SECURITY_SEMI_PRIVATE Then Response.Write("selected") End If %> value="<%=SUR_REPORT_SECURITY_SEMI_PRIVATE%>"><%=SUR_REPORT_SECURITY_SEMI_PRIVATE%></option>
<option <% If strValue = SUR_REPORT_SECURITY_PUBLIC Then Response.Write("selected") End If %> value="<%=SUR_REPORT_SECURITY_PUBLIC%>"><%=SUR_REPORT_SECURITY_PUBLIC%></option>
<option <% If strValue = SUR_BOOLEAN_NEGATIVE Then Response.Write "selected" End If %> value="<%=SUR_BOOLEAN_NEGATIVE%>"><%=SUR_BOOLEAN_NEGATIVE_DISPLAY%></option>
<option <% If strValue = SUR_BOOLEAN_POSITIVE Then Response.Write "selected" End If %> value="<%=SUR_BOOLEAN_POSITIVE%>"><%=SUR_BOOLEAN_POSITIVE_DISPLAY%></option>
</select>
</td>
</tr>
<tr>
<%
'Determine the value to display
If rsSurvey("maximum_responses_for_survey") <> SUR_UNLIMITED_RESPONSES Then