$(document).ready(function () {
    $(".sample").hover(function () {
        $(".mainMenu").stop().animate({ backgroundColor: "#FFFFFF" }, 200);
        var hColor = $(this).attr("hoverColor");
        $(this).stop().animate({ backgroundColor: hColor }, 200);
    }, function () {
        $(this).stop().animate({ backgroundColor: "#FFFFFF" }, 200);
    });

    $("#register").hover(function () {
        $(this).stop().animate({ backgroundColor: "#c02f25" }, 200);
    }, function () {
        $(this).stop().animate({ backgroundColor: "#1994e6" }, 200);
    });
    $("#signin").hover(function () {
        $(this).stop().animate({ backgroundColor: "#b2d0e5" }, 200);
    }, function () {
        $(this).stop().animate({ backgroundColor: "#dcdcdc" }, 200);
    });
    $(".menuLeft").hover(function () {
        $(this).stop().animate({ backgroundColor: "#d2232a", color: '#ffffff' }, 200);
    }, function () {
        $(this).stop().animate({ backgroundColor: "#ffffff", color: '#5e5e5e' }, 200);
    });
    $(".topMenu").hover(function () {
        $(this).stop().animate({ color: "#d2232a" }, 200);
        $(this).children('.topSubMenu').show('blind', 50);
    }, function () {
        $(this).stop().animate({ color: "#b59177" }, 200);
        $(this).children('.topSubMenu').hide('blind', 50);
    });
    $(".reserveTour").hover(function () {
        $(this).stop().animate({ backgroundColor: "#F5DFE0", color: '#d2232a' }, 200);
    }, function () {
        $(this).stop().animate({ backgroundColor: "#d6e9f6", color: '#3a3a3a' }, 200);
    });

    $(".btMenu").hover(function () {
        $(this).toggleClass('hoverRed', 'fast');
    });

    if ($.browser.msie) { } else {
    };
});

function MM_preloadImages() { //v3.0
    var d = document; if (d.images) {
        if (!d.MM_p) d.MM_p = new Array();
        var i, j = d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i < a.length; i++)
            if (a[i].indexOf("#") != 0) { d.MM_p[j] = new Image; d.MM_p[j++].src = a[i]; }
    }
}
