﻿
/// <reference path="jquery-1.3.2.js" />

//MENU MAIN
//$(document).ready(function() {
//    //Lorsque la souris survole un lien
//$("#Navigation li").mouseover(function() {
//$(this).stop().animate(
//            { height: '150px' },
//            { queue: true,
//                duration: 600,
//                easing: 'easeInQuad'
//            })
//    });
//    //Lorsque la souris quitte le lien
//    $("#Navigation li").mouseout(function() {
//        $(this).stop().animate(
//            { height: '50px' },
//            { queue: true,
//                duration: 600,
//                easing: 'easeInQuad'
//            })
//    });
//});

//MENU MAIN - ENS

//MENU SUB

$(document).ready(function() {
    $("#MenuSub li:even").addClass("alt");
    $('#MenuSub li a').mouseover(function() {
        $(this).animate({ fontSize: "10px", paddingLeft: "10px" }, 50);
    });
    $('#MenuSub li a').mouseout(function() {
        $(this).animate({ fontSize: "10px", paddingLeft: "5px" }, 50);
    });
});


$(document).ready(function() {
    $("#Tabscurrents #Tabfirst").addClass("current");
    $("#Tabshistorical #Tabsecond").addClass("current");
});

$(document).ready(function() {
    $("#Tabspressrelease #Tabfirst").addClass("current");
    $("#Tabspressreview #Tabsecond").addClass("current");
});

$(document).ready(function() {

    $("#Fiche").toggle(function() {
        $("#Fiche").animate({
            marginLeft: "15px"
        }, 500);
    }, function() {
        $("#Fiche").animate({
            marginLeft: "216px"
        }, 500);
    });

});


//MENU SUB -END

