// 更新情報
var aszUpd = new Array(
	"2/3",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"2/2",		"ぽけでび伝言板で<a class=cAUpd href=cgi-bin/beastex/letter/letter.cgi>バレンタイン☆総選挙</a>スタートなのー",
	"2/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.148』</a>をダウンロードしてねー",
	"1/20",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ぽちぽち登場なのー！",
	"1/15",		"<a class=cAUpd href=newspaper/pb-times120115.html>『ぽけでびタイムズ』1月15日号</a>が出たのー！",
	"1/1",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"1/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.147』</a>をダウンロードしてねー",
	"1/1",		"学園docomo校に<a class=cAUpd href=mobile/gakuen/appli043.html target=_blank>ココアのウールウール</a>が登場なのー！",
	"1/1",		"学園SoftBank校に<a class=cAUpd href=mobile/gakuen/appli038.html target=_blank>ココアの中間テスト４</a>が登場なのー！",
	"12/26",	"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"12/26",	"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.146』</a>をダウンロードしてねー",
	"12/20",	"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ぽちぽち登場なのー！",
	"12/15",	"<a class=cAUpd href=newspaper/pb-times111215.html>『ぽけでびタイムズ』12月15日号</a>が出たのー！",
	"12/2",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"12/1",		"学園docomo校に<a class=cAUpd href=mobile/gakuen/appli042.html target=_blank>おんせんココア２</a>が登場なのー！",
	"12/1",		"学園SoftBank校に<a class=cAUpd href=mobile/gakuen/appli037.html target=_blank>ふーせんココア２</a>が登場なのー！",
	"12/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.144』</a>をダウンロードしてねー",
	"11/30",	"今日はジンジャーのたんじょう日なのー☆",
	"11/19",	"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ぽちぽち登場なのー！",
	"11/15",	"<a class=cAUpd href=newspaper/pb-times111115.html>『ぽけでびタイムズ』11月15日号</a>が出たのー！",
	"11/2",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"10/31",	"今日はハッピー☆ハロウィンデーなのー！",
	"10/21",	"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ぽちぽち登場なのー！",
	"10/20",	"今日はルウのたんじょう日なのー☆",
	"10/15",	"<a class=cAUpd href=newspaper/pb-times111015.html>『ぽけでびタイムズ』10月15日号</a>が出たのー！",
	"10/2",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"10/1",		"学園docomo校に<a class=cAUpd href=mobile/gakuen/appli041.html target=_blank>ハーブ＆ミントの兄弟船</a>が登場なのー！",
	"10/1",		"学園SoftBank校に<a class=cAUpd href=mobile/gakuen/appli035.html target=_blank>ココアのおねだり生活５</a>が登場なのー！",
	"10/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.143』</a>をダウンロードしてねー",
	"9/23",		"今日は王国収穫祭の日なのー！",
	"9/15",		"<a class=cAUpd href=newspaper/pb-times110915.html>『ぽけでびタイムズ』9月15日号</a>が出たのー！",
	"9/9",		"今日はココアのたんじょう日なのー☆",
	"9/9",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ぽちぽち登場なのー！",
	"9/2",		"ぽけでび伝言板で<a class=cAUpd href=cgi-bin/beastex/letter/letter.cgi>フルーツ☆アンケート</a>スタートなのー",
	"9/2",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"9/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.142』</a>をダウンロードしてねー",
	"9/1",		"学園docomo校に<a class=cAUpd href=mobile/gakuen/appli040.html target=_blank>チョコアのぽちぽちパズル</a>が登場なのー！",
	"9/1",		"学園SoftBank校に<a class=cAUpd href=mobile/gakuen/appli034.html target=_blank>ココアのぐるっとアメリカ</a>が登場なのー！",
	"8/20",		"今日はピスタのたんじょう日なのー！",
	"8/19",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ぽちぽち登場なのー！",
	"8/18",		"<a class=cAUpd href=cgi-bin/beastex/letter/letter.cgi>PKDB18 ☆ 総選挙</a>は今日が最終日なのー",
	"8/18",		"今日はアモンのたんじょう日なのー！",
	"8/15",		"<a class=cAUpd href=newspaper/pb-times110815.html>『ぽけでびタイムズ』8月15日号</a>が出たのー！",
	"8/3",		"今日はハーブ＆ミントのたんじょう日なのー！",
	"8/2",		"ぽけでび伝言板で<a class=cAUpd href=cgi-bin/beastex/letter/letter.cgi>PKDB18 ☆ 総選挙</a>スタートなのー",
	"8/1",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"8/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.141』</a>をダウンロードしてねー",
	"8/1",		"ぽけでび☆学園に新作ゲーム<a class=cAUpd href=mobile/gakuen/appli039.html target=_blank>ココアのぐるっと日本</a>が出たのー！",
	"8/1",		"ぽけでび☆学園に新作ゲーム<a class=cAUpd href=mobile/gakuen/appli033.html target=_blank>ココアのわかさぎつり</a>が出たのー！",
	"7/22",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ぽちぽち登場なのー！",
	"7/15",		"<a class=cAUpd href=newspaper/pb-times110715.html>『ぽけでびタイムズ』7月15日号</a>が出たのー！",
	"7/14",		"今日はチョコア様のたんじょう日ですよ！",
	"7/8",		"今日はペパのたんじょう日なのー！",
	"7/7",		"今日は星祭りの日なのー！",
	"7/1",		"ぽけでび☆学園に新作ゲーム<a class=cAUpd href=mobile/gakuen/appli038.html target=_blank>ココアの中間テスト４</a>が出たのー！",
	"7/1",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>に新作ジグソーパズル登場なのー！",
	"7/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.140』</a>をダウンロードしてねー",
	"6/15",		"<a class=cAUpd href=newspaper/pb-times110615.html>『ぽけでびタイムズ』6月15日号</a>が出たのー！",
	"6/11",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ぽちぽち登場なのー！",
	"6/3",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ジグソー登場なのー！",
	"6/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.139』</a>をダウンロードしてねー",
	"5/21",		"新作<a class=cAUpd href=game/cocopuzzle/index.html>ぽちぽちパズル</a>登場なのー！ かべがみもらえるのー！",
	"5/15",		"<a class=cAUpd href=newspaper/pb-times110515.html>『ぽけでびタイムズ』5月15日号</a>が出たのー！",
	"5/6",		"今日はコロネのたんじょう日なのー！",
	"5/5",		"今日はハッピー男の子デーなのー",
	"5/1",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ジグソー登場なのー！",
	"5/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.138』</a>をダウンロードしてねー",
	"4/21",		"今日はきなこさんのたんじょう日なのー！",
	"4/20",		"新作<a class=cAUpd href=game/cocopuzzle/index.html>ぽちぽちパズル</a>登場なのー！ かべがみもらえるのー！",
	"4/15",		"<a class=cAUpd href=newspaper/pb-times110415.html>『ぽけでびタイムズ』4月15日号</a>が出たのー！",
	"4/2",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ジグソー登場なのー！",
	"4/1",		"今日はうそつき妖精の日なのー",
	"4/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.137』</a>をダウンロードしてねー",
	"3/19",		"今日はミルクのたんじょう日なのー！",
	"3/18",		"新作<a class=cAUpd href=game/cocopuzzle/index.html>ぽちぽちパズル</a>登場なのー！ かべがみもらえるのー！",
	"3/15",		"<a class=cAUpd href=newspaper/pb-times110315.html>『ぽけでびタイムズ』3月15日号</a>が出たのー！",
	"3/13",		"ぽけでび伝言板で<a class=cAUpd href=cgi-bin/beastex/letter/letter.cgi>被災地応援メッセージ</a>募集中なのー",
	"3/4",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ジグソー登場なのー！",
	"3/2",		"ぽけでび☆学園の新作ゲーム<a class=cAUpd href=mobile/gakuen/appli034.html target=_blank>ココアのぐるっとアメリカ</a>出たのー！",
	"3/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.136』</a>をダウンロードしてねー",
	"2/28",		"<a class=cAUpd href=mobile/mobile.html>ケータイサイト</a>で3月のカレンダーまちうけを公開なのー",
	"2/22",		"<a class=cAUpd href=mobile/mobile.html>ケータイサイト</a>でココアの新作まちうけ公開なのー。無料なのー☆",
	"2/18",		"新作<a class=cAUpd href=game/cocopuzzle/index.html>ぽちぽちパズル</a>登場なのー！ かべがみもらえるのー！",
	"2/15",		"<a class=cAUpd href=newspaper/pb-times110215.html>『ぽけでびタイムズ』2月15日号</a>が出たのー！",
	"2/14",		"ぽけでび伝言板の<a class=cAUpd href=cgi-bin/beastex/letter/letter.cgi>バレンタイン☆総選挙</a>は今日が最後なのー！",
	"2/14",		"今日はハッピーバレンタインデーなのー☆",
	"2/4",		"<a class=cAUpd href=game/cocopuzzle/index.html>『ココパズル』</a>にランキングつき新作ジグソー登場なのー！",
	"2/1",		"<a class=cAUpd href=http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi>『ぽけでびかべがみvol.135』</a>をダウンロードしてねー",

	""
);

// タイムズ
var aszNews = new Array(
	"2月6日",
	"マロン誕生日",

	"1月31日",
	"とげわさ誕生日",
	"<a href=newspaper/pb-times120115.html>1月15日号</a>",
	"ぽけでび七福神",
	"1月1日",
	"ハッピー☆ニューイヤー",
	"12月31日",
	"ハッピー☆おおみそか",
	"12月23日",
	"フランベール 誕生日",
	"<a href=newspaper/pb-times111215.html>12月15日号</a>",
	"おんせんココア２",
	"11月30日",
	"ジンジャー 誕生日",
	"<a href=newspaper/pb-times111115.html>11月15日号</a>",
	"りんごがりの季節！？",
	"11月5日",
	"ネル先生 誕生日",
	"10月31日",
	"ハッピー☆ハロウィン",
	"<a href=newspaper/pb-times111015.html>10月15日号</a>",
	"かぼちゃ畑の働き者",
	"10月20日",
	"ルウ誕生日",
	"10月15日",
	"ぽけでびタイムズ",
	"10月5日",
	"ガリク誕生日",
	"<a href=newspaper/pb-times110915.html>9月15日号</a>",
	"Happy☆Birthday ココア",
	"9月15日",
	"ぽけでびタイムズ",
	"9月9日",
	"ココア誕生日",
	"8月20日",
	"ピスタ誕生日",
	"8月18日",
	"アモン誕生日",
	"<a href=newspaper/pb-times110815.html>8月15日号</a>",
	"PKDB18 ☆ 総選挙",
	"8月3日",
	"ハーブ＆ミント誕生日",
	"<a href=newspaper/pb-times110715.html>7月15日号</a>",
	"☆星に長いを！？",
	"7月14日",
	"チョコア誕生日",
	"<a href=newspaper/pb-times110615.html>6月15日号</a>",
	"ザッハー祭り、自粛？",
	"<a href=newspaper/pb-times110515.html>5月15日号</a>",
	"ことのは藤で立身出世！",
	"今年のザッハー祭りは",
	"自粛中止となりました",
	"5月6日",
	"コロネ誕生日",
	"4月21日",
	"きなこさん誕生日",
	"<a href=newspaper/pb-times110415.html>4月15日号</a>",
	"うそつき妖精、立つ！",
	"<a href=newspaper/pb-times110315.html>3月15日号</a>",
	"ぐるっとアメリカ！",
	"3月19日",
	"ミルク誕生日",
	"3月9日",
	"たべもの感謝祭",
	"3月3日",
	"ハッピー☆女の子デー",
	"2月14日",
	"ハッピーバレンタインデー",
	"2月11日",
	"バル博士誕生日",
	"1月31日",
	"とげわさ誕生日",
	"<a href=newspaper/pb-times110115.html>1月15日号</a>",
	"エスパー☆ココア",
	"<a href=newspaper/pb-times101215.html>12月15日号</a>",
	"ココアのついんくる☆",
	"12月23日",
	"フランベール誕生日",
	"11月30日",
	"ジンジャー誕生日",
	"<a href=newspaper/pb-times101115.html>11月15日号</a>",
	"チョコアのパネル９",
	"10月20日",
	"ルウたんじょう日",
	"<a href=newspaper/pb-times101015.html>10月15日号</a>",
	"ハッピー☆ハロウィン！",
	"10月5日",
	"ガリクたんじょう日",
	"<a href=newspaper/pb-times100915.html>9月15日号</a>",
	"十五夜の夜",
	"9月9日",
	"ココアたんじょう日",
	"8月20日",
	"ピスタたんじょう日",
	"8月18日",
	"アモンたんじょう日",
	"<a href=newspaper/pb-times100815.html>8月15日号</a>",
	"勇者の食卓",
	"8月3日",
	"ハーブ＆ミントたんじょう日",
	"<a href=newspaper/pb-times100715.html>7月15日号</a>",
	"かき氷ファイト！",
	"7月14日",
	"チョコア様たんじょう日",
	"7月8日",
	"ペパたんじょう日",
	"<a href=newspaper/pb-times100615.html>6月15日号</a>",
	"ぽけでび☆学園二周年！",
	"<a href=newspaper/pb-times100515.html>5月15日号</a>",
	"海づりに行こう！",
	"5月6日",
	"コロネたんじょう日",
	"<a href=newspaper/pb-times100415.html>4月15日号</a>",
	"うそつきキャラクター",
	
	""
);

// トピックス ※コピーして使うこと。キリトリ厳禁
var aszTopics = new Array(
	// リフティング
	"game/cocoflash/rifting06.html",
	false,
	"topics-game-rifting06.gif",
	"ココアのリフティング",
	"ココアとめざせＷ杯☆<br>ハプニングだらけのリフティング大会！",

	// ことのは
	"game/cocoflash/kotonoha.html",
	false,
	"topics-game-kotonoha.gif",
	"ココアのことのは",
	"文字を並べて言葉を作ろう！　風流日本語パズルゲーム",

	// ココアとゆきのたからもの
	"ehon/ehon06-ofuro.html",
	false,
	"topics-ehon-snow.gif",
	"ココアとゆきのたからもの",
	"マロンのおじいちゃんも登場の絵本<br>雪の下には何がある？",

	// おねだりココア
	"pbox/onecoco/",
	false,
	"topics-game-onedari.gif",
	"おねだりココア",
	"かわいいココアとおねだり生活♪ 大人気の収集育成ゲーム",


	////////////////////////////////////////////////////////////////////////////////////
	// ゲーム
	////////////////////////////////////////////////////////////////////////////////////

	// ことのは
	"game/cocoflash/kotonoha.html",
	false,
	"topics-game-kotonoha.gif",
	"ココアのことのは",
	"文字を並べて言葉を作ろう！　風流日本語パズルゲーム",

	// すしくうのー
	"game/cocoflash/sushi.html",
	false,
	"topics-game-sushi.gif",
	"ココアのすしくうのー！",
	"おすし食べほーだい！<br>連鎖が超きもちいいアクションパズル☆",

	// 海づり
	"game/cocopetit/seafishing.html",
	true,
	"topics-game-seafishing.gif",
	"ココアの海づり",
	"5月の海は気分ソーカイ♪　みんなで海づり競争だ！",

	// 魚つり＋
	"game/cocoflash/fishing+.html",
	false,
	"topics-game-fishing.gif",
	"ココアのさかなつり",
	"なかよし二人の魚つりゲーム！<br>めざせ、「つり神様」！",

	// ウールウール＋
	"game/cocoflash/wool+.html",
	false,
	"topics-game-wool.gif",
	"ココアのウールウール＋",
	"大人気のあったか落ちゲー！　マフラー、セーターあみまくってね♪",

	// ふーせん＋
	"game/cocoflash/ballooncocoa+.html",
	false,
	"topics-game-balloon+.gif",
	"ふーせんココア＋",
	"風船につかまってどこまでも！　ココアとふわふわ大空の旅♪",

	// おんせん＋
	"game/cocoflash/onsencocoa+.html",
	false,
	"topics-game-onsen.gif",
	"おんせんココア＋",
	"ココアと行こう、ぽけでび温泉！　でものぼせないようご注意☆",

	// ケーキケーキケーキ
	"game/cocopetit/cake.html",
	true,
	"topics-game-cake.gif",
	"ココアのケーキケーキケーキ",
	"クリスマスケーキ食べほうだい♪ かわいい<br>ケーキパズル！",

	// ココアのプレゼント
	"game/cocoflash/present.html",
	false,
	"topics-game-present.gif",
	"ココアのプレゼント！",
	"プレゼントを２コずつ<br>とってね！ サンタココアの知的パズル☆<br>",

	// ココアのサンタ大作戦
	"game/cocoatoy/mini32-santa.html",
	true,
	"topics-game-santa.gif",
	"ココアのサンタ大作戦",
	"ハーブ＆ミントがプレゼントおとどけ！ 落とさず運ぼうアクションゲーム",

	// ヨーヨーつり＋
	"game/cocoflash/yoyo+.html",
	false,
	"topics-game-yoyo+.gif",
	"ココアのヨーヨーつり＋",
	"ぽけでび夏の定番ゲーム！　色んなヨーヨー集めヨー☆",

	// リフティング
	"game/cocoflash/rifting06.html",
	false,
	"topics-game-rifting06.gif",
	"ココアのリフティング",
	"ココアとめざせＷ杯☆<br>ハプニングだらけのリフティング大会！",

	////////////////////////////////////////////////////////////////////////////////////
	// 絵本
	////////////////////////////////////////////////////////////////////////////////////

	// ココアとおたまじゃくし
	"ehon/ehon03-otama.html",
	false,
	"topics-ehon-otamajakushi.gif",
	"ココアとおたまじゃくし",
	"お池の中には何がいる？ ココアのほのぼのうごく絵本を読もう！",

	// ココアのおつかい
	"ehon/ehon05-otsukai.html",
	false,
	"topics-ehon-otsukai.gif",
	"ココアのおつかい",
	"ココアとマロンがおつかいに☆　いのしし兄弟も初登場の絵本",

	// ココアとはみがき
	"ehon/ehon07-hamigaki.html",
	false,
	"topics-ehon-hamigaki.gif",
	"ココアとはみがき",
	"歯みがきしないとどうなる… ココアのほのぼのうごく絵本を読もう！",

	// ココアとゆきのたからもの
	"ehon/ehon06-ofuro.html",
	false,
	"topics-ehon-snow.gif",
	"ココアとゆきのたからもの",
	"マロンのおじいちゃんが初登場する絵本<br>雪の下には何がある？",

	// ココアのおふろ
	"ehon/ehon06-ofuro.html",
	false,
	"topics-ehon-ofuro.gif",
	"ココアのおふろ",
	"ココアの家のおふろがこわれちゃった！<br>続きはうごく絵本でね！",

	// ココアのなんだろう
	"ehon/ehon08-nandarou.html",
	false,
	"topics-ehon-nandarou2.gif",
	"ココアのなんだろう",
	"思い出せそうで思い出せないあの形…<br>続きはうごく絵本でね！",

	// ココアとまいごのおばけ
	"ehon/ehon01-obake.html",
	false,
	"topics-ehon-obake.gif",
	"ココアとまいごのおばけ",
	"迷子のおばけくんの<br>お家はどこかな？<br>続きはうごく絵本でね！",

	// ココアのおともだち
	"ehon/ehon04-tomodachi.html",
	false,
	"topics-ehon-friend.gif",
	"ココアのおともだち",
	"ひとりぼっちのココア…<br>みんなどうしたの？<br>続きはうごく絵本で！",

	""
);

// PR用バナー
var m_nNotice = 4;
var aszNotice = new Array(
	"<a href=game/cocoflash/sushi.html><img src=grp/top/notice-sushi.gif width=410 height=70 border=no alt=ココアのすしくうのー！></a>",
	"<a href=animation/cocoanime/yusha4.html><img src=grp/top/notice-yusha4.gif width=410 height=70 border=no alt=黄金のたいやきと勇者４></a>",
	"<a href=game/cocoflash/fishing+.html><img src=grp/top/notice-fishing+.gif width=410 height=70 border=no alt=ココアの魚つり＋></a>",
	"<a href=http://pokedebi.com/mobile/gakuen/ target=_blank><img src=grp/top/notice-gakuen.gif width=410 height=70 border=no alt=ぽけでび☆学園></a>",
	"<img src=grp/top/notice-yusha4-pre.gif width=410 height=70 border=no alt=近日公開！もうちょっと待ってね！>",
	"<a href=animation/cocoanime/chocoa.html><img src=grp/top/notice-chocoa-anime.gif width=410 height=70 border=no alt=チョコア誕生！なのね〜></a>",
	"<a href=game/cocopuzzle/index.html><img src=grp/top/notice-cocopuzzle-gw.gif width=410 height=70 border=no alt=GWはココパズル！></a>",
	"<a href=game/cocoflash/wool+.html><img src=grp/top/notice-wool+.gif width=410 height=70 border=no alt=ココアのウールウール＋></a>",
	"<a href=campaign/2010newyear/omikuji2010.html><img src=grp/top/notice-omikuji2010.gif width=410 height=70 border=no alt=おみくじココア></a>",
	"<a href=animation/cocoanime/yusha.html><img src=grp/top/notice-golden.gif width=410 height=70 border=no alt=黄金のたいやきと勇者></a>",
	"<a href=http://pokedebi.com/game/cocoatoy/mini13-otama.html target=_blank><img src=grp/top/notice-otama.gif width=410 height=70 border=no alt=ココアのおたまじゃくし></a>",
	"<a href=http://pokedebi.com/pbox/onecoco/><img src=grp/top/notice-pboxonecoco.gif width=410 height=70 border=no alt=ぽけでびBOXおねだりココア></a>",
	"<a href=http://pokedebi.com/cgi-bin/beastex/letter/letter.cgi><img src=grp/top/notice-letter.gif width=410 height=70 border=no alt=返信！ぽけでび伝言板></a>",
	"<a href=game/cocoflash/onsencocoa+.html><img src=grp/top/notice-onsen.gif width=410 height=70 border=no alt=おんせんココア＋></a>",
	"<a href=http://pokedebi.com/game/cocopetit/ target=_blank><img src=grp/top/notice-wool.gif width=410 height=70 border=no alt=ココアのウールウール></a>",
	"<a href=http://pokedebi.com/game/cocopetit/ target=_blank><img src=grp/top/notice-quizworld.gif width=410 height=70 border=no alt=ココアのクイズわーるど！></a>",
	"<a href=http://pokedebi.com/cgi-bin/beastex/location/kidsparty.cgi target=_blank><img src=grp/top/notice-toybox.gif width=410 height=70 border=no alt=ココアのおもちゃばこ></a>",
	"<a href=http://pokedebi.com/game/cocoatoy/ target=_blank><img src=grp/top/notice-nandarou.gif width=410 height=70 border=no alt=ココアのなんだろう？></a>",
	"<a href=campaign/2009cocoa/2009cocoa.html><img src=grp/top/notice-2009cocoa.gif width=410 height=70 border=no alt=ココアのストラッププレゼント></a>",
	"<a href=campaign/2008summer/index.html><img src=grp/top/notice-2008summer.gif width=410 height=70 border=no alt=ぽけでび夏祭り！2008></a>",
	"<a href=campaign/2007xmas/index.html><img src=grp/top/notice-2007xmas.gif width=410 height=70 border=no alt=クリスマススペシャルコーナー2007></a>",
	"<a href=game/cocoflash/sushi-sacher.html><img src=grp/top/notice-sushi-sacher.gif width=410 height=70 border=no alt=ココアのすしくうのー！></a>",
	"<a href=game/cocoflash/rifting07-sacher.html><img src=grp/top/notice-rifting-sacher07.gif width=410 height=70 border=no alt=ザッハーのリフティング></a>",
	""
);


// トップ画像
var szTopIllust			= "top201202.gif";
var bTopIllustWallPaper	= true;
//var szTopIllustURL		= "";
//var szTopIllustURL	= "http://pokedebi.com/game/cocopuzzle/pochi040.html";
var szTopIllustURL	= "http://pokedebi.com/game/cocopuzzle/jigsaw078.html";

// 左ココア画像
var szLeftCocoa = "left-cocoa201202.gif";

// ぽけでびBOX
var m_nPokedebiBox = 2;
var aszPokedebiBox = new Array(
	"<script src=http://pokedebi.com/download/pbox/pbox-mix.js></script><noscript><a href=http://pokedebi.com/ target=_blank><img src=http://pokedebi.com/grp/download/pbox/pbox-onecoco.gif border=no alt=ぽけでび></a></noscript>",
	"<script src=http://pokedebi.com/download/pbox/pbox-onecoco.js?adr=pokedebi></script><noscript><a href=http://pokedebi.com/ target=_blank><img src=http://pokedebi.com/grp/download/pbox/pbox-onecoco.gif border=no alt=ぽけでび></a></noscript>",
	""
);

var aszPokegaku = new Array(
	"よく遊び、ついでに学ぶ！<br>ぽけでびケータイ公式",
	"<a href=http://pokedebi.com/mobile/gakuen/ target=_blank><img src=grp/top/menu-gakuen.gif width=144 height=58 border=no alt=ぽけでび☆学園></a>",
	""
);


////////////////////////////////////////////////////////////////////////////////////////

// TOPイラストを表示する
function putTopIllust()
{
	var szStr = "";

	// 壁紙ありのとき
	if ( bTopIllustWallPaper ) {
		//szStr += "<a href=\"http://pokedebi.com/cgi-bin/beastex/html/wallpaper.cgi\">";
		szStr += "<a href=\"http://pokedebi.com/download/download.html\">";
	}
	else if ( szTopIllustURL != "" ) {
		szStr += "<a href=" + szTopIllustURL + ">";
	}

	szStr += "<img src=grp/top/" + szTopIllust + " width=410 height=308";
	// 壁紙ありのとき
	if ( bTopIllustWallPaper ) {
		szStr += " border=no alt=かべがみダウンロードへ></a>";
	}
	else if ( szTopIllustURL != "" ) {
		szStr += " border=no></a>";
	}
	else {
		szStr += ">";
	}

	document.write( szStr );
}


// 左ココアつきのTDを表示する
function putLeftCocoaTD()
{
	var szStr = "";

	szStr += "<td width=180 align=center valign=top background=grp/top/" + szLeftCocoa + " style=\"background-position: center bottom; background-repeat: no-repeat\">";

	document.write( szStr );
}


// PRバナーを表示する
function putNotice( nID )
{
	if ( nID == null ) {
		var nRnd = Math.floor( Math.random() * m_nNotice );
		document.write( aszNotice[nRnd] );
	}
	else {
		document.write( aszNotice[nID] );
	}
}


// ぽけでびBOXを表示する
function putPokedebiBox()
{
	var nRnd = Math.floor( Math.random() * m_nPokedebiBox );

	document.write( aszPokedebiBox[nRnd] );
}


// ぽけでびBOXおねだりココアを表示する
function putOnedariBox()
{
	document.write( aszPokedebiBox[1] );
}


function putPokegaku()
{
	document.write( "<font color=#392018>" + aszPokegaku[0] + "</font><br>" );
	document.write( aszPokegaku[1] + "<br>" );
}


// 更新情報を表示する
function putUpdate( nKind )
{
	for ( var i = 0; i < 6; i++ ) {
		if ( i != 0 ) {
			document.write( "<img src=grp/cmn/dummy.gif width=1 height=2><br>" );
		}
		document.write( aszUpd[i * 2 + nKind] + "<br>" );
	}
}


function putNews()
{
	document.write( aszNews[0] + "<br>" );
	document.write( aszNews[1] + "<br>" );
}


function putTopics()
{
	document.write( "<table width=400 border=0 align=center valign=top>" );
	
	for ( var i = 0; i < 4; i++ ) {
		if ( i % 2 == 0 ) {
			document.write( "<tr height=60>" );
		}
		document.write( "<td width=60 align=center valign=center>" );
		document.write( "<a href=" + aszTopics[i * 5 + 0] );
		if ( aszTopics[i * 5 + 1] ) {
			document.write( " target=_blank" );
		}
		document.write( "><img src=grp/top/" + aszTopics[i * 5 + 2] + " width=50 height=50 border=no alt=" + aszTopics[i * 5 + 3] + "></a>" );
		document.write( "</td>" );
		document.write( "<td width=130 align=left valign=center>" );
		document.write( "<div class=t12>" );
		document.write( "<font color=#fffaf2>" );
		document.write( aszTopics[i * 5 + 4] );
		document.write( "</font>" );
		document.write( "</div>" );
		document.write( "</td>" );
		if ( i % 2 == 0 ) {
			document.write( "<td width=20>　</td>" );
		}
		else {
			document.write( "</tr>" );
		}
	}

	document.write( "</table>" );
}

