function yuanajax(url,pars,method,onComplete,asynchronous) 
{ var xmlHttp;if(window.ActiveXObject) { 
try { 
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } 
catch(e) { 
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } 
} else if(window.XMLHttpRequest) 
{ xmlHttp = new XMLHttpRequest(); 
}  xmlHttp.onreadystatechange = function() 
{ if(xmlHttp.readyState == 4) 
{ onComplete(xmlHttp); } } 
 if(method.toLowerCase() == "get") { url = url+"?"+pars; 
xmlHttp.open("GET",url,asynchronous); 
xmlHttp.send(null); } 
else { 
xmlHttp.open("POST",url,asynchronous); 
xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); 
xmlHttp.send(pars); } }
function $(x)
{
return document.getElementById(x);
}
function xian(x)
{
if($(x).style.display=="none")
{
$(x).style.display="";
}
else
{
$(x).style.display="none";
}
}
function fuzhi(a,b)
{
$(a).innerHTML=b;
}
function wenjiedian(s)
{
var y=document.createTextNode(s);
return y;
}
function ljs(src)
{
	yuanajax(src,"","get",IncludeJS,true);
	}
function IncludeJS(source) 
{
if (source != null){ 
var oHead = document.getElementsByTagName('HEAD').item(0); 
var oScript = document.createElement("script"); 
oScript.language = "javascript"; 
oScript.type = "text/javascript"; 
oScript.defer = true; 
oScript.text = source.responseText; 
oHead.appendChild(oScript); 
} 
} 
function clearChild(el) {
  if (el != null) {
    if (el.childNodes) {
      for (var i = el.childNodes.length-1;i >= 0;i--) {
        el.removeChild(el.childNodes[i]);
      }
    }
  }
}