jQuery.fn.imagecoords = function() {

	$("#ca").mouseup(function(e) {
		    var t=e.target,url=$(t).attr('id'),w=$(t).attr('href');
		var txt=w+'('+url+')';
		txt=txt.split('#');
		$("#zone_ou").val(txt[1]);
		$("#ca").hide();
		tr=false;
		$("#cvi_tooltip").hide();
		
		});
	};

	jQuery.fn.pshover = function() {

		$("#ul123 ul li").mouseup(function(e) {
			    var t=e.target,url=$(t).attr('id'),txt=$("#"+url).text();
			$("#zone_quoi").val(txt);
			//$("#type_rech").val("avc_ps"); TODO:activer une fois les secteurs rédigé
			//$("#pages_cou").val(url);TODO:activer une fois les secteurs rédigé
			 $("#secteur").fadeOut("slow");
			 $("#secteur").remove();
			 $('#wait').remove();
			 $("#ul123").remove(); 
			tr=false;
			
			});

		$("#ul123 ul li").mouseover(function(e) {
			    var t=e.target,url=$(t).attr('id');
			    $(this).animate({
			        width: "100%",
			        opacity: 1,
			        color:"#495CFF",
			        width:"128px"

			      }, 200 );

			
			});
		$("#ul123 ul li").mouseout(function(e) {
		    var t=e.target,url=$(t).attr('id');
		    $(this).animate({
		        width: "100%",
		        opacity: 0.7,
		        color:"#555",
		        width:"128px"
		        
		      }, 100 );

		
		});
		};




