flag) {var param = "";param += "dialogWidth:350px;";param += "dialogHeight:280px;";param += "center:yes;";param += "status:yes;";param += "scroll:no;";param += "edge:raised;help:no";var hWnd = window.showModalDialog("selcolor.html"。
'newsatt', function(data){var code = "";var oBlock = eval( data );var oAtts = oBlock[0].atts;if (oAtts == null || oAtts.length 1) {obj.remove(1);}}if (data == "") {return "";}// �����б�var i,"");} else {str = str.replace(reg,frameid, len = data[0].length; i 0;var o = document.getElementById("result");o.innerHTML = "反复新闻(" + c + ")";});}function showLayer(layerid, StartY=0。
status=1,resizable=1, w,"i");reg.compile("[\s]*��.*��","list_attach","Microsoft.Xmldom");for (var i = 0。
null, "") + obj.value;}frm_news_editor.news_title.value = str;frm_news_editor.news_title.focus();return;}/*** Ϊ�������ɫ��* @param obj ����Ϊ�����ǰ�ı?Ԫ�أ���SELECT* @param flag ����*/function colorTitle(obj, 0, "i");if (reg.test(str)) {str = RegExp.$1;}if (typeof(code) == "undefined" || code == "undefined" || code == "") {// todo nothing} else if (code == "nocolor") {frm_news_editor.news_title.value = str;}else {frm_news_editor.news_title.value = "" + str + "";}}/*** ����������š�* @param obj �༭������ŵı?Ԫ�أ�ΪTEXTAREA*/function formatNewsLink(obj) {if (obj.value == "") {return;}if (obj.value.indexOf(("")。
Color='gray',"MSXML2.DOMDocument.3.0","MSXML2.DOMDocument.4.0", len = signatures.length; i = 2) {result[oChild[0].text] = oChild[1].text;}}var frm = document.frm_news_editor;frm.news_title.value = result["title"];frm.news_source_name.value = result["source"];frm.news_keywords.value = result["keywords"];Editor.GetEditor().SetHTML(result["content"]);arranged = true;isSmartSnatch = true;} catch(e){alert(e);}}function showText(data) {var SPLIT_CHAR = "__$!enorth! , StartX=0, top, FinishY=100)";zframe.style.display = "block";}function showSimNewsLayer() {if (!hasSimNews) {return ;}showLayer("LayerSimNews","toolbar=0,document.getElementById("news_content").value);}/*** ����Ԥ�����š�����:text �����������ݡ�* @return*/function preView(text) {var win = open("",top=0, "preview");var doc = win.document;var agent = navigator.appName;doc.open("text/html");doc.writeln("");doc.writeln("");doc.writeln("");if(agent=='Netscape') {text=escape(text);re = /%/gi;newtext=text.replace(re, "i");str = frm_news_editor.news_title.value;reg.compile("[\s]*(.*)", len;for (i = 0, append_start) {var reg = new RegExp("", "doc",param);var color;var code = hWnd;var str;var reg = new RegExp("", Style=0,"MSXML2.DOMDocument", h);//fromAtt.channel_id=25000000;//formAtt.attXml.value=frm_news_editor.news_att_xml.value;//formAtt.submit();}function initNewsAtt(xml) {JsTools.parseXmlToJson(xml,width="+w+"。
0。
200);}function hideSimNewsLayer() {var obj = document.getElementById("LayerSimNews");obj.style.display = "none";var zframe = document.getElementById("zframeSimNews");zframe.style.visibility = "hidden";}var ooCheck = new oCheck();// ----- �����ظ������� -----function createXMLObject(){var userAgent = navigator.userAgent.toLowerCase();if (userAgent.indexOf("firefox") > 0) {// ����FIREFOX��XML�ĵ�����var xmlDoc = document.implementation.createDocument("","i");var str = frm_news_editor.news_title.value;if (append_start == true) {str = obj.value + str.replace(reg, FinishX=100,left=0");}function popNewsAtt(){var w = screen.availWidth;var h = screen.availHeight;popWnd('http://edit.hsw.cn:8080/pub/m_news/news_att_frame.jsp?channel_id=25000000', ");frm_news_editor.news_content.value = str;frm_news_editor.request_channel_id.value = "25000000";canClearClip = true;return true;}// ��������ͳ��function showContentLen() {if (Editor.GetMode() == FCK_EDITOR_MODE) {Editor.Synchronise();}showLen("content_len", "\\x");text =eval ( '"' + newtext +'"');doc.writeln(text);} else {doc.writeln(text);}doc.writeln("");doc.writeln("");doc.close();win.focus();}/*** Ϊ�����ǰ��* @param obj ����Ϊ�����ǰ�ı?Ԫ�أ���SELECT* @param append_start �Ƿ�ӵ�����ǰ��ȡֵ��true,。
"zframeSimNews", 200,height="+h+", FinishOpacity=0, null);return xmlDoc;} else {var signatures = new Array ("MSXML2.DOMDocument.5.0"。
false*/function comTitle(obj, left) {var obj = document.getElementById(layerid);obj.style.position = "relative";obj.style.top = top;obj.style.left = left;obj.style.border = "solid 1 black";//obj.style.filter = "progid:DXImageTransform.Microsoft.DropShadow(OffX=5, Positive='true')";obj.style.display = "block";var zframe = document.getElementById(frameid);zframe.style.position = "absolute";zframe.style.top = 0;zframe.style.left = 0;zframe.style.zIndex = obj.style.zIndex - 1;zframe.style.width = document.body.clientWidth;zframe.style.height = document.body.clientHeight;zframe.style.backgroundColor = "#FFFFFF";zframe.style.visibility = "visible";zframe.style.filter = "progid:DXImageTransform.Microsoft.Alpha( Opacity=60,0) == -1) {obj.value = "\r\n\r\n";return;}}/*** �Զ���ɹؼ��*/function autoKeyword() {frm_news_editor.action = "http://edit.hsw.cn:8080/pub/m_news/news_auto_keyword.jsp"frm_news_editor.target = "blankFrame";frm_news_editor.submit();}/*** ���븽��*/function popAttachment() {var url = "http://edit.hsw.cn:8080/pub/m_news/news_attachment_frame.jsp?news_id=051918984";var w = screen.availWidth;var h = screen.availHeight;alert(w);alert(h);var hwnd = window.open(url, OffY=5。