var mainimage = new Array(
'<a href="http://heaven-gigolo.net/frenchkiss/?author=620"><img src="http://heaven-gigolo.net/images/pickup/flench_misaki.jpg" width="200" height="270" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/frenchkiss/?author=620">魅咲</a>',

'<a href="http://heaven-gigolo.net/platinavip/?author=190"><img src="http://heaven-gigolo.net/images/pickup/platinum_kaede.jpg" width="200" height="270" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/platinavip/?author=190">楓</a>',

'<a href="http://heaven-gigolo.net/jumeirah/?author=649"><img src="http://heaven-gigolo.net/images/pickup/jyumeira_mao.jpg" width="200" height="270" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/jumeirah/?author=649">真央</a>',

'<a href="http://heaven-gigolo.net/samurai/?author=518"><img src="http://heaven-gigolo.net/images/pickup/samurai_okada.jpg" width="200" height="270" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/samurai/?author=518">岡田雅人</a>',

'<a href="http://heaven-gigolo.net/gazelle/?author=33"><img src="http://heaven-gigolo.net/images/pickup/gazel_sanada.jpg" width="200" height="270" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/gazelle/?author=33">真田雅雪</a>',

'<a href="http://heaven-gigolo.net/emerald/?author=622"><img src="http://heaven-gigolo.net/images/pickup/emerald_namida.jpg" width="200" height="270" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/emerald/?author=622">涙</a>',

'<a href="http://heaven-gigolo.net/andveronica/?author=709"><img src="http://heaven-gigolo.net/images/pickup/veronica_tsukasa.jpg" width="200" height="270" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/andveronica/?author=709">司</a>');

//小さいバナーイメージ(又はフラッシュ)を定義
//※大きいバナーと同じ数だけ用意してください。
var subimages = new Array(
  '<a href="http://heaven-gigolo.net/frenchkiss/?author=620"><img src="http://heaven-gigolo.net/images/pickup/flench_misakis.jpg" width="60" height="80" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/frenchkiss/?author=620">魅咲</a>',

'<a href="http://heaven-gigolo.net/platinavip/?author=190"><img src="http://heaven-gigolo.net/images/pickup/platinum_kaedes.jpg" width="60" height="80" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/platinavip/?author=190">楓</a>',

'<a href="http://heaven-gigolo.net/jumeirah/?author=649"><img src="http://heaven-gigolo.net/images/pickup/jyumeira_maos.jpg" width="60" height="80" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/jumeirah/?author=649">真央</a>',

'<a href="http://heaven-gigolo.net/samurai/?author=518"><img src="http://heaven-gigolo.net/images/pickup/samurai_okadas.jpg" width="60" height="80" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/samurai/?author=518">岡田雅人</a>',

'<a href="http://heaven-gigolo.net/gazelle/?author=33"><img src="http://heaven-gigolo.net/images/pickup/gazel_sanadas.jpg" width="60" height="80" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/gazelle/?author=33">真田雅雪</a>',

'<a href="http://heaven-gigolo.net/emerald/?author=622"><img src="http://heaven-gigolo.net/images/pickup/emerald_namidas.jpg" width="60" height="80" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/emerald/?author=622">涙</a>',

'<a href="http://heaven-gigolo.net/andveronica/?author=709"><img src="http://heaven-gigolo.net/images/pickup/veronica_tsukasas.jpg" width="60" height="80" border="0" style="margin-bottom: 4px;" /></a><br /><a href="http://heaven-gigolo.net/andveronica/?author=709">司</a>');

var figure = subimages.length;

for (i=0; i<100; i++) //　100はシャッフルする回数
{
n1 = Math.floor(Math.random() * figure);
n2 = Math.floor(Math.random() * figure);
n = subimages[n1];
m = mainimage[n1]
subimages[n1] = subimages[n2];
mainimage[n1] = mainimage[n2];
subimages[n2] = n;
mainimage[n2] = m;
}

//小さいバナーイメージを呼び出す関数
function putsubimage(cnt){
document.write(subimages[cnt]);
}

//大きいバナーイメージを呼び出す関数
function putmainimage(cnt){
document.write(mainimage[cnt]);
}

//-->
