no=0;rl=1;at_flg=0; //スタート function play(){ if(at_flg==0){ at_flg=1; at(); } } //自動 function at(){ no=no+rl; if(no>n){no=1;} if(no<1){no=n;} chg(); tim=setTimeout("at()",spd*1000); } //手動 function stp(g){ stop(); rl=g; no=no+rl; if(no>n){no=1;} if(no<1){no=n;} chg(); } //差し替え function chg(){ dd=dt[no].split(","); document.syasin.src=url+dd[0]; document.syasin.width=dd[1]; document.syasin.height=dd[2]; document.myform.pag.value=no; document.myform.dd1.value=dd[1]; document.myform.dd2.value=dd[2]; document.myform.dd3.value=dd[3]; document.myform.dd4.value=dd[4]; document.myform.dd5.value=dd[5]; } //停止 function stop(){ if(at_flg==1){ clearTimeout(tim); at_flg=0; } } //方向 function go(g){ rl=g; if(at_flg==0){ at_flg=1; at(); } } //配置 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('
',ttl,'戻る
'); document.write(''); document.write(' 枚目を表示中'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('総枚数 ',n,' 枚
'); document.write('
'); dd=dt[1].split(","); document.write('
'); document.write('
'); document.write('

'); document.write('撮影:'); document.write('| 解像度:'); document.write('x'); document.write('
'); document.write('
');