if (document.images) {

	// SETTING

	// ヘッダー
	// あなたも｢TENGOO｣に参加しませんか？
	var headlinkimgon = new Image();
	headlinkimgon.src = "/images/head_link_img_on.gif";
	var headlinkimgoff = new Image();
	headlinkimgoff.src = "/images/head_link_img.gif";


	// ナビゲーション
	// TENGOOトップ
	var gblhomeon = new Image();
	gblhomeon.src = "/images/nav_top_on.jpg";
	var gblhomeoff = new Image();
	gblhomeoff.src = "/images/nav_top.jpg";

	// TENGOOグルメ
	var gblgourmeton = new Image();
	gblgourmeton.src = "/images/nav_gourmet_on.jpg";
	var gblgourmetoff = new Image();
	gblgourmetoff.src = "/images/nav_gourmet.jpg";

	// TENGOOビューティー
	var gblbeautyon = new Image();
	gblbeautyon.src = "/images/nav_beauty_on.jpg";
	var gblbeautyoff = new Image();
	gblbeautyoff.src = "/images/nav_beauty.jpg";


	// サイドメニュー
	// ログイン
	var sideloginon = new Image();
	sideloginon.src = "/images/btn_login_on.jpg";
	var sideloginoff = new Image();
	sideloginoff.src = "/images/btn_login.jpg";

	// ログイン
	var sideentryon = new Image();
	sideentryon.src = "/images/btn_new_entry_on.jpg";
	var sideentryoff = new Image();
	sideentryoff.src = "/images/btn_new_entry.jpg";


	// PAGE TOP
	var btnpagetopon = new Image();
	btnpagetopon.src = "/images/btn_page_top_on.gif";
	var btnpagetopoff = new Image();
	btnpagetopoff.src = "/images/btn_page_top.gif";


	// ショップタイトル
	// TENGOO手帳に追加
	var shtitaddon = new Image();
	shtitaddon.src = "/images/btn_notebook_add_on.jpg";
	var shtitaddoff = new Image();
	shtitaddoff.src = "/images/btn_notebook_add.jpg";

	// キープする
	var shtitkeepon = new Image();
	shtitkeepon.src = "/images/btn_keep_on.jpg";
	var shtitkeepoff = new Image();
	shtitkeepoff.src = "/images/btn_keep.jpg";

	// PC・ケータイへ送る
	var shtitpcon = new Image();
	shtitpcon.src = "/images/btn_pc_on.jpg";
	var shtitpcoff = new Image();
	shtitpcoff.src = "/images/btn_pc.jpg";


	// Button TOP
	// お店TOP
	var btnshoptopon = new Image();
	btnshoptopon.src = "/images/gourmet/btn_shop_top_on.jpg";
	var btnshoptopoff = new Image();
	btnshoptopoff.src = "/images/gourmet/btn_shop_top.jpg";

	// 店内・外観
	var btnshopimageon = new Image();
	btnshopimageon.src = "/images/gourmet/btn_shop_image_on.jpg";
	var btnshopimageoff = new Image();
	btnshopimageoff.src = "/images/gourmet/btn_shop_image.jpg";

	// メニュー
	var btnmenuon = new Image();
	btnmenuon.src = "/images/gourmet/btn_menu_on.jpg";
	var btnmenuoff = new Image();
	btnmenuoff.src = "/images/gourmet/btn_menu.jpg";

	// 地図・特典
	var btnmapon = new Image();
	btnmapon.src = "/images/gourmet/btn_map_on.jpg";
	var btnmapoff = new Image();
	btnmapoff.src = "/images/gourmet/btn_map.jpg";

	// ネット予約
	var btnreserveon = new Image();
	btnreserveon.src = "/images/gourmet/btn_reserve_on.jpg";
	var btnreserveoff = new Image();
	btnreserveoff.src = "/images/gourmet/btn_reserve.jpg";

	// クチコミ
	var btnkuchikomion = new Image();
	btnkuchikomion.src = "/images/gourmet/btn_kuchikomi_on.jpg";
	var btnkuchikomioff = new Image();
	btnkuchikomioff.src = "/images/gourmet/btn_kuchikomi.jpg";


	// Button Bottom
	// お店TOP
	var btnshoptopbtmon = new Image();
	btnshoptopbtmon.src = "/images/gourmet/btn_shop_top_on.jpg";
	var btnshoptopbtmoff = new Image();
	btnshoptopbtmoff.src = "/images/gourmet/btn_shop_top.jpg";

	// 店内・外観
	var btnshopimagebtmon = new Image();
	btnshopimagebtmon.src = "/images/gourmet/btn_shop_image_on.jpg";
	var btnshopimagebtmoff = new Image();
	btnshopimagebtmoff.src = "/images/gourmet/btn_shop_image.jpg";

	// メニュー
	var btnmenubtmon = new Image();
	btnmenubtmon.src = "/images/gourmet/btn_menu_on.jpg";
	var btnmenubtmoff = new Image();
	btnmenubtmoff.src = "/images/gourmet/btn_menu.jpg";

	// 地図・特典
	var btnmapbtmon = new Image();
	btnmapbtmon.src = "/images/gourmet/btn_map_on.jpg";
	var btnmapbtmoff = new Image();
	btnmapbtmoff.src = "/images/gourmet/btn_map.jpg";

	// ネット予約
	var btnreservebtmon = new Image();
	btnreservebtmon.src = "/images/gourmet/btn_reserve_on.jpg";
	var btnreservebtmoff = new Image();
	btnreservebtmoff.src = "/images/btn_reserve.jpg";

	// クチコミ
	var btnkuchikomibtmon = new Image();
	btnkuchikomibtmon.src = "/images/gourmet/btn_kuchikomi_on.jpg";
	var btnkuchikomibtmoff = new Image();
	btnkuchikomibtmoff.src = "/images/gourmet/btn_kuchikomi.jpg";


	// メニュー(上部)
	// お料理
	var menubtnmenuon = new Image();
	menubtnmenuon.src = "/images/gourmet/menu_btn_menu_on.jpg";
	var menubtnmenuoff = new Image();
	menubtnmenuoff.src = "/images/gourmet/menu_btn_menu.jpg";

	// ドリンク
	var menubtndrinkon = new Image();
	menubtndrinkon.src = "/images/gourmet/menu_btn_drink_on.jpg";
	var menubtndrinkoff = new Image();
	menubtndrinkoff.src = "/images/gourmet/menu_btn_drink.jpg";

	// コース
	var menubtncourseon = new Image();
	menubtncourseon.src = "/images/gourmet/menu_btn_course_on.jpg";
	var menubtncourseoff = new Image();
	menubtncourseoff.src = "/images/gourmet/menu_btn_course.jpg";

	// ランチ
	var menubtnlunchon = new Image();
	menubtnlunchon.src = "/images/gourmet/menu_btn_lunch_on.jpg";
	var menubtnlunchoff = new Image();
	menubtnlunchoff.src = "/images/gourmet/menu_btn_lunch.jpg";

	// フリーワード
	var menubtnfreeon = new Image();
	menubtnfreeon.src = "/images/gourmet/menu_btn_free_on.jpg";
	var menubtnfreeoff = new Image();
	menubtnfreeoff.src = "/images/gourmet/menu_btn_free.jpg";

	// メニュー(下部)
	// お料理
	var menubtmbtnmenuon = new Image();
	menubtmbtnmenuon.src = "/images/gourmet/menu_btm_btn_menu_on.jpg";
	var menubtmbtnmenuoff = new Image();
	menubtmbtnmenuoff.src = "/images/gourmet/menu_btm_btn_menu.jpg";

	// ドリンク
	var menubtmbtndrinkon = new Image();
	menubtmbtndrinkon.src = "/images/gourmet/menu_btm_btn_drink_on.jpg";
	var menubtmbtndrinkoff = new Image();
	menubtmbtndrinkoff.src = "/images/gourmet/menu_btm_btn_drink.jpg";

	// コース
	var menubtmbtncourseon = new Image();
	menubtmbtncourseon.src = "/images/gourmet/menu_btm_btn_course_on.jpg";
	var menubtmbtncourseoff = new Image();
	menubtmbtncourseoff.src = "/images/gourmet/menu_btm_btn_course.jpg";

	// ランチ
	var menubtmbtnlunchon = new Image();
	menubtmbtnlunchon.src = "/images/gourmet/menu_btm_btn_lunch_on.jpg";
	var menubtmbtnlunchoff = new Image();
	menubtmbtnlunchoff.src = "/images/gourmet/menu_btm_btn_lunch.jpg";

	// フリーワード
	var menubtmbtnfreeon = new Image();
	menubtmbtnfreeon.src = "/images/gourmet/menu_btm_btn_free_on.jpg";
	var menubtmbtnfreeoff = new Image();
	menubtmbtnfreeoff.src = "/images/gourmet/menu_btm_btn_free.jpg";

	// ラリー詳細
	var rallyShopLinkon = new Image();
	rallyShopLinkon.src = "/images/rally/rally_shop_list_on.gif";
	var rallyShopLinkoff = new Image();
	rallyShopLinkoff.src = "/images/rally/rally_shop_list.gif";


}

// ポイント時の処理
function On(name) {
	if (document.images) {
		document.images[name].src = eval(name + 'on.src');
	}
}

// 放した時の処理
function Off(name) {
	if (document.images) {
		document.images[name].src = eval(name + 'off.src');
	}
}
