/*ランダム表示*/
function random_msg() {
	/*乱数を生成し、50%の割合でGoogle Ad. かその他に分ける*/
	var p = Math.random();
	if(p < 0.3)
	{
		google_ad_client = "pub-7081178886483602";
		/* 200x200, 作成済み 10/05/30 */
		google_ad_slot = "3110382024";
		google_ad_width = 200;
		google_ad_height = 200;
		document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>');
	}
	else if(p < 0.9)
	{
/*
##############
##	clicktx	##
##############
*/
		clicktx_client="15608";
		clicktx_adformat="160x300";
		clicktx_round_value="0";
		clicktx_color_border="F0F0F0";
		clicktx_color_bg="F0F0F0";
		clicktx_color_link="5555EE";
		clicktx_color_text="666666";
		clicktx_color_url="5555EE";
		
		(function(){var p=(("https:"==document.location.protocol)?"https://":"http://");
		document.write('<scri'+'pt src="'+p+'www.clicktx.jp/ads/index.js" charset="Shift_JIS"></scri'+'pt>');})();

	}
	else
	{
		var r ;
		var xx = new Array() ;
		
		/*バナータグ一覧*/
		xx.push('<a href="http://comedycrime.sakura.ne.jp" target="_blank"><img src="http://comedycrime.sakura.ne.jp/gbbncan/gpbn200-200/shal200-200.png" width="200" height="200" border="0" alt="CC【ゴッデスプリンセス】応援中"></a>');
		xx.push('<a href="http://comedycrime.sakura.ne.jp" target="_blank"><img src="http://comedycrime.sakura.ne.jp/gbbncan/gpbn200-200/ev200-200.png" width="200" height="200" border="0" alt="CC【ゴッデスプリンセス】応援中"></a>');
		xx.push('<a href="http://comedycrime.sakura.ne.jp" target="_blank"><img src="http://comedycrime.sakura.ne.jp/gbbncan/gpbn120-600/bglady120-600.jpg" width="120" height="600" border="0" alt="CC【ゴッデスプリンセス】応援中"></a>');
		xx.push('<a href="http://seidan2.web.fc2.com/" target="_blank"><img src="http://www.tandess.com/music/link/banner/seidan.jpg" width="200" height="40" alt="ノベルゲーム『スターリーカラーズ～one for all, al for one～』応援中"></a>');
		
		r = Math.floor( Math.random( ) * xx.length ) ;
		document.write( xx[r] ) ;
	}
}
