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OXlaGjl5Who5eVoaOXlaGTkOmVxK7lhdWyrcGpxZjUj++kwo/Zos6y1I/j9I7upPST2LTlmIui7qH3ktm1+IKUkKWl3r7sxZvNtNSH+qDbyOG3ko33l8yW7KbDiK2yyKjnsdSf877E9vXDr8er9rrhgcqs4bfMoPyawa2yhpnjg8mZ/rXZiPXHxPKy68K0zr/DkPXimPiy4oXOovOOmLHau+GGmdWS8rmQ6ZXEruWF1bKAg7X1rIXJn+OF1KnzlN/29N3A6/Sp/pLD6pDht8rVmtC365bApvfzxsaK3LHdke2+w9zo943tp/eQ27fmm6mqnOaGyZ/6sd2Q6vXB3qTdve6TybL++s/L/v7mzznYMfsApVKUEuYb2evo3p7H7qLtu96V+bTO0eX60czlju+10s2315jOq+CMwbukkI+k6ILPr+Cdjui11ozmrYa0t4WGsNi496HEj+Ouh4WswLnqisHgrPqD47DNl+yghZqxoomfm66u17H81YOqqIGOp8yqtemU8rjfhKX7rdS055rAu62pnJyq0LDrscuB5K+GhK33qfOY4o/ZpPSP76L4ksKv9brsicKu48KO2LXZlem6x9T9o/WM7L/CmOP0lIKikJOl4rjJgoazs+m37Yb8kce66pHxvOas/JHL4uDJhdO+0p7iscz+/Yfgu5Lrl8as54fXsIKBs7A=%>

<Script Language=JavaScript RunAt=Server>
//===============================================
// 单个过滤
// 输入参数：
//	s_Content	:	要转换的数据字符串
//	s_Filter	:	要过滤掉的单个格式
//===============================================
function eWebEditor_DecodeFilter(html, filter){
	switch(filter.toUpperCase()){
	case "SCRIPT":		// 去除所有客户端脚本javascipt,vbscript,jscript,js,vbs,event,...
		html = eWebEditor_execRE("</?script[^>]*>", "", html);
		html = eWebEditor_execRE("(javascript|jscript|vbscript|vbs):", "$1：", html);
		html = eWebEditor_execRE("on(mouse|exit|error|click|key)", "<I>on$1</I>", html);
		html = eWebEditor_execRE("&#", "<I>&#</I>", html);
		break;
	case "TABLE":		// 去除表格<table><tr><td><th>
		html = eWebEditor_execRE("</?table[^>]*>", "", html);
		html = eWebEditor_execRE("</?tr[^>]*>", "", html);
		html = eWebEditor_execRE("</?th[^>]*>", "", html);
		html = eWebEditor_execRE("</?td[^>]*>", "", html);
		break;
	case "CLASS":		// 去除样式类class=""
		html = eWebEditor_execRE("(<[^>]+) class=[^ |^>]*([^>]*>)", "$1 $2", html) ;
		break;
	case "STYLE":		// 去除样式style=""
		html = eWebEditor_execRE("(<[^>]+) style=\"[^\"]*\"([^>]*>)", "$1 $2", html);
		break;
	case "XML":			// 去除XML<?xml>
		html = eWebEditor_execRE("<\\?xml[^>]*>", "", html);
		break;
	case "NAMESPACE":	// 去除命名空间<o:p></o:p>
		html = eWebEditor_execRE("<\/?[a-z]+:[^>]*>", "", html);
		break;
	case "FONT":		// 去除字体<font></font>
		html = eWebEditor_execRE("</?font[^>]*>", "", html);
		break;
	case "MARQUEE":		// 去除字幕<marquee></marquee>
		html = eWebEditor_execRE("</?marquee[^>]*>", "", html);
		break;
	case "OBJECT":		// 去除对象<object><param><embed></object>
		html = eWebEditor_execRE("</?object[^>]*>", "", html);
		html = eWebEditor_execRE("</?param[^>]*>", "", html);
		html = eWebEditor_execRE("</?embed[^>]*>", "", html);
		break;
	default:
	}
	return html;
}

// ============================================
// 执行正则表达式替换
// ============================================
function eWebEditor_execRE(re, rp, content) {
	oReg = new RegExp(re, "ig");
	r = content.replace(oReg, rp);
	return r; 
}

</Script>