$(document).ready(function() {

    // Nav hover stuff
    var navClasses = new Array(".blue", ".red", ".yellow", ".green", ".gray");

    for (i = 0; i < navClasses.length; i++)
    {
        $(navClasses[i]).hover(
        function() {
            $(this).css({
                "opacity": 0.7
            });
        },
        function() {
            $(this).css({
                "opacity": 1.0
            });
        }
        );
    }

    // Ticker
    $(function() {
        $("ul#ticker").liScroll({
            travelocity: 0.03
        });
    });

    // iframe modals
    $(".iframe").colorbox({
        width: "80%",
        height: "80%",
        iframe: true
    });

});


// So nav dropdown works in IE
$(document).ready(function() {
    $('li.dropDown').hover(
    function() {
        $('ul', this).css('display', 'block');
    },
    function() {
        $('ul', this).css('display', 'none');
    });
});






