$(document).ready(function () {


    // Set larger font sizes

    // Default Size
    $("#textbutton_default").click(function () {
        $("#four p").removeClass('font_larger , font_largest').addClass("font_regular");
        $("h5.info").removeClass('font_larger , font_largest').addClass("font_regular");
        $("#footer").css({ 'margin-bottom': '10px', 'line-height': '16px' });
    });

    // Larger
    $("#textbutton_larger").click(function () {
        $("#four p").removeClass('font_regular , font_largest').addClass("font_larger");
        $("h5.info").removeClass('font_regular , font_largest').addClass("font_larger");
        $("#footer").css({ 'margin-bottom':'10px','line-height': '16px' });
    });

    // Largest
    $("#textbutton_largest").click(function () {
        $("#four p").removeClass('font_regular , font_larger').addClass("font_largest");
        $("h5.info").removeClass('font_regular , font_larger').addClass("font_largest");
        $("#footer").css({ 'margin-bottom': '20px', 'line-height': '16px' });
    });


    // Set Color and Image changes

    // Default - blue
    $("#stylebutton_blue").click(function () {
        $("body").css({ 'background': '#77d1d0 url(images/bg1.jpg) repeat-x left top' });
        $("#header").css({ 'background': '#00453c url(images/header1.jpg) no-repeat left 15px' });
        $("#header_imgs").css({ 'background': '#00453c url(images/header_imgs1.jpg) no-repeat left top' });
        $("#content").css({ 'background': '#c8e6d6 url(images/body1.jpg) no-repeat right bottom' });
        $("#fontsizeswitchCont a").css({ 'background': 'url(images/textsizenav1.png) no-repeat 0px 0px' });
        $("#fontsizeswitchCont a.larger").css({ 'background': 'url(images/textsizenav1.png) no-repeat center left' });
        $("#fontsizeswitchCont a.largest").css({ 'background': 'url(images/textsizenav1.png) no-repeat bottom left' });
        $("#donateNow").css({ 'background': 'url(images/donatenow1.png) no-repeat left top' });
        $("#styleswitchNav h4").css({ 'color': '#000' });
        $("#four p").css({ 'color': '#000' });
        $("#four p a").css({ 'color': 'blue' });
        $("h5.info").css({ 'color': '#000' });
        $("h5.info a").css({ 'color': 'blue' });
        $("h5.info a:hover").css({ 'color': 'blue' });
        $("h5.info a:active").css({ 'color': 'blue' });
        $("h1").css({ 'color': '#015858' });
        $("h2").css({ 'color': '#45484A' });
        $("#footer").css({ 'background': 'url(images/footer1.jpg) no-repeat left top', 'line-height': '16px' });
        $("#colorswitchCont a.cs_black").css({ 'border': '1px black solid' });
    });

    // Alternate - black and yellow
    $("#stylebutton_blackyellow").click(function () {
        $("body").css({ 'background': '#666 url(images/bg2.jpg) repeat-x top left' });
        $("#content").css({ 'background': '#000 url(images/body2.jpg) no-repeat right bottom' });
        $("#header").css({ 'background': 'url(images/header2.jpg) no-repeat left 15px' });
        $("#header_imgs").css({ 'background': 'url(images/header_imgs2.jpg)' });
        $("#donateNow").css({ 'background': 'url(images/donatenow2.png) no-repeat left top' });
        $("#four p").css({ 'color': 'yellow' });
        $("#four p a").css({ 'color': 'white' });
        $("h5.info").css({ 'color': 'yellow' });
        $("h5.info a").css({ 'color': 'white' });
        $("h5.info a:hover").css({ 'color': 'white' });
        $("h5.info a:active").css({ 'color': 'yellow' });
        $("h1").css({ 'color': 'white' });
        $("h2").css({ 'color': '#f7f1cf' });
        $("#styleswitchNav h4").css({ 'color': 'yellow' });
        $("#fontsizeswitchCont a").css({ 'background': 'url(images/textsizenav2.png) no-repeat 0px 0px' });
        $("#fontsizeswitchCont a.larger").css({ 'background': 'url(images/textsizenav2.png) no-repeat center left' });
        $("#fontsizeswitchCont a.largest").css({ 'background': 'url(images/textsizenav2.png) no-repeat bottom left' });
        $("#footer").css({ 'background': 'url(images/footer2.jpg) no-repeat left top','line-height':'16px' });
        $("#colorswitchCont a.cs_black").css({ 'border': '1px yellow solid' });
        
    });

});



