function ClassList(id)
{
if(id>0)
{
var url = "Inc/ClassList.asp?ParentId="+id+"&rd="+Math.random();
xmlHttp=GetXmlHttpObject(stateChanged)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
}
}
function stateChanged()
{
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{
var txt=unescape(xmlHttp.responseText); /*在接收部分用js的编码转换*/
if(txt!=null&&txt!="")
{
var ShuZu=new Array();
var resp="";
ShuZu=txt.split(",");
for (var i=0;i < ShuZu.length; i++)
{
var lxsz=new Array();
lxsz=ShuZu[i].split("|");
resp=resp+"<a href="+lxsz[0]+">"+lxsz[1]+"</a>"
}
$("ErJiClass").innerHTML=resp;
}
else
{
$("ErJiClass").innerHTML="asdfasdf";
}
}
}
Response.Expires=-1
ParentId=Request.QueryString("ParentId")
Response.Write(escape(GetSmallClass("SmallClass",ParentId)))/*在发送部分用js转换*/