var ad_shuffle = {
url : [
  ['<a href="http://www.accesstrade.net/at/c.html?rk=01002kdn002u5y" target="_blank">anエリア <img src="http://www.accesstrade.net/at/r.html?rk=01002kdn002u5y" width="1" height="1" border="0" alt="" /></a>'],
  ['<a href="http://www.accesstrade.net/at/c.html?rk=01002vj8002u5y" target="_blank">anレギュラー<img src="http://www.accesstrade.net/at/r.html?rk=01002vj8002u5y" width="1" height="1" border="0" alt="" /></a>'],
  ['<A href="http://px.a8.net/svt/ejp?a8mat=1BTIF2+6WV7N6+348+HWXLE" target="_blank">Color Me Shop! pro</A><img border="0" width="1" height="1" src="http://www11.a8.net/0.gif?a8mat=1BTIF2+6WV7N6+348+HWXLE" alt="">'],
  ['<a href="http://www.manen.jp/" target="_blank">マンション物件検索の「マンションエンジン」</a><img src="http://track.affiliate-b.com/imp/E948p/n207401/a14421A" width="1" height="1" style="border:none;" />'],
  ['<a href="http://ftb-rmt.jp/" target="_blank">RMTならFTB</a><img src="http://track.affiliate-b.com/imp/1805v/n207401/914153K" 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('<dd class="pr">' + this.url[this.p++][0] + '【PR】') ;
  if (this.p >= this.url.length) this.p = 0 ;
},

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

ad_shuffle.shuffle() ;
