var thephoto=new Array(); thephoto[0]=new Array("111","四月份书画展现场"); thephoto[1]=new Array("110","四月份书画展现场"); thephoto[2]=new Array("109","四月份书画展现场"); thephoto[3]=new Array("108","四月份书画展现场"); thephoto[4]=new Array("107","四月份书画展现场"); thephoto[5]=new Array("106","四月份书画展现场"); thephoto[6]=new Array("105","四月份书画展现场"); thephoto[7]=new Array("104","四月份书画展现场"); thephoto[8]=new Array("103","四月份书画展现场"); thephoto[9]=new Array("99","张大千画集"); thephoto[10]=new Array("91","黄河艺术专集"); thephoto[11]=new Array("90","黄河艺术专集"); thephoto[12]=new Array("89","黄河艺术专集"); thephoto[13]=new Array("88","黄河艺术专集"); thephoto[14]=new Array("87","黄河艺术专集"); thephoto[15]=new Array("86","黄河艺术专集"); thephoto[16]=new Array("85","黄河艺术专集"); thephoto[17]=new Array("84","黄河艺术专集"); thephoto[18]=new Array("83","黄河艺术专集"); thephoto[19]=new Array("82","黄河艺术专集"); thephoto[20]=new Array("61","莱尔汕头展厅"); thephoto[21]=new Array("60","莱尔汕头展厅"); thephoto[22]=new Array("59","莱尔汕头展厅"); thephoto[23]=new Array("58","莱尔汕头展厅"); thephoto[24]=new Array("57","莱尔汕头展厅"); thephoto[25]=new Array("56","莱尔汕头展厅"); thephoto[26]=new Array("55","莱尔汕头展厅"); thephoto[27]=new Array("54","莱尔汕头展厅"); thephoto[28]=new Array("53","莱尔汕头展厅"); thephoto[29]=new Array("52","莱尔汕头展厅"); thephoto[30]=new Array("51","莱尔汕头展厅"); thephoto[31]=new Array("50","莱尔汕头展厅"); thephoto[32]=new Array("49","莱尔汕头展厅"); thephoto[33]=new Array("48","莱尔汕头展厅"); thephoto[34]=new Array("47","莱尔汕头展厅"); thephoto[35]=new Array("46","莱尔汕头展厅"); thephoto[36]=new Array("45","莱尔汕头展厅"); thephoto[37]=new Array("43","莱尔汕头展厅"); thephoto[38]=new Array("39","徐悲鸿画集"); thephoto[39]=new Array("38","徐悲鸿画集"); thephoto[40]=new Array("37","徐悲鸿画集"); thephoto[41]=new Array("36","徐悲鸿画集"); thephoto[42]=new Array("35","徐悲鸿画集"); thephoto[43]=new Array("34","徐悲鸿画集"); thephoto[44]=new Array("33","徐悲鸿画集"); thephoto[45]=new Array("32","徐悲鸿画集"); thephoto[46]=new Array("31","徐悲鸿画集"); thephoto[47]=new Array("30","徐悲鸿画集"); thephoto[48]=new Array("29","徐悲鸿画集"); thephoto[49]=new Array("28","徐悲鸿画集"); thephoto[50]=new Array("27","徐悲鸿画集"); thephoto[51]=new Array("26","徐悲鸿画集"); thephoto[52]=new Array("25","徐悲鸿画集"); thephoto[53]=new Array("24","徐悲鸿画集"); thephoto[54]=new Array("23","徐悲鸿画集"); thephoto[55]=new Array("22","徐悲鸿画集"); thephoto[56]=new Array("21","徐悲鸿画集"); thephoto[57]=new Array("20","徐悲鸿画集"); thephoto[58]=new Array("19","齐白石画集"); thephoto[59]=new Array("18","齐白石画集"); thephoto[60]=new Array("17","张大千画集"); thephoto[61]=new Array("16","张大千画集"); thephoto[62]=new Array("15","张大千画集"); thephoto[63]=new Array("14","张大千画集"); thephoto[64]=new Array("13","张大千画集"); thephoto[65]=new Array("12","张大千画集"); thephoto[66]=new Array("11","张大千画集"); thephoto[67]=new Array("10","张大千画集"); thephoto[68]=new Array("9","张大千画集"); thephoto[69]=new Array("8","张大千画集"); thephoto[70]=new Array("7","张大千画集"); thephoto[71]=new Array("6","张大千画集"); thephoto[72]=new Array("5","张大千画集"); thephoto[73]=new Array("4","张大千画集"); thephoto[74]=new Array("3","张大千画集"); thephoto[75]=new Array("2","张大千画集"); 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_change(group.options[0].text); loadtxt.innerHTML=""; photomain.style.display=""; }