<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Update Choice</title>
    <link rel="stylesheet" href='../../../theme/css/censusmain.css' type="text/css">
	<script type="text/javascript" src="../../../js/images.js"></script>
	<script type="text/javascript" src="../../js/edict/tmplrenamerow.js"></script>
	<script type="text/javascript" src="../../js/edict/edictconstants.js"></script>
	<script type="text/javascript" src="../../../js/cmqsysmsg.js"></script>
	<script type="text/javascript" src="../../../js/mqsysutils.js"></script>
	<script type="text/javascript">
		<!--
			// always define this object for the system messages
			var objSysMsg = new CMqSysMsg;
			
			var m_strColorVal="<WC@FLD_VAL_tColor></WC@FLD_VAL_tColor>";
			var m_lngTypeVal="<WC@FLD_VAL_nType></WC@FLD_VAL_nType>";
			var m_lngDepVal="<WC@FLD_VAL_nDependentFieldID></WC@FLD_VAL_nDependentFieldID>";
			var mstrDepValFldCaption="<WC@DEP_VAL_CAPTION></WC@DEP_VAL_CAPTION>:";
			var mstrDepValOptions='<WC@DEP_VAL_CHOICES></WC@DEP_VAL_CHOICES>';
		//-->
	</script>
</head>

<body class="ToolbarBody" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" onload="OnLoadForm()">
<br />
<center>
<font class="DialogLabel">Update the <b><WC@ROW_VAL></WC@ROW_VAL></b> choice<br>in the <b><WC@ROW_TBL></WC@ROW_TBL></b> choice list</font>
<br /><br />
<table width="100%">
    <tr>
		<td width="30%" align="middle" class="DialogLabel">
			Choice:
		</td>
		<td width="70%" align="left">
			<input name="renameRow" id="renameRow" maxlength="255" class="AdminTextBoxWidth" onmouseover="this.className='AdminTextBoxWidthHover';" onmouseout="this.className='AdminTextBoxWidth';" onkeypress="Pressed(event)" value="<WC@ROW_VAL></WC@ROW_VAL>">
		</td>
    </tr>
	<WC@FLD_EXISTS_tColor>
	<tr >
	    <td colspan="2" class="DialogLabel" align="center" style="padding:10px">
			<hr class="LineSep">
			The color you enter will be used when displaying this choice in the summary list.
<br />Choose to display the choice as either a colored flag image, or as colored text.
<br />You will need to regenerate the Web views for any changes to take effect.
<br /><br /><u><b>Valid formats</b></u>: <b>Hex - </b> #ffffff or #080, <b>Color Name -</b> red,<br /><b>RGB -</b> rgb(255,255,255) or <b>RGB% -</b> rgb(10%,20%,50%).
		</td>
    </tr>
    <tr >
		<td width="30%" align="middle" class="DialogLabel">
			Color:
		</td>
		<td width="70%" align="left">
			<input name="txtColor" id="txtColor" maxlength="50" class="AdminTextBoxWidth" onmouseover="this.className='AdminTextBoxWidthHover';" onmouseout="this.className='AdminTextBoxWidth';" onkeypress="Pressed(event)" onblur="SetColor()">
			<span id="ColorSample" name="ColorSample" class="DialogLabel" style="width:20px; height:16px; background:transparent; border: 1px solid #000000; padding-left:2px"></span>
		</td>
    </tr>
    </WC@FLD_EXISTS_tColor>
    
    <WC@FLD_EXISTS_nType>
    <tr >
		<td width="30%" align="middle" class="DialogLabel">
			Type:
		</td>
		<td width="70%" align="left">
			<select name="cboType" id="cboType" class="AdminComboBoxWidth" onchange="SetColor()">
				<option value="1">Flag</option>
				<option value="2">Text</option>
			</select>
		</td>
    </tr>
    <tr >
		<td colspan="2" align="center" style="padding:10px">
			<hr class="LineSep">
		</td>
	</tr>
    </WC@FLD_EXISTS_nType>

	<WC@FLD_EXISTS_nDependentFieldID>
    <tr>
		<td width="30%" align="middle" class="DialogLabel" id="DepValCaption"></td>
		<td width="70%" align="left" id="DepValList"></td>
    </tr>
    </WC@FLD_EXISTS_nDependentFieldID>

    <tr>
		<td width="100%" align="center" colspan="2">
			<script type="text/javascript">document.write(writeImageAlt("ok","../../../Theme/images/buttons/","js:RenameRow();",78,27,false,"OK"));</script>&nbsp;&nbsp;&nbsp;&nbsp;<script type="text/javascript">document.write(writeImageAlt("close","../../../Theme/images/buttons/","js:window.close();",78,27,false,"Close"));</script>
		</td>
    </tr>
</table>
</center>
</body>
</html>

