// =============================================================================
// フッタ管理クラス
// =============================================================================
/*
   Footer クラス

   最終更新日:2003年7月18日(金)
   -----------------------------------------------------------------------------

   依存
	sniffer.js
	broadcaster.js
	changeimage.js
	window_onload.js

   -----------------------------------------------------------------------------

   コンストラクタの引数
	無し

   -----------------------------------------------------------------------------

   メソッド
	- init()
		初期化・フッタで使うロールオーバ画像のプリロード

	- onReady()
		イベント（windowからとんでくるイベント）

*/
// =============================================================================
if(sniffer.DOMable()) {



// -----------------------------------------------------------------------------
/*
   オブジェクト準備
*/
function Footer() {
	this.init();
}
// -----------------------------------------------------------------------------



// -----------------------------------------------------------------------------
/*
   initメソッド
	Null footer.init()
*/
Footer.prototype.init = function() {
	this.toiawase = new MultipleImage( siteRootPath + "images/navi_08_on.gif", siteRootPath + "images/navi_08_off.gif" );
	this.privacy = new MultipleImage( siteRootPath + "images/navi_09_on.gif", siteRootPath + "images/navi_09_off.gif" );
	this.sitemap = new MultipleImage( siteRootPath + "images/navi_10_on.gif", siteRootPath + "images/navi_10_off.gif" );
}
// -----------------------------------------------------------------------------



// -----------------------------------------------------------------------------
/*
   readyイベント（windowから教えてもらえるイベント）
	Null footer.onReady()
*/
Footer.prototype.onReady = function() {
	this.toiawase.setImageObject(document.getElementById("toiawaseImg"));
	this.privacy.setImageObject(document.getElementById("privacyImg"));
	this.sitemap.setImageObject(document.getElementById("sitemapImg"));
}
// -----------------------------------------------------------------------------



// -----------------------------------------------------------------------------
/*
   インスタンス化
*/
var footer = new Footer();
// -----------------------------------------------------------------------------


// -----------------------------------------------------------------------------
/*
   windowさんにイベントを教えてもらえるようにする。
*/
window.addListener(footer);
// -----------------------------------------------------------------------------
}
