<%if session("admin")="" then response.Write "" response.End
end if %>
<Script language="JavaScript"> <-- Hide from older browsers... function FormatText(command, option){ frames.message.document.execCommand(command, true, option); frames.message.focus(); } //Function to add image function AddImage(){ imagePath = prompt('请输入图片地址', 'http://'); if ((imagePath != null) && (imagePath != "")){ frames.message.document.execCommand('InsertImage', false, imagePath); frames.message.focus(); } frames.message.focus(); } //Function to clear form function ResetForm(){ if (window.confirm('确认要清空对话框内容?')){ frames.message.document.body.innerHTML = ''; return true; } return false; } //Function to open pop up window function openWin(theURL,winName,features) { window.open(theURL,winName,features); } function setMode(newMode) { bTextMode = newMode; var cont; if (bTextMode) { cleanHtml(); cleanHtml(); cont=message.document.body.innerHTML; message.document.body.innerText=cont; } else { cont=message.document.body.innerText; message.document.body.innerHTML=cont; } message.focus(); } function cleanHtml() { var fonts = message.document.body.all.tags("FONT"); var curr; for (var i = fonts.length - 1; i >= 0; i--) { curr = fonts