var GB_ANIMATION = true;


jQuery(document).ready(function(){
	var GB_ANIMATION = true;  
	jQuery(".posteListe tr td:even").css({"background":"#f0f5fa","color":"#000"});
	jQuery("a.normalbox").click(function(){$("#listposte").hide();})
	jQuery("a.greybox").click(function(){
		/*var t = this.title || $(this).text() || this.href;
		GB_show(t,this.href,560,620);
		
		$.ajax({
			url:'/4daction/w3_ListePoste/',
			async:true,
			type:'POST',
			cache:false
		});	
		return false;*/
		
		jQuery("#listposte").css("display","block");
	});
	jQuery(".unedeux tr:even").css("background","url(/../images/dot_png_24/bleu/bleu5.png)");
	jQuery(".unedeux tr:odd").css("background","url(/../images/dot_png_24/bleu/bleu10.png)");
	jQuery(".retirable").click(function(){
		jQuery.ajax({
			beforeSend: confirmSuppr,
			url:'/4daction/w3_CDSupprCategorisation/'+jQuery(this).attr("title"),
			async:true,
			type:'POST',
			cache:false,
			success:actualisePage
		});						   
	});
	
	jQuery(".ajoutable").click(function(){
		
		jQuery.ajax({
			beforeSend: confirmAdd,
			url:'/4daction/w3_CDAddCategorisation/'+jQuery(this).attr("title"),
			async:true,
			type:'POST',
			cache:false,
			success:actualisePage
		});	
		
	});
	
});

