<!--
function adsid() {
	return "?"+(new Date().getTime());
}

<!-- SUPER BANNER start -->
function display_super(y, m, d) {
	setDay = new Date(y, m-1, d);
	nowDay = new Date();
	if(setDay <= nowDay) {
	/*  設定日付から 表示 */
		super_a();

	}else{
	/*  設定日付前まで　表示 */
		super_b();
	}
}

function super_a() {
// 
jmp = new Array();
img = new Array();
imgbnr = new Array();
//  url
jmp[0] = "/ads/fwd_super1_a.html"+adsid();
jmp[1] = "/ads/fwd_super2_a.html"+adsid();
/*　jmp[2] = "/ads/fwd_super3_a.html";　*/
//  img 
img[0] = "/ads/super1_a.png"+adsid();
img[1] = "/ads/super2_a.png"+adsid();
/*　img[2] = "/ads/super3_a.jpg";　*/
//  img bnr
imgbnr[0] = "/ads/img_bnr/super1_a.jpg";
imgbnr[1] = "/ads/img_bnr/super2_a.jpg";
/*　imgbnr[2] = "/ads/super3_a.jpg";　*/
n = Math.floor(Math.random()*jmp.length);
document.write("<a href='"+jmp[n]+"' target='_blank'>");
document.write("<img src='"+img[n]+"' border='0' >");
document.write("<img src='"+imgbnr[n]+"'>");
document.write("</a>");
}

function super_b() {
// 
jmp = new Array();
img = new Array();
imgbnr = new Array();
//  url
jmp[0] = "/ads/fwd_super1_b.html"+adsid();
jmp[1] = "/ads/fwd_super2_b.html"+adsid();
/*　jmp[2] = "/ads/fwd_super3_b.html";　　*/
//  img
img[0] = "/ads/super1_b.png"+adsid();
img[1] = "/ads/super2_b.png"+adsid();
/*　img[2] = "/ads/super3_b.jpg";　　*/
//  img bnr
imgbnr[0] = "/ads/img_bnr/super1_b.jpg";
imgbnr[1] = "/ads/img_bnr/super2_b.jpg";
/*　img[2] = "/ads/super3_b.jpg";　　*/
n = Math.floor(Math.random()*jmp.length);
document.write("<a href='"+jmp[n]+"' target='_blank'>");
document.write("<img src='"+img[n]+"' border='0' >");
document.write("<img src='"+imgbnr[n]+"'>");
document.write("</a>");
}
<!-- SUPER BANNER end -->


<!-- TOP TEXT start -->
function display_toptext(y, m, d) {
	setDay = new Date(y, m-1, d);
	nowDay = new Date();
	if(setDay <= nowDay) {
	/*  設定日付から表示 */
		document.write('<a href="/ads/fwd_texttop_a.html" target="_blank"><img src="http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2348699&pid=877212852" height="1" width="1" Border="0">【1,980円〜】高速モバイル通信なら<img src="../ads/texttop_a.png" width="1" height="1"></a>');
	}else{
	/*  設定日付前まで　表示 */
		document.write('<a href="/ads/fwd_texttop_b.html" target="_blank"><img src="http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2348699&pid=877123255" height="1" width="1" Border="0">Pavilion Desktop PC　3420jp,v7460jp/CT 夏モデル TFTモニタ夏割セット<img src="../ads/texttop_b.png" width="1" height="1"></a>');
	}
}
<!-- TOP TEXT end -->


<!-- RECTANGLE BANNER start -->
function display_rectangle(y, m, d) {
	setDay = new Date(y, m-1, d);
	nowDay = new Date();
	if(setDay <= nowDay) {
	/*  設定日付から表示 */
		rectangle_a();
	}else{ 
	/*  設定日付前まで　表示 */
		rectangle_b();
	}
}

function rectangle_a() {
// 
jmp = new Array();
img = new Array();
imgbnr = new Array();
//  url
jmp[0] = "/ads/fwd_rectangle1_a.html"+adsid();
jmp[1] = "/ads/fwd_rectangle2_a.html"+adsid();
//  img
img[0] = "/ads/rectangle1_a.png"+adsid();
img[1] = "/ads/rectangle2_a.png"+adsid();
//  img bnr
imgbnr[0] = "/ads/img_bnr/rectangle1_a.jpg";
imgbnr[1] = "/ads/img_bnr/rectangle2_a.jpg";
n = Math.floor(Math.random()*jmp.length);
document.write("<a href='"+jmp[n]+"' target='_blank'>");
document.write("<img src='"+img[n]+"' border='0'>");
document.write("<img src='"+imgbnr[n]+"' border='0'>");
document.write("</a>");
}

function rectangle_b() {
jmp = new Array();
img = new Array();
imgbnr = new Array();
//  url
jmp[0] = "/ads/fwd_rectangle1_b.html"+adsid();
jmp[1] = "/ads/fwd_rectangle2_b.html"+adsid();
//  img
img[0] = "/ads/rectangle1_b.png"+adsid();
img[1] = "/ads/rectangle2_b.png"+adsid();
//  img bnr
imgbnr[0] = "/ads/img_bnr/rectangle1_b.jpg";
imgbnr[1] = "/ads/img_bnr/rectangle2_b.jpg";
n = Math.floor(Math.random()*jmp.length);
document.write("<a href='"+jmp[n]+"' target='_blank'>");
document.write("<img src='"+img[n]+"' border='0'>");
document.write("<img src='"+imgbnr[n]+"' border='0'>");
document.write("</a>");
}
<!-- RECTANGLE BANNER end -->


<!-- SMALL BANNER A start -->
function display_small_a(y, m, d) {
	setDay = new Date(y, m-1, d);
	nowDay = new Date();
	if(setDay <= nowDay) {
	/*  設定日付から　表示 */
		document.write("<a href='/ads/fwd_small_a_a.html"+adsid()+"'><img src='/ads/img_bnr/small_a_a.jpg' border='0' style='margin-bottom:5px;'><img src='/ads/small_a_a.png"+adsid()+"' border='0'></a>");
	}else{
	/*  設定日付前まで　表示 */
		document.write("<a href='/ads/fwd_small_a_b.html"+adsid()+"'><img src='/ads/img_bnr/small_a_b.jpg' border='0' style='margin-bottom:5px;'><img src='/ads/small_a_b.png"+adsid()+"' border='0'></a>");
	}
}
<!-- SMALL BANNER A end -->

<!-- SMALL BANNER B start -->
function display_small_b(y, m, d) {

setDay = new Date(y, m-1, d);
nowDay = new Date();
if(setDay <= nowDay) {
/*  設定日付から　表示 */
	document.write("<a href='/ads/fwd_small_b_a.html"+adsid()+"' target='_blank'><img src='/ads/img_bnr/small_b_a.jpg' border='0' style='margin-bottom:5px;'><img src='/ads/small_b_a.png"+adsid()+"' border='0'></a>"); 
}else{
/*  設定日付前まで　表示 */
	document.write("<a href='/ads/fwd_small_b_b.html"+adsid()+"'><img src='/ads/img_bnr/small_b_b.jpg' border='0' style='margin-bottom:5px;'><img src='/ads/small_b_b.png"+adsid()+"' border='0'></a>");
}
}
<!-- SMALL BANNER B end -->

<!-- UNDER TEXT start -->
function display_undertext(y, m, d) {
	setDay = new Date(y, m-1, d);
	nowDay = new Date();
	if(setDay <= nowDay) {
	/*  設定日付から表示 */

//		document.write("<a href='/ads/fwd_textunder_b.html"+adsid()+"' target='_blank'>アオテンストアにてVBAのスキルアップに役立つ書籍を一挙にご紹介！<img src='/ads/textunder_b.png"+adsid()+"' border='0'></a>");
	google_ad_client = "pub-1976181673039821";
	/* 728x15, moug　アンダーテキスト */
	google_ad_slot = "6854315386";
	google_ad_width = 728;
	google_ad_height = 15;
	document.write("<script type=text/javascript src=http://pagead2.googlesyndication.com/pagead/show_ads.js ></script>");

	}else{
	/*  設定日付前まで　表示 */
//		document.write("<a href='/ads/fwd_textunder_a.html"+adsid()+"' target='_blank'><img Src='http://ad.jp.ap.valuecommerce.com/servlet/gifbanner?sid=2348699&pid=877554466' height='1' width='1' Border='0'>人類が目撃する“地球史上最大の危機”『地球が静止する日』<img src='/ads/textunder_a.png"+adsid()+"' border='0'></a>");
	google_ad_client = "pub-1976181673039821";
	/* 728x15, moug　アンダーテキスト */
	google_ad_slot = "6854315386";
	google_ad_width = 728;
	google_ad_height = 15;

	document.write("<script type=text/javascript src=http://pagead2.googlesyndication.com/pagead/show_ads.js ></script>");

	}
}
<!-- UNDER TEXT  end  -->
//-->
