var arr = new Array(); var array = new Array(); var img=new Image(); var obj0=new Object(); obj0.infoTitle="dmmhyinhun082601.png"; obj0.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082601.png"; array[0]=obj0; var obj1=new Object(); obj1.infoTitle="dmmhyinhun082602.png"; obj1.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082602.png"; array[1]=obj1; var obj2=new Object(); obj2.infoTitle="dmmhyinhun082603.png"; obj2.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082603.png"; array[2]=obj2; var obj3=new Object(); obj3.infoTitle="dmmhyinhun082604.png"; obj3.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082604.png"; array[3]=obj3; var obj4=new Object(); obj4.infoTitle="dmmhyinhun082605.png"; obj4.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082605.png"; array[4]=obj4; var obj5=new Object(); obj5.infoTitle="dmmhyinhun082606.png"; obj5.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082606.png"; array[5]=obj5; var obj6=new Object(); obj6.infoTitle="dmmhyinhun082607.png"; obj6.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082607.png"; array[6]=obj6; var obj7=new Object(); obj7.infoTitle="dmmhyinhun082608.png"; obj7.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082608.png"; array[7]=obj7; var obj8=new Object(); obj8.infoTitle="dmmhyinhun082609.png"; obj8.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082609.png"; array[8]=obj8; var obj9=new Object(); obj9.infoTitle="dmmhyinhun082610.png"; obj9.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082610.png"; array[9]=obj9; var obj10=new Object(); obj10.infoTitle="dmmhyinhun082611.png"; obj10.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082611.png"; array[10]=obj10; var obj11=new Object(); obj11.infoTitle="dmmhyinhun082612.png"; obj11.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082612.png"; array[11]=obj11; var obj12=new Object(); obj12.infoTitle="dmmhyinhun082613.png"; obj12.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082613.png"; array[12]=obj12; var obj13=new Object(); obj13.infoTitle="dmmhyinhun082614.png"; obj13.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082614.png"; array[13]=obj13; var obj14=new Object(); obj14.infoTitle="dmmhyinhun082615.png"; obj14.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082615.png"; array[14]=obj14; var obj15=new Object(); obj15.infoTitle="dmmhyinhun082616.png"; obj15.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082616.png"; array[15]=obj15; var obj16=new Object(); obj16.infoTitle="dmmhyinhun082617.png"; obj16.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082617.png"; array[16]=obj16; var obj17=new Object(); obj17.infoTitle="dmmhyinhun082618.png"; obj17.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082618.png"; array[17]=obj17; var obj18=new Object(); obj18.infoTitle="dmmhyinhun082619.png"; obj18.imageUrl="http://www.it.com.cn/games/image/dm/2011/08/28/16/dmmhyinhun082619.png"; array[18]=obj18; function objSort(a,b){ var i1=a.infoTitle; var i2=b.infoTitle; var arr1=new Array(); arr1[0]=i1; arr1[1]=i2; arr1.sort(); if(arr1[0]==i1){ return -1; }else{ return 1; } } array.sort(objSort); for(var j=0;j第"+i+"页"; }else{ str+=""; } } str+=""; document.getElementById("listPage").innerHTML=str; document.getElementById("listPage2").innerHTML=str; } function pageClick(index){ document.getElementById("imageCenter").src=arr[index]; document.getElementById("count").innerHTML="第"+(index+1)+"页/共"+arr.length+"页"; document.getElementById("count1").innerHTML="第"+(index+1)+"页/共"+arr.length+"页"; this.index=index; showListPage(index); //document.getElementById("pageVaule").value=index+1; var o=document.getElementById("pv"); if(o==null){ o=document.createElement("iframe"); o.width="0"; o.height="0"; o.id="pv"; document.body.appendChild(o); } var o1=document.getElementById("iframe2"); if(o1==null){ o1=document.createElement("iframe"); o1.width="0"; o1.height="0"; o1.id="iframe2"; document.body.appendChild(o1); } window.scrollTo(0,0); o.src="http://gd1.it.com.cn/Article.do?_method=counter&articleId=1006368"; o1.src="http://stats.it.com.cn/count.do?c=758&r="+escape(document.referrer)+"&u="+escape(document.location.href)+"&t="+escape(document.title)+"&dt="+escape(new Date())+"&i=1"; } function GetFileName(strUrl,tag){ var v=strUrl.split(tag); return v[v.length-1]; } function doUp(){ var i=index+1; if(i>=0 && i=arr.length){ showDiv("已经到了最后一张,您可以:"); return 0; }else{ return -1; } } function doDown(){ var i=index-1; if(i>=0 && i 齐乐娱乐