/*本文下のユニットの基本形*/

/* 作成元：http://www.notitle-web.com/ */

function display(){

var ad = 4;

/*これ以降は、3,4,5と数字を増やしてください。*/

document.write('<table><tr>');

for(n=0;n < ad;n++)
{
document.write('<td width="200" cellpadding="10">');
random();
document.write('</td>');
}

document.write('</tr></table>');
document.write('');

}

function random()
{

if(n == 0)
{
url = new Array(4); 
img = new Array(url.length);
text = new Array(url.length);


url[0]='http://pt.afl.rakuten.co.jp/c/009f0717.3cf11834/?url=http%3a%2f%2fesearch.rakuten.co.jp%2frms%2fsd%2fesearch%2fvc%3fsv%3d11%26sitem%3d400%252dPRJ001';
img[0]='http://thumbnail.image.rakuten.co.jp/@0_mall/sanwadirect/cabinet/4/400-prj001.jpg?_ex=100x100';
text[0]='<FONT SIZE=1>ちょっとしたプレゼン<BR>に最適ＵＳＢ接続の　<BR>小型プロジェクター。<BR>パワーポインタなどの<BR>資料表示に最適。</font>';

url[1]='http://pt.afl.rakuten.co.jp/c/009f0717.3cf11834/?url=http%3a%2f%2fesearch.rakuten.co.jp%2frms%2fsd%2fesearch%2fvc%3fsv%3d11%26sitem%3dLUMIX%2520DMC%252dGF1';	
img[1]='http://thumbnail.image.rakuten.co.jp/@0_mall/j-pre/cabinet/00610525/gf1.jpg?_ex=100x100';
text[1]='<FONT SIZE=1>世界最小・最軽量でス<BR>タイリッシュなデジタ<BR>ル一眼カメラＡＶＣＨ<BR>ＤＬｉｔｅテレビ等の<BR>ＡＶ機器と簡単連携</font>';

url[2]='http://pt.afl.rakuten.co.jp/c/009f0717.3cf11834/?url=http%3a%2f%2fesearch.rakuten.co.jp%2frms%2fsd%2fesearch%2fvc%3fsv%3d11%26sitem%3d%25C6%25E2%25CC%25EE%25CC%25A4%25CD%25E8';
img[2]='http://thumbnail.image.rakuten.co.jp/@0_mall/forestplus/cabinet/jacket9/4580262381407.jpg?_ex=100x100';
text[2]='<FONT SIZE=1>美少女を紹介する「究<BR>極乙女」シリーズに、<BR>清楚系美少女・内野未<BR>来ちゃんが登場純朴な<BR>ルックスとGカップ</font>';

url[3]='http://pt.afl.rakuten.co.jp/c/009f0717.3cf11834/?url=http%3a%2f%2fesearch.rakuten.co.jp%2frms%2fsd%2fesearch%2fvc%3fsv%3d11%26sitem%3d%25C6%25A3%25B0%25E6%25C8%25FE%25CD%25B3%25B5%25AA';
img[3]='http://thumbnail.image.rakuten.co.jp/@0_mall/forestplus/cabinet/jacket8/4560374370032.jpg?_ex=100x100';
text[3]='<FONT SIZE=1>「流星☆少女」シリー<BR>ズ第２弾！大阪発ユニ<BR>ットＪＫ２１の人気メ<BR>ンバーである藤井美由<BR>紀のファーストDVD</font>';

url[4]='http://pt.afl.rakuten.co.jp/c/009f0717.3cf11834/?url=http%3a%2f%2fesearch.rakuten.co.jp%2frms%2fsd%2fesearch%2fvc%3fsv%3d11%26sitem%3dBTV%252d1000';
img[4]='http://thumbnail.image.rakuten.co.jp/@0_mall/akiba/cabinet/ni3/ad000002590760-200.jpg?_ex=100x100';
text[4]='<FONT SIZE=1>１９９０年代グラビア<BR>誌を席巻していた宮内<BR>知美の初のヘアヌード<BR>写真集。多くの男性が<BR>夢想したボディが公開</font>';

url[5]='http://pt.afl.rakuten.co.jp/c/009f0717.3cf11834/?url=http%3a%2f%2fesearch.rakuten.co.jp%2frms%2fsd%2fesearch%2fvc%3fsv%3d11%26sitem%3dASP%252dP300';
img[5]='http://izuru136.cocolog-nifty.com/gazou/ipodsp100.jpg';
text[5]='<FONT SIZE=1>ｉＰｏｄのＤｏｃｋコ<BR>ネクタに接続する、コ<BR>ンパクトでかわいいブ<BR>ロックスタイルのステ<BR>レオミニスピーカー</font>';

url[6]='http://pt.afl.rakuten.co.jp/c/009f0717.3cf11834/?url=http%3a%2f%2fesearch.rakuten.co.jp%2frms%2fsd%2fesearch%2fvc%3fsv%3d11%26sitem%3dPM1WX16SA';	
img[6]='http://thumbnail.image.rakuten.co.jp/@0_mall/dtc/cabinet/00886042/4560298373751.jpg?_ex=100x100';	
text[6]='<FONT SIZE=1>ポケットサイズのボデ<BR>ィ軽量３４５ｇでゲー<BR>ム機感覚で持ち歩ける<BR>ＷｉｎＸＰタッチパネ<BR>ル式ミニノート。</font>';

url[7]='http://pt.afl.rakuten.co.jp/c/009f0717.3cf11834/?url=http%3a%2f%2fesearch.rakuten.co.jp%2frms%2fsd%2fesearch%2fvc%3fsv%3d11%26sitem%3diPod%2520nano%2520MC0';	
img[7]='http://izuru136.cocolog-nifty.com/gazou/nano100.jpg';	
text[7]='<FONT SIZE=1>アップル、ビデオ機能<BR>やＦＭチューナなどを<BR>搭載したミュージック<BR>プレーヤー新ｉＰｏｄ<BR>ｎａｎｏ９色展開で</font>';


}

i = Math.floor(Math.random( ) * url.length);
document.write('<a href="'+url[i]+'" target="_blank">'); 
document.write('<img src="'+img[i]+'" border="0" align="center"></a><br>');
document.write('<p style= "line-height: 120%;"><a href="'+url[i]+'"target="_blank">' + text[i] + '</a></p>');
url.splice(i,1);
img.splice(i,1);
text.splice(i,1);
}