
//200x200バナー(ランダム表示）
var banner200tag = "";
var banner200tags = new Array();
banner200tags.push("<a href='http://poepoe.info/' target='_blank'><img alt='Check A Toilet illsut by poe' src='http://www.checkatoilet.com/images/catillust.jpg' border='0'></a>");
banner200tags.push("<a href='http://petamap.jp/' target='_blank'><img alt='PetaMap（ペタマップ）' src='http://www.checkatoilet.com/images/petamap200.jpg' border='0'></a>");
banner200tags.push("<a href='http://www.gallery.checkatoilet.com/' target='_blank'><img alt='「Check A Toilet Gallery」 こだわりの「トイレ」展　募集開始' src='http://www.checkatoilet.com/images/ga200.jpg' border='0'></a>");

ShuffleArray(banner200tags);
if (banner200tags.length>1) {
	banner200tag = banner200tags[0];
}

//154x60バナー(ランダム表示）
var banner154tag = "";
var banner154tags = new Array();
banner154tags.push("<a href='http://www.temil.jp/map/dekaketemil/' target='_blank'><img alt='でかけテミル' src='http://www.checkatoilet.com/images/banner_temirusample.jpg' border='0'></a>");
banner154tags.push("<a href='http://petamap.jp/' target='_blank'><img alt='地図から「知図」へ 無料の地図サイト Peta Map' src='http://www.checkatoilet.com/images/petamap154.gif' border='0'></a>");
banner154tags.push("<a href='http://widgets.access-company.com/jp/widget/ACCESS/check/' target='_blank'><img alt='Check A Toilet ウィジェット' src='http://www.checkatoilet.com/images/cat_whidgets_banner.gif' border='0'></a>");
banner154tags.push("<a href='http://www.gallery.checkatoilet.com/' target='_blank'><img alt='Check A Toilet ウィジェット' src='http://www.checkatoilet.com/images/ga154.jpg' border='0'></a>");

ShuffleArray(banner154tags);
for (var i = 0; i < banner154tags.length; i++) {
	banner154tag += banner154tags[i] + "<br /><br /><br />";
}

var sidebar_contents = "";
sidebar_contents += "<table id='sidepanel'>";
sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_top'>";
sidebar_contents += "</td>";
sidebar_contents += "</tr>";

sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_middle'>";

sidebar_contents += "<div align='center'>";
sidebar_contents += "<a href='http://www.checkatoilet.com/login/login.php'><img alt='ログイン' src='http://www.checkatoilet.com/images/login.gif' border='0' onMouseOver=\"this.src='http://www.checkatoilet.com/images/login_over.gif'\" onMouseOut=\"this.src='http://www.checkatoilet.com/images/login.gif'\"></a><br />";
sidebar_contents += "<a href='http://www.checkatoilet.com/login/adduser_form.php'><img alt='新規登録' src='http://www.checkatoilet.com/images/regist.gif' border='0' onMouseOver=\"this.src='http://www.checkatoilet.com/images/regist_over.gif'\" onMouseOut=\"this.src='http://www.checkatoilet.com/images/regist.gif'\"></a>";
sidebar_contents += "</div>";
sidebar_contents += "</td>";
sidebar_contents += "</tr>";
sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_bottom'>";
sidebar_contents += "</td>";
sidebar_contents += "</tr>";
sidebar_contents += "</table>";

sidebar_contents += "<table id='sidepanel'>";
sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_top'>";
sidebar_contents += "</td>";
sidebar_contents += "</tr>";
sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_middle'>";

sidebar_contents += "<div align='center'>";
sidebar_contents += banner200tag;
sidebar_contents += "<br />";
sidebar_contents += "</div>";

sidebar_contents += "</td>";
sidebar_contents += "</tr>";
sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_bottom'>";
sidebar_contents += "</td>";
sidebar_contents += "</tr>";
sidebar_contents += "</table>";

sidebar_contents += "<table id='sidepanel'>";
sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_top'>";
sidebar_contents += "</td>";
sidebar_contents += "</tr>";
sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_middle'>";

sidebar_contents += "<div align='center'>";
sidebar_contents += banner154tag;
sidebar_contents += "</div>";

sidebar_contents += "<div align='center'>";
sidebar_contents += "<hr size='1' style='width:200px;height:1px;color:#CCCCCC;'><br />";
sidebar_contents += "<img alt='CATモバイル' src='http://www.checkatoilet.com/images/banner_catmobile.gif' border='0'>";
sidebar_contents += "<br /><br />";
sidebar_contents += "メールからアクセスも出来ます<br />";
sidebar_contents += "<a href='mailto:?subject=CAT mobile&body=http://www.checkatoilet.com/i/'>「URLを携帯に送信」＞＞</a><br />";
sidebar_contents += "<a href='http://www.checkatoilet.com/i/'>www.checkatoilet.com/i/</a>";
sidebar_contents += "</div>";

sidebar_contents += "</td>";
sidebar_contents += "</tr>";
sidebar_contents += "<tr>";
sidebar_contents += "<td id='sidepanel_bottom'>";
sidebar_contents += "</td>";
sidebar_contents += "</tr>";
sidebar_contents += "</table>";

sidebar_contents += "<div align='center'>";
sidebar_contents += "<!-- Google -->\n";
sidebar_contents += "<script type=\"text/javascript\"><!--\n";
sidebar_contents += "google_ad_client = \"pub-9132871112329842\";\n";
sidebar_contents += "google_alternate_color = \"FFFFFF\";\n";
sidebar_contents += "google_ad_width = 120;\n";
sidebar_contents += "google_ad_height = 600;\n";
sidebar_contents += "google_ad_format = \"120x600_as\";\n";
sidebar_contents += "google_ad_type = \"text_image\";\n";
sidebar_contents += "google_ad_channel = \"\";\n";
sidebar_contents += "google_color_border = \"FFFFFF\";\n";
sidebar_contents += "google_color_bg = \"FFFFFF\";\n";
sidebar_contents += "google_color_link = \"00839D\";\n";
sidebar_contents += "google_color_text = \"333333\";\n";
sidebar_contents += "google_color_url = \"999999\";\n";
sidebar_contents += "//-->\n";
sidebar_contents += "</script>\n";
sidebar_contents += "<script type=\"text/javascript\"\n";
sidebar_contents += "src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n";
sidebar_contents += "</script>\n";
sidebar_contents += "<!-- Google -->\n";
sidebar_contents += "</div>";

document.write(sidebar_contents);
