﻿$(document).ready(function () {

    $('.fancy-title a, #footer-quad-first h1, #footer-quad-second h1').each(function () {
        var me = $(this);
        me.html(me.html().replace(/^(\w+)/, '<span>$1</span>'));
        $(".title > span").css({ 'font-style': 'italic' });
    });

    $(".rollover-panel .panel-item").hover(
    function () {
        $(this).css({ "background-image": "url('/Themes/RosyBlue/Content/images/rollover-shadow.png')" });
    },
    function () {
        $(this).css({ "background-image": "none" });
    });



    $(".aside-article-widget").hover(
        function () {
            $(this).css({ "background-image": "url('/Themes/RosyBlue/Content/images/aside-rollover.png')" });
            $(".aside-widget").css({ "color": "#537db8" });
        },
        function () {
            $(this).css({ "background-image": "none" });
            $(".aside-widget").css({ "color": "#434343" });
        }
    );



});
