<!--#include file="top.asp"-->
<%
'**************************************
'* 最后更新 2009-8-4 by 56770.kingdge 
'* Copyright www.56770.com             
'*************************************
strwebtitle="模板演示 - "
sitename = site_name
response.write splits(skin_head)
%>
<table border="0" cellspacing="1" cellpadding="3" width="<%=skin_width%>" align=center>
<tr><td style="width:<%=skin_width%>; border:1px; border-width:1px;border-style: dotted;color: #000000;font-size:12px;">
<script>
var temp_view;
temp_view = opener.txtRun.value;
temp_view = ReplaceAll(temp_view, "{$skin_align}", "<%=skin_align%>")
temp_view = ReplaceAll(temp_view, "{$skin_width}", "<%=skin_width%>")
temp_view = ReplaceAll(temp_view, "{$skin_folder}", "<%=skin_folder%>")
document.write(temp_view);
function ReplaceAll(str, sptr, sptr1)
{
while (str.indexOf(sptr) >= 0)
{
   str = str.replace(sptr, sptr1);
}
return str;
}
function killErrors() {
return true;
}
window.onerror = killErrors;
dd
</script></td></tr>
<tr><th height="22">模 板 编 辑 窗 口</th></tr>
<tr><td align=center width="98%">
<form name="vieweditTXT" ><TEXTAREA id="edittxt" ROWS="20" COLS="100" style="width:<%=skin_width%>; border:0px; border-width:1px;border-style: dotted;color: #000000;font-size:12px;" ></TEXTAREA></td></tr>
<tr>
	<td height="22" align=center>
	<input type="button" name="editbutton" value="保存修改" onclick="selfedit()" class="wenbenkuang1">
	<input type="button" name="close" value="关闭窗口" onclick="window.close()" class="wenbenkuang1">
	<!-- <button onclick="edittxt.readOnly=true">ReadOnly</button> -->
	</td>
</tr>
</form>
</table>
<script>
document.vieweditTXT.edittxt.value=self.opener.txtRun.value
function selfedit(){
var n=opener.txtRun
self.opener.txtRun.value=vieweditTXT.edittxt.value;
//alert(""); 
self.close();
//return false;
}
</script>