function Link(){ //取系统参数 当为0或长度为0都是错误有 domGetSysSet = new ActiveXObject("Microsoft.XMLDOM"); domGetSysSet.onreadystatechange =function Temp() //取系统参数 { if (domGetSysSet.readyState==4){ var row = domGetSysSet.selectNodes("//link"); if(row.length>0){ var Html ="",Html1=""; Html = "" Html += "" Html += "" Html += "" Html += " " Html += "" for(i=1;i<=row.length-1;i++){ L_sort = row.item(i).attributes.getNamedItem("L_sort").nodeValue; L_name = row.item(i).attributes.getNamedItem("L_name").nodeValue; L_url = row.item(i).attributes.getNamedItem("L_url").nodeValue; L_tilte = row.item(i).attributes.getNamedItem("L_tilte").nodeValue; L_pic = row.item(i).attributes.getNamedItem("L_pic").nodeValue; if(L_sort=="piclink"){ Html += "" if(i % 7 == 0){ Html += "" } }else{ Html1 += "" if(i % 7 == 0){ Html1 += "" } } } Html += "" Html += "" Html += "" Html += "" Html += " " Html += "" Html += Html1; Html += "" Html += "
友 情 站 点
" Html += "" Html += "
" Html1 += ""+L_name+"" Html1 += "
友 情 站 点
" document.getElementById("link").innerHTML=Html; } } } domGetSysSet.async = true; domGetSysSet.load("siteadmin/link/xml.asp"); document.write("
") return; } Link();