<html>
<head>
<script type="text/javascript">
<!--
function selectword(sel)
{
	var i;
	for (i=0; i<sel.options.length; i++) {
		if (sel.options[i].selected==true) {
			document.form1.corrected_word.value = sel.options[i].text;
		}
	}
}

||ifgreater||netscape_version||4||
	||define||doc||document.||
||else||
	||undef||doc||
||endif||


function changeword()
{
	this.opener.||doc||sendform.cmd.value = "change_word";
	this.opener.||doc||sendform.misspelt_word.value = document.form1.word.value;
	this.opener.||doc||sendform.misspelt_line.value = document.form1.line.value;
	this.opener.||doc||sendform.word_number.value = document.form1.nword.value;
	this.opener.||doc||sendform.corrected_word.value = document.form1.corrected_word.value;
	this.opener.||doc||sendform.submit();
	close();
}

function dicword()
{
	this.opener.||doc||sendform.cmd.value = "add_dict";
	this.opener.||doc||sendform.misspelt_word.value = document.form1.corrected_word.value;
	this.opener.||doc||sendform.submit();
	close();
}

//-->
</script>
	<script type="text/javascript" src="||nwimg||/script_cmd.js"></script>
	<link rel="StyleSheet" href="||nwimg||/skin.css" type="text/css">
||include||css.tpl||
||include||css_color.tpl||

<title>||lang_str||Change word||</title>
</head>

<body onload="focus()">

<form name="form1" method="post" action="||b_action||">
	<input type="hidden" name="attach_id" value="||attach_id||" />
	<input type="hidden" name="isbulletin" value="||isbulletin||" />
	<input type="hidden" name="word" value="||word||" />
	<input type="hidden" name="line" value="||line||" />
	<input type="hidden" name="nword" value="||nword||" />
	<table>
		<tr><td><table>
			<tr><td><h3>||lang_str||Correcting|| '<em>||word||</em>'</h3></td></tr>
			<tr><td><input type="text" name="corrected_word" value="||word||" /></td></tr>
			<tr>
				<td align="center">
					<input type="button" class="button" value="||lang_str||Change||" onclick="changeword();" />

					<input type="button" class="button" value="||lang_str||Add||" onclick="dicword();" />
				</td>
			</tr>
			<tr>	<td align="center">
					<input type="button" class="button" value="||lang_str||Cancel||" onclick="window.close();" />
				</td>
			</tr>
		</table></td>
		<td><select name="spell_alt" onchange="selectword(this)" size="8">
				<option>||spell_alt||</option>
			</select></td>
		</tr>

	</table>
</form>

<hr />
||copyright||
</body>
</html>

||include||message_popup.tpl||
