﻿// JScript 文件
var xmlhttp;
function CreateHttp()
{
    if(window.ActiveXObject)
    {
        xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    else if(window.XMLHttpRequest)
    {
         xmlhttp=new XMLHttpRequest();
    }
}
function getClickInfo(npath)
{
	CreateHttp();
	xmlhttp.open("POST","newsClick.aspx?newfilename="+escape(npath),true);
	xmlhttp.onreadystatechange=getNewsInfo;
	xmlhttp.send(null);
}
function getNewsInfo()
{
	if(xmlhttp.readystate==4 && xmlhttp.status==200)
	{
		var data=xmlhttp.responseText;	
		document.getElementById("clickpath").innerHTML=data;	
	}
}