﻿$(document).ready(function()
{
    $(".testimonialsSlideshow").cycle({
        fx: "fade", // choose your transition type, ex: fade, scrollUp, shuffle, etc...
        speed: 1000,
        timeout: 4000
    });

    $(".attendeesSlideshow").cycle({
        fx: "fade", // choose your transition type, ex: fade, scrollUp, shuffle, etc...
        speed: 1000,
        timeout: 2500
    });

    var myDate = new Date("October 18, 2010 12:00:00");

    $("#countdown").countdown(
    {
        until: myDate,
        compact: true
    });

    $("#navAbout").mouseover(function()
    {
        $(".navBarOverState").hide();
        $("#imgNavBarAbout").show();
        $("#imgNavBarPlain").hide();
    });

    $("#navAgenda").mouseover(function()
    {
        $(".navBarOverState").hide();
        $("#imgNavBarAgenda").show();
        $("#imgNavBarPlain").hide();
    });

    $("#navRecap").mouseover(function()
    {
        $(".navBarOverState").hide();
        $("#imgNavBarRecap").show();
        $("#imgNavBarPlain").hide();
    });

    $("#navResort").mouseover(function()
    {
        $(".navBarOverState").hide();
        $("#imgNavBarResort").show();
        $("#imgNavBarPlain").hide();
    });

    $("#navApply").mouseover(function()
    {
        $(".navBarOverState").hide();
        $("#imgNavBarApply").show();
        $("#imgNavBarPlain").hide();
    });

    $(".navBarOverState").mouseleave(function()
    {
        $(".navBarOverState").hide();
        $("#imgNavBarPlain").show();
    });


});