<!--

var subimages = new Array(
		'<a href="http://gw.tv/fw/contents/Nnbb/?aid=100304_nbb" target="_parent"><img src="/fw/index/banner/s/0304_N.jpg" alt="N.Natural Beauty Basic*がデビュー！" width="216" height="90" border="0"></a>',
		
		'<a href="http://gw.tv/fw/b/pc/Search.html?mthd=06&SC=0F1&PQ=200&KW=CEC_10SSBOOK&A=06&B=&C=&D=00&PIC=1003_CECILBOOK&aid=1003cecil" target="_parent"><img src="/fw/index/banner/s/0301_cecil.jpg" alt="CECILBOOK掲載アイテム3/3(水)12時販売スタート！" width="216" height="90" border="0"></a>',
		
		'<a href="http://gw.tv/fw/contents/tgc/collabo?aid=1002tgc" target="_parent"><img src="/fw/index/banner/s/0226_tgc.jpg" alt="TGC公式販売連動はじまる！" width="216" height="90" border="0"></a>',
		
		'<a href="http://gw.tv/fw/b/pc/Search.html?mthd=06&DS=1&SC=0F1&BG=&A=01&B=&C=&D=00&KW=2010gift_cosme&aid=0226cosmegift" target="_parent"><img src="/fw/index/banner/s/0226_cosmegift.jpg" alt="大切な人へ贈る。BeautyGIFT" width="216" height="90" border="0"></a>',
		
		'<a href="http://gw.tv/fw/contents/snidel/?aid=1002snidelmook" target="_parent"><img src="/fw/index/banner/s/0225_snidel.jpg" alt="snidel全部買える！5周年記念新作カタログ" width="216" height="90" border="0"></a>',
		
		'<a href="http://gw.tv/fw/musee/contents/jillbyjillstuart/?aid=1002jill" target="_parent"><img src="/fw/index/banner/s/0223_jill.jpg" alt="JILL by JILLSTUART　 2010 S/S Spring Collection" width="216" height="90" border="0"></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];
	subimages[n1] = subimages[n2];
	subimages[n2] = n;
}

//小さいバナーイメージを呼び出す関数
function putsubimage(cnt){
	document.write(subimages[cnt]);
}


//-->


// 自社広告ランダム
////////////////////////////////////

function pick_up01()
{
Se=Math.floor(Math.random()*4); 
if(Se==0||Se==1){Se1="0";} 
if(Se==2||Se==3){Se1="1";} 

Co=new Array(2); 
ga=new Array(2); 
Ta=new Array(2); 

Co[0]="http://gw.tv/fw/musee/style/style01.html?aid=fwtoprec"; // リンク先0
ga[0]="musee0901.jpg"; // 表示画像0
Ta[0]="_self"; // ターゲット0

Co[1]="http://gw.tv/fw/musee/style/style01.html?aid=fwtoprec"; // リンク先1
ga[1]="musee0901.jpg"; // 表示画像1
Ta[1]="_self"; // ターゲット1

document.write('<a href="'+Co[Se1]+'" target="'+Ta[Se1]+'">'); 
document.write('<img src="./images/index/banner_pr/'+ga[Se1]+'"></a>'); 
}
