<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><script>document.write("<title>"+window.opener.lblInsertTable+"</title>");</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<STYLE>
body { background: #EFEDDE; margin:10px;}
table { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; }
legend { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 14px; padding-left: 5px; padding-right: 8px; }
</STYLE>
<script language="JavaScript" type="text/javascript">
<!--
if(opener.isIE7) {
  window.resizeTo(530, 245);
} else if(document.all) {
  window.resizeTo(530, 235);
} else {
    window.resizeTo(460, 215);
}

function AddTable() {
    var widthType = (document.tableForm.widthType.value == "pixels") ? "" : "%";
    var html = '<table border="' + document.tableForm.border.value + '" cellpadding="' + document.tableForm.padding.value + '" ';
    html += 'cellspacing="' + document.tableForm.spacing.value + '" width="' + document.tableForm.width.value + widthType + '">\n';
    for (var rows = 0; rows < document.tableForm.rows.value; rows++) {
        html += "<tr>\n";
        for (cols = 0; cols < document.tableForm.columns.value; cols++) {
            html += "<td>&nbsp;</td>\n";
        }
        html+= "</tr>\n";
    }
    html += "</table>\n";
    window.opener.insertHTML(html);
    window.opener.showGuidelines("");
    window.close();
}
//-->
</script>
</head><body onLoad="focus();"><form name="tableForm" onSubmit="AddTable();"><table cellpadding="0" cellspacing="0" border="0" width=100%><tr>
<td><fieldset style="margin-left: 5px;"><legend><script>document.write(window.opener.lblInsertTable);</script></legend>
<div style="padding: 2px;"></div>
<table cellpadding="0" cellspacing="0" border="0" width=100%><tr>
<td align="right"><script>document.write(window.opener.lblTableRows);</script>:&nbsp;</td>
<td><input name="rows" type="text" id="rows" value="2" size="4"></td>
<td align="left" valign=middle nowrap>&nbsp;<script>document.write(window.opener.lblTableColumns);</script>:&nbsp;<input name="columns" type="text" id="columns" value="2" size="4"></td>
</tr><tr>
<td align="right"><script>document.write(window.opener.lblTableWidth);</script>:&nbsp;</td>
<td><input name="width" type="text" id="width" value="100" size="4"></td>
<td align="left"><select name="widthType" id="widthType">
<script>document.write('<option value="percent" selected>'+window.opener.lblTablePercent+'</option>');</script>
<script>document.write('<option value="pixels">'+window.opener.lblTablePx+'</option>');</script>
</select>
</td></tr><tr>
<td align="right" nowrap><script>document.write(window.opener.lblTableBorder);</script>:&nbsp;</td>
<td><input name="border" type="text" id="border" value="1" size="4"></td>
<td align="left">&nbsp;<script>document.write(window.opener.lblTablePx);</script></td></tr><tr>
<td align="right"><script>document.write(window.opener.lblTablePadding);</script>:&nbsp;</td>
<td><input name="padding" type="text" id="padding" value="4" size="4"></td>
<td valign=middle nowrap>&nbsp;<script>document.write(window.opener.lblTableSpacing);</script>:&nbsp;<input name="spacing" type="text" id="0" value="0" size="4"></td>
</tr></table><div style="padding: 2px;"></div></fieldset></td>
<td valign=top style="padding: 8px;">
<input type="button" name="btnsubmit" value="" onClick="AddTable();" style="width:100px"/><br>
<input type="button" name="btncancel" value="" onClick="window.close();" style="width:100px"/>
</td></tr></table></form></body></html>
<script>
document.tableForm.btnsubmit.value = window.opener.lblLinkSubmit;
document.tableForm.btncancel.value = window.opener.lblLinkCancel;
</script>
