// JavaScript Document


$(function () {
    $("#switches li").mouseover(function () {
        var $this = $(this);
        $("#slides div").hide();
		$("#slide" + $this.attr("id").replace(/switch/, "")).show();
        $("#switches li").css("font-weight", "normal");
        $this.css("font-weight", "bold");
    });
});
$(function () {
    $("#switchesA li").mouseover(function () {
        var $this = $(this);
        $("#slidesA div").hide();
		$("#slideA" + $this.attr("id").replace(/switchA/, "")).show();
        $("#switchesA li").css("font-weight", "normal");
        $this.css("font-weight", "bold");
    });
});
$(function () {
    $("#switchesB li").mouseover(function () {
        var $this = $(this);
        $("#slidesB div").hide();
		$("#slideB" + $this.attr("id").replace(/switchB/, "")).show();
        $("#switchesB li").css("font-weight", "normal");
        $this.css("font-weight", "bold");
    });
});
$(function () {
    $("#switchesC li").mouseover(function () {
        var $this = $(this);
        $("#slidesC div").hide();
		$("#slideC" + $this.attr("id").replace(/switchC/, "")).show();
        $("#switchesC li").css("font-weight", "normal");
        $this.css("font-weight", "bold");
    });
});
$(function () {
    $("#switchesD li").mouseover(function () {
        var $this = $(this);
        $("#slidesD div").hide();
		$("#slideD" + $this.attr("id").replace(/switchD/, "")).show();
        $("#switchesD li").css("font-weight", "normal");
        $this.css("font-weight", "bold");
    });
});
$(function () {
    $("#switchesE li").mouseover(function () {
        var $this = $(this);
        $("#slidesE div").hide();
		$("#slideE" + $this.attr("id").replace(/switchE/, "")).show();
        $("#switchesE li").css("font-weight", "normal");
        $this.css("font-weight", "bold");
    });
});
