        $(function() {
			/*****************************************
			 * Menu                                  *
			 ****************************************/
            $("#lava1").lavaLamp({
                fx: "backout",
                speed: 300,
                click: function(event, menuItem) {
                    return true;
                }
            });

			/*****************************************
			 * Carousel                              *
			 ****************************************/
			$(".jCarouselLite").jCarouselLite({
				btnNext: ".carouselNext",
				btnPrev: ".carouselPrev",
				visible: 6,
				scroll:3
			});

			/*****************************************
			 * News Ticker                           *
			 ****************************************/
			var first = 0;
			var speed = 700;
			var pause = 8000;

			function removeFirst(){
				first = $('ul#listticker li').first().html();
				$('ul#listticker li').first().animate({opacity: 0}, speed).fadeOut('slow', function() {$(this).remove();});
				addLast(first);
			}

			function addLast(first){
				last = '<li style="display:none">'+first+'<\/li>';
				$('ul#listticker').append(last);
				$('ul#listticker li').last().animate({opacity: 1}, speed).fadeIn('slow');
			}

			interval = setInterval(removeFirst, pause);

			/*****************************************
			 * Image Rollovers                       *
			 ****************************************/
			//Set opacity on each span to 0%
			$(".rolloverWin").css({'opacity':'0'});

			$('.osWin a').hover(
				function() {
					$(this).find('.rolloverWin').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.rolloverWin').stop().fadeTo(500, 0);
				}
			);

			//Set opacity on each span to 0%
			$(".rolloverMac").css({'opacity':'0'});

			$('.osMac a').hover(
				function() {
					$(this).find('.rolloverMac').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.rolloverMac').stop().fadeTo(500, 0);
				}
			);

			//Set opacity on each span to 0%
			$(".rolloverSupport").css({'opacity':'0'});

			$('#support a').hover(
				function() {
					$(this).find('.rolloverSupport').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.rolloverSupport').stop().fadeTo(500, 0);
				}
			);

			//Set opacity on each span to 0%
			$(".rolloverContact").css({'opacity':'0'});

			$('#contact a').hover(
				function() {
					$(this).find('.rolloverContact').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.rolloverContact').stop().fadeTo(500, 0);
				}
			);
			
			/*****************************************
			 * Featured content                      *
			 ****************************************/
			$("#featured").tabs({fx:{opacity: "toggle"}});
			$("#featured").tabs("rotate", 8000, true);
			
			/*****************************************
			 * qTip                                  *
			 ****************************************/
			$('#references img[alt]').qtip(
			{
				position: { corner: { target: 'topMiddle', tooltip: 'bottomMiddle' }},
				style: { name: 'cream', tip: true, width: 220 }
			});

        });
        
        
	function centeredPopup(url,nom,largeur,hauteur,options) {
		var haut=(screen.height-hauteur)/2;
		var Gauche=(screen.width-largeur)/2;
		fencent=window.open(url,nom,"top="+haut+",left="+Gauche+",width="+largeur+",height="+hauteur+","+options);
}
