
	jQuery(document).ready(function(){
	
	
	if (navigator.appName.indexOf("Microsoft")!=-1)
		width=document.body.offsetWidth;
	else
		width=window.innerWidth;
				
				
	jQuery("a.info").each(function(){
		jQuery(this).mouseover(function(mouse){
			span=jQuery(this).children('span');
			//alert("taille ecran="+width+"// pos souris="+mouse.pageX);
			if(width<=1024 && mouse.pageX>=850){
				//alert('width:'+width+' // '+mouse.pageX);
				span.css('left',"-150px");	
			}
		});
	});
	/*
	jQuery(document).mousemove(function(mouse){
		console.log("%x ="+mouse.pageX/width);
	});
	*/
	jQuery("a.info_contenu").each(function(){
		
		
		jQuery(this).mouseover(function(mouse){
			span=jQuery(this).children('span');
			//alert("taille ecran="+width+"// pos souris="+mouse.pageX);
			if(mouse.pageX/width>=0.40){
				//alert('width:'+width+' // '+mouse.pageX+' / % ='+mouse.pageX/width);
				span.css('left',"-150px");	
			}
		
		});
	});
	
	/**
		
	**/
	
		

});

