
	function onMouseCome(hiddenDivs,showDiv,showimgid,showimg,hiddenImgids,hiddenImgs)//1:要隐藏的层2：要显示的层3：要显示图片的id4：要显示的图片5：隐藏的图骗ID，6：要隐藏的图片
	{
		for(var i in hiddenDivs)
		{
			document.getElementById(hiddenDivs[i]).style.display="none";
		}
		document.getElementById(showDiv).style.display="block";
		document.getElementById(showimgid).src="images/"+showimg;
		for(var i in hiddenImgids)
		{
			document.getElementById(hiddenImgids[i]).src="images/"+hiddenImgs[i];
		}
		
	}
	function CreateXmlHttp(clsid) {
    var xmlHttp = false;
    xmlHttp = new ActiveXObject(clsid);
    return xmlHttp;
}
function GetMSXmlHttp() {
    var xmlHttp = null;
    var clsids = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.4.0", "Msxml2.XMLHTTP.3.0"];
    for (var i = 0; i < clsids.length && xmlHttp == null; i++) {
        xmlHttp = CreateXmlHttp(clsids[i]);
    }
    return xmlHttp;
} 
function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}
//--------------------------------创建xmlhttprequest对象
function SendXmlHttpRequest(url,htmtxt) {
    var objXmlHttp = null;
	var objXmlHttp = null;
    var showResponse=function(){
        if(objXmlHttp.readyState==4)
        {
            if(objXmlHttp.status==200)
            {			
				document.getElementById(htmtxt).innerHTML=objXmlHttp.responseText;				
			}
		}
      //  else //请求状态还没有成功，页面等待
//        {
//            document.getElementById(htmtxt).innerHTML = "数据加载中..";
//        }
	}
    if (!window.XMLHttpRequest) {
        objXmlHttp = GetMSXmlHttp();
    }
    else {
        objXmlHttp = GetXmlHttpObject();
    }
      objXmlHttp.onreadystatechange=showResponse;
    objXmlHttp.open("POST", url, true);
    objXmlHttp.send("");
}

function index() {
 SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&SortId=5&ListNum=7&num=30&tps=0","gssgdata");
 SendXmlHttpRequest("News/File/sydata.asp?style=2","stu");	
 SendXmlHttpRequest("News/File/sydata.asp?style=1","syzdt");
 index2()
 index3()
index4()
 index5()
 index6()
 index7()//setTimeout("",3000);
   SendXmlHttpRequest("News/File/sydata.asp?style=7","lstdb");
   SendXmlHttpRequest("News/File/sydata.asp?style=6","gzzcb");
   SendXmlHttpRequest("News/File/sydata.asp?style=8","sfjdgzb");
   
}
function index2()
{
    SendXmlHttpRequest("News/File/sydata.asp?style=9","jlcontentlefts");
    SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=62","nlgza");
    SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&p=p&SortId=62&ListNum=4&num=50&tps=0","nlgzb");
	SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&SortId=7&ListNum=5&num=30&tps=0","bzonea");
     SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&SortId=175&ListNum=5&num=30&tps=0","xzonea");
    SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&SortId=9&ListNum=5&num=30&tps=0","bgonea");
}
function index3()
{
    SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=17","jcsfxza");
    SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&p=p&SortId=17&ListNum=3&num=30&tps=0","jcsfxzb");
	SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=11","pfyfzla");
    SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&p=p&SortId=11&ListNum=4&num=30&tps=0","pfyfzlb");
}
function index4()
{
    SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=168","lstda");
    SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=170","gzzca");//服务器获取文件内容出错"<li><a href=http://www.xbgz-china.org/xbgz/admin/news_view.asp?newsid=1561 target=_blank title='《公证文书格式》内容更正通知'>·《公证文书格式》内容更正通知</a></li><li><a href=http://www.xbgz-china.org/xbgz/admin/news_view.asp?newsid=1831 target=_blank title='重庆市公证协会关于举办要素式公证文书培训班的通知'>·重庆市公证协会关于举办要素式公证文书培训班的通知</a></li><li><a href=http://www.xbgz-china.org/xbgz/admin/news_view.asp?newsid=1821 target=_blank title='重庆市公证协会关于举办第二届运动会的补充通知'>·重庆市公证协会关于举办第二届运动会的补充通知</a></li><li><a href=http://www.xbgz-china.org/xbgz/admin/news_view.asp?newsid=1820 target=_blank title='关于做好2009年6月重庆市专业技术人员职称计算机考试考务工作的通知'>·关于做好2009年6月重庆市专业技术人员职称计算机考试考…</a></li>";//

    SendXmlHttpRequest("News/File/sydata.asp?style=5","gkxxs");
    }
function index5()
{
	
	SendXmlHttpRequest("SendMsg/TopicList.asp?s=s&style=9&SortId=2&ListNum=3&num=56","jffws");
	
    SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=27","flyza");
    SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&p=p&SortId=27&ListNum=4&num=21&tps=0","flyzb");
    SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=155","sfksa");
     SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&p=p&SortId=155&ListNum=4&num=21&tps=0","sfksb");
  }
function index6()
{
  SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=172","sfjdgza");
     SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=113","sfxha");
    SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&p=p&SortId=113&ListNum=4&num=21&tps=0","sfxhb");

    SendXmlHttpRequest("news/file/kbTopicList.asp?s=s&style=2&ListNum=5&num=18&tps=0","bwybs");

}
function index7()
{
    SendXmlHttpRequest("News/File/TopicListadd.asp?s=s&style=3&ListNum=5&cyday=30&Num=18&tps=0","byphb");
   
    SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=33","dwjsa");
    SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&p=p&SortId=33&ListNum=4&num=21&tps=0","dwjsb");
    SendXmlHttpRequest("News/File/imgList.asp?s=s&cyimg=1&Sort_Parent=43","dflza");
    SendXmlHttpRequest("News/File/TopicList.asp?s=s&style=1&p=p&SortId=43&ListNum=4&num=21&tps=0","dflzb");

	
	//document.write(SendXmlHttpRequest("News/File/sydata.asp?style=4"))
	
	
}
	
