
document.write("<style>.cDRed,.cDRed:visited{color:#C30801;}.cBlack,.cBlack:visited,.cBlack a{color:#000;}.cGreen,.cGreen:visited{color:#378432;}</style>");

var f = function(txt)
{
	document.getElementById(art_replace_id).innerHTML = txt;
}

var body = document.getElementById(art_replace_id).innerHTML;
body = encodeURIComponent(body);
body = BASE64.encode(body);
var params = "body="+encodeURIComponent(body);

var http;
try
{
	http = new XMLHttpRequest();
}
catch(e)
{
	http = new ActiveXObject( "Microsoft.XMLHTTP" );
}
try
{
	var params = "body="+encodeURIComponent(body);
	http.open("POST", "/meigu/content_keyword.jsp", true);
	http.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
	http.setRequestHeader("Content-length", params.length);
	http.onreadystatechange = function () 
	{
		if (http.readyState == 4)
		{
			if(http.status==200||http.status==302)
			{
				var text = http.responseText;
				//f(text);
				document.getElementById(art_replace_id).innerHTML = text;
				text = null;
			}
			else
			{
			}
			http = null;
		}
	}
	http.send(params);
}
catch(e)
{
	window.status = e.message;
}

