$(document).ready(function(){//on attend que la page soit chargée
	$("#wBandeau").css("display","block");
	$("#wBandeau #wLiens a.wclic").click(function(){
		return false;
	})
	$("#wBandeau #wLiens a.wclic").each(function(i){
		$(this).attr("rel", "not");
		var temp = $(this).attr("href");
		$(this).hover(function () {
			var offset = $(this).offset();
			$("#wContent").css({
				left: offset.left+"px",
				top: $("#wBandeau").height()+"px"
			})
			$("#wBandeau #wLiens a.wclic").not(":eq("+i+")").each(function(i){
				var temp3 = $(this).attr("href");
				if($(temp3).css("display") != 'none'){
					$(this).attr("rel", "not");
					$(temp3).css("display","none");
				}
			});
			if($(this).attr("rel") == "not"){
				$(this).attr("rel", "yes");
				$(temp).css("display","block");
			}else{
				$(this).attr("rel", "not");
				$(temp).css("display","none");
			}
		},function(){});
	});
	$("#wBandeau").hover(function(){},function(){
		$("#wBandeau #wLiens a.wclic").each(function(i){
			var temp3 = $(this).attr("href");
			if($(temp3).css("display") != "none"){
				$(temp3).fadeOut();
				$(this).attr("rel", "not");
			}
		});
	})
});