left_X=new Array("0","172","222","294","374","418","453","0");
width_X=new Array("0","32","56","62","30","23","53","0");

////////////////////////////////////////////////////////////////// MENU

mouvement=function(e){
	$("#indicateur").stop().animate({
    	left: left_X[e],
    	width: width_X[e]
    });
};

retour=function(e){
	if(e!=posit){
		$("#indicateur").stop().animate({
    		left: left_X[posit],
    		width: width_X[posit]
    	});
    };
};

////////////////////////////////////////////////////////////////// INDIC


indic=new Object();
indic.init=function(){
	$('#indicateur').css("left",left_X[posit]+"px");
	$('#indicateur').css("width",width_X[posit]+"px");
};


////////////////////////////////////////////////////////////////// WP

WP=new Object();
WP.init=function(){
	$('#WP').css("cursor","pointer");
	$('#WP').mouseover(function() {
		$("#WP").stop().animate({top: "75"}, 150);
	});
	
	$('#WP').mouseout(function() {
		$("#WP").stop().animate({top: "90"}, 150);
	});
	
	$('#WP').click(function() {
		window.open("http://ghostlab.eu/blog/");
	});
};
