$(window).load(
    function() {
        //alert("window load");
        $("#element,#bodyer").fadeIn("fast");
    }
);
$(document).ready(function(){

		
        $("#element,#bodyer").hide();
        
        
		/* TOOLTIP */
		$('#googlecontact').tooltip({ 
			track: true, 
			delay: 0, 
			showURL: false, 
			showBody: " - ", 
			fade: 250 
		});
		
		if ( $("#left_nav a").hasClass("allume")){
			$(this).css({position:"absolute",top:"0"});
		}
		
		
		/* FOR THE DUMMY explorer */
		var zIndexNumber = 1000;
		$('.snav').each(function() {
			$(this).css('zIndex', zIndexNumber);
		zIndexNumber -= 10;
		});

		
		
		/* LINKS OUTLINE NONE IE */
		$("a").focus(function() {
  			$(this).blur();
		});
		
		
		$('a[rel=external]').click(function(){
			window.open(this.href); 
			return false;
  		});
  		

    	$("#bodyer").css({visibility:"visible"});
    	$("#lang2").css({visibility:"visible"});
    	

		
		$("a[href=#]").attr("href", "javascript:void(0);");
		
		
		
		
		
			$(".pop").fancybox({
				//'width'				: '95%',
				'height'			: '95%',
				'titleShow'			: false,
				'autoScale'			: true,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

		
		
		
		
		
		/* sub menu */
		
		$(".snav").hide();
		$("#nav_projets").click(function () {
			$(".snav").css({visibility:"visible"});
   			$('.snav').slideToggle("fast");
		});
		

		/*window resize */
		/*
		$(window).bind('resize',function(){
     		window.location.href = window.location.href;
		});
		*/



});// The end of our jQuery function

