
setFormAjax= function(){
				$("form input").focus(function(){
					if(!$(this).is('.focused')){
						$(this).addClass('focused');
					//	$(this).val('');
					}
				});
				$("form.ajax").submit(function(){
					H = $(this).attr('action');
					Method = $(this).attr('method');
					$(this).find('.tinyMceClassed').tinymce().hide();
					Data = $(this).serialize();
					$(this).find('.tinyMceClassed').tinymce().show();
							if(H.indexOf('?')){
								H += '&ajaxMod=true';
							}
							else{
								H += '?ajaxMod=true';
							}
						
						Form = $(this);
						$.ajax({
							type : Method,
							url : H,
							data : Data,
							success:function(dom){
								$("#corps").html(dom);
								$("head title").html($("#corps #titleHeader").html());
								ToLoadAfterAjax();
								}
							});
							return false;
					});
					
}