var ad_shuffle = {
url : [
  ['<a href="http://haken.val.ne.jp/h_user/html/ttp/top.html" target="_blank">紹介予定派遣</a><img src="http://track.affiliate-b.com/imp/Z797O/N22107e/L15119Z" width="1" height="1" style="border:none;" />'],
  ['<a href="http://www.sakimonotorihiki.info" target="_blank">先物取引比較</a><img src="http://track.affiliate-b.com/imp/N1107s/N22107e/c16026a" width="1" height="1" style="border:none;" />'],
  ['<a href="http://shouken.in" target="_blank">株の情報なら証券.in</a><img src="http://track.affiliate-b.com/imp/Z1108R/N22107e/Y16192g" width="1" height="1" style="border:none;" />'],
  ['<a href="http://www.eyecity.jp/" target="_blank">コンタクトレンズ</a><img src="http://track.affiliate-b.com/imp/R1661N/N22107e/T33038t" width="1" height="1" style="border:none;" />']
  ],

// 順番のシャッフル
shuffle : function() {
  for (i = this.url.length; i > 0; --i) {
    tmp = this.url[p = Math.floor(Math.random()*i)] ;
    this.url[p] = this.url[i-1] ;
    this.url[i-1] = tmp ;
  }
},

p : 0, // 表示ポインタ

put : function() {
  document.write('　　' + this.url[this.p++][0] + '.PR<br>') ;
  if (this.p >= this.url.length) this.p = 0 ;
}
} ;

ad_shuffle.shuffle() ;
