<html><head>
<link rel="stylesheet" type="text/css" href="||nwimg||||tpl_color||/surge.css" />
<title>||lang_str||Correct word||</title>

<script language="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>
</head>

<body class="bg1" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onload="focus();">
||ifdef||error||
	||include||_errorinline.tpl||
||endif||
||ifdef||msg||
	||include||_msginline.tpl||
||endif||

<form name="form1" method="POST" action="||b_action||">
<input type="hidden" name="force_connection" value="true">
<input type="hidden" name="word" value="||word||">
<input type="hidden" name="line" value="||line||">
<input type="hidden" name="nword" value="||nword||">

<center>
<table cellpadding="10" cellspacing="0" class="bg1">
<tr>
	<td>
		<table>
		<tr><td class="LF b">&nbsp;&nbsp;||lang_str||Correcting|| '||word||'</td></tr>
		<tr><td>&nbsp;&nbsp;<input type="text" name="corrected_word" value="||word||"></td><tr>
			<td>
				<input type="button" class="btn" onclick="changeword()" value="||lang_str||Change||">
				<input type="button" class="btn" onclick="dicword()" value="||lang_str||Add||">
				<input type="button" class="btn" onclick="window.close()" value="||lang_str||Cancel||">
			</td>
		</tr>
		</table>
	</td>
	<td><select name="spell_alt" onChange="selectword(this)" size="8">
		<option>||spell_alt||</option>
	</select></td>
</tr>
</table>
</center>
</form>
</body>
</html>
