
$(function(){

$("li.li-roleover").hover(
	function(){
		$(this).css("background-position","bottom");
		this.style.cursor = "pointer";
	},
	function(){
		$(this).css("background-position","top");
		this.style.cursor = "default";
	}
).click(function(){
	var id = $(this).attr("id");
	if(id=="menu_blog"){
		window.open("http://ameblo.jp/hairmakejoo/");
		return false;
	}else{
		var file = "";
		if(id=="menu_index"){
			file = "index";
		}else{
			file = id;
		}
		file = file + ".html";
		location.href = file;
	}
});


$("span#span-id-sitemap").hover(
	function(){
		$(this).css("color","#CC3300");
		this.style.cursor = "pointer";
	},
	function(){
		$(this).css("color","#003300");
		this.style.cursor = "default";
	}
).click(function(){
	location.href="sitemap.html";
});


$("a").hover(
	function(){
		$(this).css({color:"#CC9900"});
		var csname = $(this).parent().attr("class");
		if(csname=="dd-sub"){
			$(this).parent().css("background-image","url('image/allow_on.gif')");
		}
	},
	function(){
		$(this).css({color:"#737373"});
		var csname = $(this).parent().attr("class");
		if(csname=="dd-sub"){
			$(this).parent().css("background-image","url('image/allow.gif')");
		}
	}
);


$("div.div-gotop").hover(
	function(){
		$(this).css("background-position","bottom right");
		this.style.cursor = "pointer";
	},
	function(){
		$(this).css("background-position","top right");
		this.style.cursor = "default";
	}
).click(function(){
	location.href = "#div-pricebody";
});


$("a.a-blog").hover(
	function(){
		$(this).css("background-position","bottom right");
},
	function(){
		$(this).css("background-position","top right");
});


});



