/g, "");
html=html.replace(/<\/P>/g, "");
html=html.replace(/<\/SPAN>/g, "");
HtmlEdit.document.body.innerHTML = html;
format('selectall');
format('RemoveFormat');
}
function InsertChars(CharIndex)
{
if (! validateMode()) return;
HtmlEdit.focus();
var range =HtmlEdit.document.selection.createRange();
var Chars=new Array("
","©","®","™","•","…","—","–");
range.pasteHTML(Chars[CharIndex]);
HtmlEdit.focus();
}
function InsertEQ()
{
HtmlEdit.focus();
var range =HtmlEdit.document.selection.createRange();
var arr = showModalDialog("editor_inserteq.htm", "", "dialogWidth:40em; dialogHeight:20em; status:0;help:0");
if (arr != null){
var ss;
ss=arr.split("*")
a=ss[0];
b=ss[1];
var str1;
str1=""
range.pasteHTML(str1);
}
HtmlEdit.focus();
}
function InstallEQ()
{
window.open ("editor_inserteq.asp?editmode=Install", "", "height=200, width=300,left="+(screen.AvailWidth-300)/2+",top="+(screen.AvailHeight-200)/2+", toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no")
}
function calculator()
{
HtmlEdit.focus();
var range =HtmlEdit.document.selection.createRange();
var arr = showModalDialog("editor_calculator.htm", "", "dialogWidth:205px; dialogHeight:210px; status:0;help:0");
if (arr != null){
var ss;
ss=arr.split("*")
a=ss[0];
b=ss[1];
var str1;
str1=""+a+""
range.pasteHTML(str1);
}
HtmlEdit.focus();
}