var images = {
	// 画像とジャンプ先の URL のペア
	name : ['./img/image1.png', './img/image2.png', './img/image3.png', './img/image4.png', './img/image5.png', './img/image6.png', './img/image7.png', './img/image8.png', './img/image9.png', './img/image10.png'
		    , './img/image11.png', './img/image12.png', './img/image13.png', './img/image14.png'],

	// 画像のサイズ
	size : [150,120,100],
		
	// 順番のシャッフル
	shuffle : function() {
	  for (i = this.name.length; i > 0; --i) {
	    tmp = this.name[p = Math.floor(Math.random()*this.name.length)] ;
	    this.name[p] = this.name[i-1] ;
	    this.name[i-1] = tmp ;
	  }
	},

	p : 0, // 表示画像のポインタ

	// 画像表示
	put : function() {
		document.write('<img src="'+this.name[this.p]+'"  name="pos" width="'+this.size[this.p++]+'" style="border:ridge 2px" />') ;
		if (this.p >= this.size.length) this.p = 0 ;
	}
};

// 画像のシャッフル実行
images.shuffle() ;

