function init() {
	try {
		document.execCommand('BackgroundImageCache', false, true);
	} catch(e) {}
	
	/*jQuery( '<div>', { css: { margintop: '2px', fontWeight: 'bold' },
                   width: 15, height: 15, text: 'jQuery' } )
                 .appendTo( "#os_menu_to" );*/
                 
	
	$("#os_menu_to").append('<div style="margin-top:2px"><a href="http://www.wanpark.co.jp/shop/petItem2/"><img src="http://www.wanpark.co.jp/img_common/os3_off.gif" border=0></a></div>');
	$("#os_menu_to").append('<div style="margin-top:2px"><a href="http://www.wanpark.co.jp/shop/petItem3/"><img src="http://www.wanpark.co.jp/img_common/os4_off.gif" border=0></a></div>');
	
	//<div style="margin-top:2px"><a href="http://localhost/wanpark/shop/petItem2/"><img src="http://localhost/wanpark/img_common/os3_off.gif"></a></div>
	
	//$("#os_menu_to > div:nth-child(2)").remove();
	
	$("#oh_menu_to > div:nth-child(7) > a").attr('href', 'http://www.wanpark.co.jp/hotel/shampoo2/');
	
	//西中州カフェ
	
	$("#c_menu").click(function() {
		$("#c_menu_to").animate({
			height : "show"
		}, "slow", function() {
			
		});
	});
	
	$("#c_menu_all").hover(function() {
		$("#c_menu_to").animate({
			height : "hide"
		}, "slow", function() {
			
		});
	});
	
	//西中州ホテル
	
	$("#h_menu").click(function() {
		$("#h_menu_to").animate({
			height : "show"
		}, "slow", function() {
			
		});
	});
	
	$("#h_menu_all").hover(function() {
		$("#h_menu_to").animate({
			height : "hide"
		}, "slow", function() {
			
		});
	});
	
	//大濠カフェ
	
	$("#oc_menu").click(function() {
		$("#oc_menu_to").animate({
			height : "show"
		}, "slow", function() {
			
		});
	});
	
	$("#oc_menu_all").hover(function() {
		$("#oc_menu_to").animate({
			height : "hide"
		}, "slow", function() {
			
		});
	});
	
	//大濠ホテル
	
	$("#oh_menu").click(function() {
		$("#oh_menu_to").animate({
			height : "show"
		}, "slow", function() {
			
		});
	});
	
	$("#oh_menu_all").hover(function() {
		$("#oh_menu_to").animate({
			height : "hide"
		}, "slow", function() {
			
		});
	});
	
	//大濠ショップ
	
	$("#os_menu").click(function() {
		$("#os_menu_to").animate({
			height : "show"
		}, "slow", function() {
			
		});
	});
	
	$("#os_menu_all").hover(function() {
		$("#os_menu_to").animate({
			height : "hide"
		}, "slow", function() {
			
		});
	});
	
	/*
	var flag2 = 0;
	var flag3 = 0;

	$("#c_menu").hover(function() {
		if(flag2 == 0) {
			flag2 = 1;
			$("#c_menu_to").animate({
				height : "show"
			}, "slow", function() {
				flag2 = 0;
			});
		}

	}, function() {

		if(flag3 == 0) {
			flag3 = 1;
			$("#c_menu_to").animate({
				height : "hide"
			}, "slow", function() {
				flag3 = 0;
			});
		}

	});
	
	//西中州ホテル
	var flag4 = 0;
	var flag5 = 0;

	$("#h_menu").hover(function() {
		if(flag4 == 0) {
			flag4 = 1;
			$("#h_menu_to").animate({
				height : "show"
			}, "slow", function() {
				flag4 = 0;
			});
		}

	}, function() {

		if(flag5 == 0) {
			flag5 = 1;
			$("#h_menu_to").animate({
				height : "hide"
			}, "slow", function() {
				flag5 = 0;
			});
		}

	});
	*/
	//告知バナー
	
	var flag = 0;
	
	$("#oohoriKokuti").animate({
		height : "toggle",
		width : "toggle"
	}, "slow", function() {
	});
	
	$(".block").click(function() {

		$("#otoggle").animate({
			height : "toggle"
		}, "slow", function() {
			if(flag == 0) {
				$("#ochange").css("background", "url(img/ohoriBana4.gif) no-repaet");
				flag = 1;
			} else {
				$("#ochange").css("background", "url(img/ohoriBana3.gif) no-repaet");
				flag = 0;
			}
		});
	});
	
	smartRollover();
	
}
