記憶2

|戻る|

プログラム
<HTML><HEAD><TITLE>random</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- Images=new Array(36); Images[1]=new Image();Images[1].src="../photo/01.jpg"; Images[2]=new Image();Images[2].src="../photo/02.jpg"; Images[3]=new Image();Images[3].src="../photo/03.jpg"; Images[4]=new Image();Images[4].src="../photo/04.jpg"; Images[5]=new Image();Images[5].src="../photo/05.jpg"; Images[6]=new Image();Images[6].src="../photo/06.jpg"; Images[7]=new Image();Images[7].src="../photo/07.jpg"; Images[8]=new Image();Images[8].src="../photo/08.jpg"; Images[9]=new Image();Images[9].src="../photo/09.jpg"; Images[10]=new Image();Images[10].src="../photo/10.jpg"; Images[11]=new Image();Images[11].src="../photo/11.jpg"; Images[12]=new Image();Images[12].src="../photo/12.jpg"; Images[13]=new Image();Images[13].src="../photo/13.jpg"; Images[14]=new Image();Images[14].src="../photo/14.jpg"; Images[15]=new Image();Images[15].src="../photo/15.jpg"; Images[16]=new Image();Images[16].src="../photo/16.jpg"; Images[17]=new Image();Images[17].src="../photo/17.jpg"; Images[18]=new Image();Images[18].src="../photo/18.jpg"; Images[19]=new Image();Images[19].src="../photo/19.jpg"; Images[20]=new Image();Images[20].src="../photo/20.jpg"; Images[21]=new Image();Images[21].src="../photo/21.jpg"; Images[22]=new Image();Images[22].src="../photo/22.jpg"; Images[23]=new Image();Images[23].src="../photo/23.jpg"; Images[24]=new Image();Images[24].src="../photo/24.jpg"; Images[25]=new Image();Images[25].src="../photo/25.jpg"; Images[26]=new Image();Images[26].src="../photo/26.jpg"; Images[27]=new Image();Images[27].src="../photo/27.jpg"; Images[28]=new Image();Images[28].src="../photo/28.jpg"; Images[29]=new Image();Images[29].src="../photo/29.jpg"; Images[30]=new Image();Images[30].src="../photo/30.jpg"; Images[31]=new Image();Images[31].src="../photo/31.jpg"; Images[32]=new Image();Images[32].src="../photo/32.jpg"; Images[33]=new Image();Images[33].src="../photo/33.jpg"; Images[34]=new Image();Images[34].src="../photo/34.jpg"; Images[35]=new Image();Images[35].src="../photo/35.jpg"; Images[36]=new Image();Images[36].src="../photo/36.jpg"; function change_image(){ var n=Math.random(); if(n<=(1/36)) document.image1.src=Images[1].src; else{if(n<=(2/36)) document.image1.src=Images[2].src; else{if(n<=(3/36)) document.image1.src=Images[3].src; else{if(n<=(4/36)) document.image1.src=Images[4].src; else{if(n<=(5/36)) document.image1.src=Images[5].src; else{if(n<=(6/36)) document.image1.src=Images[6].src; else{if(n<=(7/36)) document.image1.src=Images[7].src; else{if(n<=(8/36)) document.image1.src=Images[8].src; else{if(n<=(9/36)) document.image1.src=Images[9].src; else{if(n<=(10/36)) document.image1.src=Images[10].src; else{if(n<=(11/36)) document.image1.src=Images[11].src; else{if(n<=(12/36)) document.image1.src=Images[12].src; else{if(n<=(13/36)) document.image1.src=Images[13].src; else{if(n<=(14/36)) document.image1.src=Images[14].src; else{if(n<=(15/36)) document.image1.src=Images[15].src; else{if(n<=(16/36)) document.image1.src=Images[16].src; else{if(n<=(17/36)) document.image1.src=Images[17].src; else{if(n<=(18/36)) document.image1.src=Images[18].src; else{if(n<=(19/36)) document.image1.src=Images[19].src; else{if(n<=(20/36)) document.image1.src=Images[20].src; else{if(n<=(21/36)) document.image1.src=Images[21].src; else{if(n<=(22/36)) document.image1.src=Images[22].src; else{if(n<=(23/36)) document.image1.src=Images[23].src; else{if(n<=(24/36)) document.image1.src=Images[24].src; else{if(n<=(25/36)) document.image1.src=Images[25].src; else{if(n<=(26/36)) document.image1.src=Images[26].src; else{if(n<=(27/36)) document.image1.src=Images[27].src; else{if(n<=(28/36)) document.image1.src=Images[28].src; else{if(n<=(29/36)) document.image1.src=Images[29].src; else{if(n<=(30/36)) document.image1.src=Images[30].src; else{if(n<=(31/36)) document.image1.src=Images[31].src; else{if(n<=(32/36)) document.image1.src=Images[32].src; else{if(n<=(33/36)) document.image1.src=Images[33].src; else{if(n<=(34/36)) document.image1.src=Images[34].src; else{if(n<=(35/36)) document.image1.src=Images[35].src; else{if(n<=1) document.image1.src=Images[36].src; }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}; var m=Math.random(); if(m<=(1/36)) document.image2.src=Images[1].src; else{if(m<=(2/36)) document.image2.src=Images[2].src; else{if(m<=(3/36)) document.image2.src=Images[3].src; else{if(m<=(4/36)) document.image2.src=Images[4].src; else{if(m<=(5/36)) document.image2.src=Images[5].src; else{if(m<=(6/36)) document.image2.src=Images[6].src; else{if(m<=(7/36)) document.image2.src=Images[7].src; else{if(m<=(8/36)) document.image2.src=Images[8].src; else{if(m<=(9/36)) document.image2.src=Images[9].src; else{if(m<=(10/36)) document.image2.src=Images[10].src; else{if(m<=(11/36)) document.image2.src=Images[11].src; else{if(m<=(12/36)) document.image2.src=Images[12].src; else{if(m<=(13/36)) document.image2.src=Images[13].src; else{if(m<=(14/36)) document.image2.src=Images[14].src; else{if(m<=(15/36)) document.image2.src=Images[15].src; else{if(m<=(16/36)) document.image2.src=Images[16].src; else{if(m<=(17/36)) document.image2.src=Images[17].src; else{if(m<=(18/36)) document.image2.src=Images[18].src; else{if(m<=(19/36)) document.image2.src=Images[19].src; else{if(m<=(20/36)) document.image2.src=Images[20].src; else{if(m<=(21/36)) document.image2.src=Images[21].src; else{if(m<=(22/36)) document.image2.src=Images[22].src; else{if(m<=(23/36)) document.image2.src=Images[23].src; else{if(m<=(24/36)) document.image2.src=Images[24].src; else{if(m<=(25/36)) document.image2.src=Images[25].src; else{if(m<=(26/36)) document.image2.src=Images[26].src; else{if(m<=(27/36)) document.image2.src=Images[27].src; else{if(m<=(28/36)) document.image2.src=Images[28].src; else{if(m<=(29/36)) document.image2.src=Images[29].src; else{if(m<=(30/36)) document.image2.src=Images[30].src; else{if(m<=(31/36)) document.image2.src=Images[31].src; else{if(m<=(32/36)) document.image2.src=Images[32].src; else{if(m<=(33/36)) document.image2.src=Images[33].src; else{if(m<=(34/36)) document.image2.src=Images[34].src; else{if(m<=(35/36)) document.image2.src=Images[35].src; else{if(m<=1) document.image2.src=Images[36].src; }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}; var p=Math.random(); if(p<=(1/36)) document.image3.src=Images[1].src; else{if(p<=(2/36)) document.image3.src=Images[2].src; else{if(p<=(3/36)) document.image3.src=Images[3].src; else{if(p<=(4/36)) document.image3.src=Images[4].src; else{if(p<=(5/36)) document.image3.src=Images[5].src; else{if(p<=(6/36)) document.image3.src=Images[6].src; else{if(p<=(7/36)) document.image3.src=Images[7].src; else{if(p<=(8/36)) document.image3.src=Images[8].src; else{if(p<=(9/36)) document.image3.src=Images[9].src; else{if(p<=(10/36)) document.image3.src=Images[10].src; else{if(p<=(11/36)) document.image3.src=Images[11].src; else{if(p<=(12/36)) document.image3.src=Images[12].src; else{if(p<=(13/36)) document.image3.src=Images[13].src; else{if(p<=(14/36)) document.image3.src=Images[14].src; else{if(p<=(15/36)) document.image3.src=Images[15].src; else{if(p<=(16/36)) document.image3.src=Images[16].src; else{if(p<=(17/36)) document.image3.src=Images[17].src; else{if(p<=(18/36)) document.image3.src=Images[18].src; else{if(p<=(19/36)) document.image3.src=Images[19].src; else{if(p<=(20/36)) document.image3.src=Images[20].src; else{if(p<=(21/36)) document.image3.src=Images[21].src; else{if(p<=(22/36)) document.image3.src=Images[22].src; else{if(p<=(23/36)) document.image3.src=Images[23].src; else{if(p<=(24/36)) document.image3.src=Images[24].src; else{if(p<=(25/36)) document.image3.src=Images[25].src; else{if(p<=(26/36)) document.image3.src=Images[26].src; else{if(p<=(27/36)) document.image3.src=Images[27].src; else{if(p<=(28/36)) document.image3.src=Images[28].src; else{if(p<=(29/36)) document.image3.src=Images[29].src; else{if(p<=(30/36)) document.image3.src=Images[30].src; else{if(p<=(31/36)) document.image3.src=Images[31].src; else{if(p<=(32/36)) document.image3.src=Images[32].src; else{if(p<=(33/36)) document.image3.src=Images[33].src; else{if(p<=(34/36)) document.image3.src=Images[34].src; else{if(p<=(35/36)) document.image3.src=Images[35].src; else{if(p<=1) document.image3.src=Images[36].src; }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}; var q=Math.random(); if(q<=(1/36)) document.image4.src=Images[1].src; else{if(q<=(2/36)) document.image4.src=Images[2].src; else{if(q<=(3/36)) document.image4.src=Images[3].src; else{if(q<=(4/36)) document.image4.src=Images[4].src; else{if(q<=(5/36)) document.image4.src=Images[5].src; else{if(q<=(6/36)) document.image4.src=Images[6].src; else{if(q<=(7/36)) document.image4.src=Images[7].src; else{if(q<=(8/36)) document.image4.src=Images[8].src; else{if(q<=(9/36)) document.image4.src=Images[9].src; else{if(q<=(10/36)) document.image4.src=Images[10].src; else{if(q<=(11/36)) document.image4.src=Images[11].src; else{if(q<=(12/36)) document.image4.src=Images[12].src; else{if(q<=(13/36)) document.image4.src=Images[13].src; else{if(q<=(14/36)) document.image4.src=Images[14].src; else{if(q<=(15/36)) document.image4.src=Images[15].src; else{if(q<=(16/36)) document.image4.src=Images[16].src; else{if(q<=(17/36)) document.image4.src=Images[17].src; else{if(q<=(18/36)) document.image4.src=Images[18].src; else{if(q<=(19/36)) document.image4.src=Images[19].src; else{if(q<=(20/36)) document.image4.src=Images[20].src; else{if(q<=(21/36)) document.image4.src=Images[21].src; else{if(q<=(22/36)) document.image4.src=Images[22].src; else{if(q<=(23/36)) document.image4.src=Images[23].src; else{if(q<=(24/36)) document.image4.src=Images[24].src; else{if(q<=(25/36)) document.image4.src=Images[25].src; else{if(q<=(26/36)) document.image4.src=Images[26].src; else{if(q<=(27/36)) document.image4.src=Images[27].src; else{if(q<=(28/36)) document.image4.src=Images[28].src; else{if(q<=(29/36)) document.image4.src=Images[29].src; else{if(q<=(30/36)) document.image4.src=Images[30].src; else{if(q<=(31/36)) document.image4.src=Images[31].src; else{if(q<=(32/36)) document.image4.src=Images[32].src; else{if(q<=(33/36)) document.image4.src=Images[33].src; else{if(q<=(34/36)) document.image4.src=Images[34].src; else{if(q<=(35/36)) document.image4.src=Images[35].src; else{if(q<=1) document.image4.src=Images[36].src; }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}; var r=Math.random(); if(r<=(1/36)) document.image5.src=Images[1].src; else{if(r<=(2/36)) document.image5.src=Images[2].src; else{if(r<=(3/36)) document.image5.src=Images[3].src; else{if(r<=(4/36)) document.image5.src=Images[4].src; else{if(r<=(5/36)) document.image5.src=Images[5].src; else{if(r<=(6/36)) document.image5.src=Images[6].src; else{if(r<=(7/36)) document.image5.src=Images[7].src; else{if(r<=(8/36)) document.image5.src=Images[8].src; else{if(r<=(9/36)) document.image5.src=Images[9].src; else{if(r<=(10/36)) document.image5.src=Images[10].src; else{if(r<=(11/36)) document.image5.src=Images[11].src; else{if(r<=(12/36)) document.image5.src=Images[12].src; else{if(r<=(13/36)) document.image5.src=Images[13].src; else{if(r<=(14/36)) document.image5.src=Images[14].src; else{if(r<=(15/36)) document.image5.src=Images[15].src; else{if(r<=(16/36)) document.image5.src=Images[16].src; else{if(r<=(17/36)) document.image5.src=Images[17].src; else{if(r<=(18/36)) document.image5.src=Images[18].src; else{if(r<=(19/36)) document.image5.src=Images[19].src; else{if(r<=(20/36)) document.image5.src=Images[20].src; else{if(r<=(21/36)) document.image5.src=Images[21].src; else{if(r<=(22/36)) document.image5.src=Images[22].src; else{if(r<=(23/36)) document.image5.src=Images[23].src; else{if(r<=(24/36)) document.image5.src=Images[24].src; else{if(r<=(25/36)) document.image5.src=Images[25].src; else{if(r<=(26/36)) document.image5.src=Images[26].src; else{if(r<=(27/36)) document.image5.src=Images[27].src; else{if(r<=(28/36)) document.image5.src=Images[28].src; else{if(r<=(29/36)) document.image5.src=Images[29].src; else{if(r<=(30/36)) document.image5.src=Images[30].src; else{if(r<=(31/36)) document.image5.src=Images[31].src; else{if(r<=(32/36)) document.image5.src=Images[32].src; else{if(r<=(33/36)) document.image5.src=Images[33].src; else{if(r<=(34/36)) document.image5.src=Images[34].src; else{if(r<=(35/36)) document.image5.src=Images[35].src; else{if(r<=1) document.image5.src=Images[36].src; }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}; var s=Math.random(); if(s<=(1/36)) document.image6.src=Images[1].src; else{if(s<=(2/36)) document.image6.src=Images[2].src; else{if(s<=(3/36)) document.image6.src=Images[3].src; else{if(s<=(4/36)) document.image6.src=Images[4].src; else{if(s<=(5/36)) document.image6.src=Images[5].src; else{if(s<=(6/36)) document.image6.src=Images[6].src; else{if(s<=(7/36)) document.image6.src=Images[7].src; else{if(s<=(8/36)) document.image6.src=Images[8].src; else{if(s<=(9/36)) document.image6.src=Images[9].src; else{if(s<=(10/36)) document.image6.src=Images[10].src; else{if(s<=(11/36)) document.image6.src=Images[11].src; else{if(s<=(12/36)) document.image6.src=Images[12].src; else{if(s<=(13/36)) document.image6.src=Images[13].src; else{if(s<=(14/36)) document.image6.src=Images[14].src; else{if(s<=(15/36)) document.image6.src=Images[15].src; else{if(s<=(16/36)) document.image6.src=Images[16].src; else{if(s<=(17/36)) document.image6.src=Images[17].src; else{if(s<=(18/36)) document.image6.src=Images[18].src; else{if(s<=(19/36)) document.image6.src=Images[19].src; else{if(s<=(20/36)) document.image6.src=Images[20].src; else{if(s<=(21/36)) document.image6.src=Images[21].src; else{if(s<=(22/36)) document.image6.src=Images[22].src; else{if(s<=(23/36)) document.image6.src=Images[23].src; else{if(s<=(24/36)) document.image6.src=Images[24].src; else{if(s<=(25/36)) document.image6.src=Images[25].src; else{if(s<=(26/36)) document.image6.src=Images[26].src; else{if(s<=(27/36)) document.image6.src=Images[27].src; else{if(s<=(28/36)) document.image6.src=Images[28].src; else{if(s<=(29/36)) document.image6.src=Images[29].src; else{if(s<=(30/36)) document.image6.src=Images[30].src; else{if(s<=(31/36)) document.image6.src=Images[31].src; else{if(s<=(32/36)) document.image6.src=Images[32].src; else{if(s<=(33/36)) document.image6.src=Images[33].src; else{if(s<=(34/36)) document.image6.src=Images[34].src; else{if(s<=(35/36)) document.image6.src=Images[35].src; else{if(s<=1) document.image6.src=Images[36].src; }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}; setTimeout('change_image()',2000); } //ランダムに画像を表示--> </SCRIPT> </HEAD> <BODY text="gray" BGCOLOR="#000000" onLoad="change_image()"> <CENTER> 記憶2<BR><br> |<A HREF="../../index.html">戻る</A>|<P> <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0> <TR> <TD><IMG SRC="../photo/01.jpg" NAME="image1"></TD> <TD><IMG SRC="../photo/02.jpg" NAME="image2"></TD> <TD><IMG SRC="../photo/03.jpg" NAME="image3"></TD> </TR> <TR> <TD><IMG SRC="../photo/04.jpg" NAME="image4"></TD> <TD><IMG SRC="../photo/05.jpg" NAME="image5"></TD> <TD><IMG SRC="../photo/06.jpg" NAME="image6"></TD> </TR> </TABLE><P> |<A HREF="../../../3koma/index.html">戻る</A>|<P> </CENTER> </BODY> </HTML>

|戻る|