document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write('
'); document.write('
'); document.write(" "); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write('
'); document.write(" '); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(' '); document.write('
");document.write("");document.write("
");document.write("
");document.write("
");document.write("");document.write("
");document.write("
");document.write("
");document.write("");document.write("
");document.write("
");document.write("
");document.write("");document.write("
");document.write("
");document.write("
");document.write("");document.write("
");document.write("
");document.write("
");document.write("");document.write("
");document.write("
");document.write("
");document.write("");document.write("
");document.write("
");document.write("
");document.write("");document.write("
");document.write("
");document.write("
");document.write("");document.write("
");document.write("
");document.write("
'); document.write('
'); document.write('
'); document.write('
'); var speed=20; marquePic2.innerHTML=marquePic1.innerHTML function Marquee(){ if(demo.scrollLeft>=marquePic1.scrollWidth){ demo.scrollLeft=0 }else{ demo.scrollLeft++ } } var MyMar=setInterval(Marquee,speed); demo.onmouseover=function() {clearInterval(MyMar)}; demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}; var xmlHttp = false; var e; //创建XMLHTTP对象 function getXMLHTTPObj() { var C = null; try{C = new ActiveXObject("Msxml2.XMLHTTP");} catch(e) { try{C = new ActiveXObject("Microsoft.XMLHTTP");} catch(sc){C = null;} } if( !C && typeof XMLHttpRequest != "undefined" ){C = new XMLHttpRequest();} return C; } //调用远程方法 function chgimg(imgid,flg) { if(flg==1) { try { if( xmlHttp && xmlHttp .readyState != 0 ) { xmlHttp.abort(); } xmlHttp = getXMLHTTPObj(); if( xmlHttp ) { //构造查询字符串 var url = "http://www.guanghei.com/GetItemInfo.asp?itemid=" + imgid; //打开连接 xmlHttp.open("GET", url, true); //设置回调函数 xmlHttp.onreadystatechange = updatePage; //发送请求 xmlHttp.send(null); } else { document.getElementById("itemtext").innerHTML = "XMLHTTP对象创建失败"; } } catch(e) { document.getElementById("itemtext").innerHTML = "查询错误:" + e.description; } } else { document.getElementById("itemtext").innerHTML = ""; } } //回调处理函数 function updatePage() { try { if (xmlHttp.readyState == 1) { document.getElementById("itemtext").innerHTML = "正在加载连接对象......"; } if (xmlHttp.readyState == 2) { document.getElementById("itemtext").innerHTML = "连接对象加载完毕。"; } if (xmlHttp.readyState == 3) { document.getElementById("itemtext").innerHTML = "数据获取中......"; } if (xmlHttp.readyState == 4) { var response = bytes2BSTR(xmlHttp.responseBody); var tarray = response.replace(" "," ").replace("\n","").split("daqieosplitstrings"); var itemname = tarray[0]; var itemtext = tarray[1]; var itemindex = tarray[2]; //document.all("tb"+itemindex).Style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://shop.guanghei.com/itemimages/"+itemindex+"(1).jpg"; document.getElementById("itemtext").innerHTML = "道具名称:"+itemname+"
道具说明:"+itemtext; } } catch (e) { document.getElementById("itemtext").innerHTML = "回调处理错误:" + e.description; } }