/*jslint white: true, browser: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true */

jQuery('html').addClass('js');

Cufon.replace('h1, h2, h3, a.cufon');

jQuery(function () {

	/**
	 * Effets au dessus du menu de navigation 
	 */
    $('#SiteNav a, a.btn').hover(
		function () {
			$(this).stop().animate({paddingBottom: '10px'}, 400, 'easeOutBounce');
		},
		function () {
			$(this).stop().animate({paddingBottom: '0'},  400, 'easeOutBounce');
		}
	);
	
	$('#paging a, input.submit').hover(
		function () {
			$(this).stop().animate({top: '-10px', paddingBottom: '10px'}, 400, 'easeOutBounce');
		},
		function () {
			$(this).stop().animate({top: '0', paddingBottom: '0'},  400, 'easeOutBounce');
		}
	);
	
	$('a[rel=external], a[rel=file]')
    .click(function () {
        return !window.open(this.href);
    })
    .attr('title', 'open in new window');
});
