var thephoto=new Array(); thephoto[0]=new Array("95","瓷砖系列"); thephoto[1]=new Array("94","瓷砖系列"); thephoto[2]=new Array("93","瓷砖系列"); thephoto[3]=new Array("92","瓷砖系列"); thephoto[4]=new Array("91","玛木特系列"); thephoto[5]=new Array("90","玛木特系列"); thephoto[6]=new Array("89","玛木特系列"); thephoto[7]=new Array("88","玛木特系列"); thephoto[8]=new Array("87","地霸系列"); thephoto[9]=new Array("86","地霸系列"); thephoto[10]=new Array("85","地霸系列"); thephoto[11]=new Array("84","地霸系列"); thephoto[12]=new Array("83","地霸系列"); thephoto[13]=new Array("82","地霸系列"); thephoto[14]=new Array("81","地霸系列"); thephoto[15]=new Array("80","地霸系列"); thephoto[16]=new Array("79","亚马逊系列"); thephoto[17]=new Array("78","亚马逊系列"); thephoto[18]=new Array("77","亚马逊系列"); thephoto[19]=new Array("76","亚马逊系列"); thephoto[20]=new Array("75","亚马逊系列"); thephoto[21]=new Array("74","亚马逊系列"); thephoto[22]=new Array("73","亚马逊系列"); thephoto[23]=new Array("72","艺术系列"); thephoto[24]=new Array("71","艺术系列"); thephoto[25]=new Array("70","艺术系列"); thephoto[26]=new Array("69","艺术系列"); thephoto[27]=new Array("68","艺术系列"); thephoto[28]=new Array("67","亚马逊系列"); thephoto[29]=new Array("66","亚马逊系列"); thephoto[30]=new Array("65","艺术系列"); thephoto[31]=new Array("64","艺术系列"); thephoto[32]=new Array("63","艺术系列"); thephoto[33]=new Array("62","艺术系列"); thephoto[34]=new Array("61","艺术系列"); thephoto[35]=new Array("60","艺术系列"); thephoto[36]=new Array("59","艺术系列"); thephoto[37]=new Array("58","艺术系列"); thephoto[38]=new Array("57","艺术系列"); thephoto[39]=new Array("56","迪耐磨系列"); thephoto[40]=new Array("55","迪耐磨系列"); thephoto[41]=new Array("54","迪耐磨系列"); thephoto[42]=new Array("53","迪耐磨系列"); thephoto[43]=new Array("52","迪耐磨系列"); var photos=new Array(); var curid=0; function group_change(changeid){ photos.length=0; var selcount=0 for (i=0;i < thephoto.length; i++){ if(thephoto[i][1] == changeid){ photos[selcount]=thephoto[i][0]; selcount++; } } setjindu(); tip.innerHTML="共"+photos.length+"张"; loadpics(photos[0]); } function loadpic(){ group.length=0; group.options[0]=new Option("瓷砖系列","瓷砖系列"); group.options[1]=new Option("玛木特系列","玛木特系列"); group.options[2]=new Option("地霸系列","地霸系列"); group.options[3]=new Option("亚马逊系列","亚马逊系列"); group.options[4]=new Option("艺术系列","艺术系列"); group.options[5]=new Option("迪耐磨系列","迪耐磨系列"); group_change(group.options[0].text); loadtxt.innerHTML=""; photomain.style.display=""; }