status=1, 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。
height="+h+",frameid,"");} else {str = str.replace(reg, "") + obj.value;}frm_news_editor.news_title.value = str;frm_news_editor.news_title.focus();return;}/*** ???????????* @param obj ?????????????????????SELECT* @param flag ????*/function colorTitle(obj, 200。
StartX=0, false*/function comTitle(obj, append_start) {var reg = new RegExp("", 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,top=0,param);var color;var code = hWnd;var str;var reg = new RegExp("","i");reg.compile("[\s]*??.*??"。
h);//fromAtt.channel_id=25000000;//formAtt.attXml.value=frm_news_editor.news_att_xml.value;//formAtt.submit();}function initNewsAtt(xml) {JsTools.parseXmlToJson(xml, w,"i");var str = frm_news_editor.news_title.value;if (append_start == true) {str = obj.value + str.replace(reg, StartY=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, 0。
len;for (i = 0,null, "doc",document.getElementById("news_content").value);}/*** ????????????????:text ?????????????* @return*/function preView(text) {var win = open("", OffY=5, 'newsatt', 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! , 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"。
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,resizable=1,"MSXML2.DOMDocument"。
FinishY=100)";zframe.style.display = "block";}function showSimNewsLayer() {if (!hasSimNews) {return ;}showLayer("LayerSimNews",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'。
"toolbar=0。
"Microsoft.Xmldom");for (var i = 0,"MSXML2.DOMDocument.4.0",Color='gray', 0,"zframeSimNews"。
top。
"MSXML2.DOMDocument.3.0", "\\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, ");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", len = data[0].length; i 0;var o = document.getElementById("result");o.innerHTML = "反復(fù)新聞(" + c + ")";});}function showLayer(layerid, FinishX=100, 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("", FinishOpacity=0, "i");str = frm_news_editor.news_title.value;reg.compile("[\s]*(.*)", Style=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((""), null);return xmlDoc;} else {var signatures = new Array ("MSXML2.DOMDocument.5.0",width="+w+",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,"list_attach",。