$(function(){
	$("#naviA").mouseover(function(){
		this.style.backgroundPosition = "-100px 0px";
	});
	$("#naviA").mouseout(function(){
		this.style.backgroundPosition = "0px 0px";
	});
	$("#naviB").mouseover(function(){
		this.style.backgroundPosition = "-100px -30px";
	});
	$("#naviB").mouseout(function(){
		this.style.backgroundPosition = "0px -30px";
	});
	$("#naviC").mouseover(function(){
		this.style.backgroundPosition = "-100px -58px";
	});
	$("#naviC").mouseout(function(){
		this.style.backgroundPosition = "0px -58px";
	});
});


$(function(){
    $("#naviA").click(function (){
        $("#about").show("500");
        $("#pict").hide("500");
        $("#link").hide("500");
    });
    $("#naviB").click(function (){
        $("#about").hide("500");
        $("#pict").show("500");
        $("#link").hide("500");
    });
    $("#naviC").click(function (){
        $("#about").hide("500");
        $("#pict").hide("500");
        $("#link").show("500");
    });
    $("#logo").click(function (){
        $("#about").hide("500");
        $("#pict").hide("500");
        $("#link").hide("500");
    });
});

$(function(){
	$("img.rolloverA").mouseover(function(){
		$("img.rolloverA").css("opacity","0.6");
		$("img.rolloverA").css("filter","alpha(opacity=60)");
	});
	$("img.rolloverA").mouseout(function(){
		$("img.rolloverA").css("opacity","1.0");
		$("img.rolloverA").css("filter","alpha(opacity=100)");
    });
	$("img.rolloverB").mouseover(function(){
		$("img.rolloverB").css("opacity","0.6");
		$("img.rolloverB").css("filter","alpha(opacity=60)");
	});
	$("img.rolloverB").mouseout(function(){
		$("img.rolloverB").css("opacity","1.0");
		$("img.rolloverB").css("filter","alpha(opacity=100)");
    });
	$("img.rolloverC").mouseover(function(){
		$("img.rolloverC").css("opacity","0.6");
		$("img.rolloverC").css("filter","alpha(opacity=60)");
	});
	$("img.rolloverC").mouseout(function(){
		$("img.rolloverC").css("opacity","1.0");
		$("img.rolloverC").css("filter","alpha(opacity=100)");
    });
	$("img.rolloverD").mouseover(function(){
		$("img.rolloverD").css("opacity","0.6");
		$("img.rolloverD").css("filter","alpha(opacity=60)");
	});
	$("img.rolloverD").mouseout(function(){
		$("img.rolloverD").css("opacity","1.0");
		$("img.rolloverD").css("filter","alpha(opacity=100)");
    });
	$("img.rolloverE").mouseover(function(){
		$("img.rolloverE").css("opacity","0.6");
		$("img.rolloverE").css("filter","alpha(opacity=60)");
	});
	$("img.rolloverE").mouseout(function(){
		$("img.rolloverE").css("opacity","1.0");
		$("img.rolloverE").css("filter","alpha(opacity=100)");
    });
	$("img.rolloverF").mouseover(function(){
		$("img.rolloverF").css("opacity","0.6");
		$("img.rolloverF").css("filter","alpha(opacity=60)");
	});
	$("img.rolloverF").mouseout(function(){
		$("img.rolloverF").css("opacity","1.0");
		$("img.rolloverF").css("filter","alpha(opacity=100)");
    });

});

$(function(){
    $("#bgA").click(function (){
        $("body").css("backgroundPosition","100% center");
		$("body").css("backgroundImage","url(image/siwas.gif)");
    });
    $("#bgB").click(function (){
        $("body").css("backgroundPosition","center center");
		$("body").css("backgroundImage","url(image/nenga_peco.gif)");
    });
    $("#bgC").click(function (){
        $("body").css("backgroundPosition","100% center");
		$("body").css("backgroundImage","url(image/peco02-trans.gif)");
    });
    $("#bgD").click(function (){
        $("body").css("backgroundPosition","100% center");
		$("body").css("backgroundImage","url(image/emi01-trans.gif)");
    });
    $("#bgE").click(function (){
        $("body").css("backgroundPosition","100% center");
		$("body").css("backgroundImage","url(image/ra01-trans.gif)");
    });
    $("#bgF").click(function (){
        $("body").css("backgroundPosition","0% 40%");
		$("body").css("backgroundImage","url(image/nenga_ravi.jpg)");
    });});

