function MaJModele(sscat) {
		
		
		jQuery.post("ajax/_maj_modele.php", {sscat: ""+sscat+""}, function(data){
			if(data.length >0) {
				
				jQuery('#AffModele').show();
				jQuery('#AffModele').html(data);
			}
			
		});
	
} // 

function MaJModele1(sscat) {
		
		
		jQuery.post("ajax/_maj_modele1.php", {sscat: ""+sscat+""}, function(data){
			if(data.length >0) {
				
				jQuery('#AffModele').show();
				jQuery('#AffModele').html(data);
			}
			
		});
	
} // 


function skipOverlay() {
    return jQuery.facebox.settings.overlay == false || jQuery.facebox.settings.opacity === null
  }

function showOverlay() {
    if (skipOverlay()) return

    if (jQuery('style_overlay').length == 0)
      jQuery("body").append('<div id="style_overlay" class="style_hide"></div>')

    jQuery('#style_overlay').hide().addClass("style_overlayBG")
      .css('opacity', jQuery.facebox.settings.opacity)
      .click(function() { jQuery(document).trigger('close.facebox') })
      .fadeIn(200)
    return false
  }

  function hideOverlay() {
    if (skipOverlay()) return

    jQuery('#style_overlay').fadeOut(200, function(){
      jQuery("#style_overlay").removeClass("style_overlayBG")
      jQuery("#style_overlay").addClass("style_hide")
      jQuery("#style_overlay").remove()
    })
   
    return false
  }


function navig_listings_jquery(variable,valeur,boolean,nompage,page){
	
	jQuery('#tab_ajax').hide();
	jQuery('#load').show();
	jQuery('#tab_ajax').html('');
	jQuery("#divlisting").fadeOut(200, function () {
		 opacity:0.9;
	 })

	jQuery.post("ajax/_maj_listing.php", {variable: ""+variable+"",valeur: ""+valeur+"",boolean : ""+boolean+"",nompage : ""+nompage+"",page : ""+page+"" }, function(data){
			
			if(data.length >0) {
				 jQuery("#divlisting").fadeIn(200, function () {
					 opacity:0.9;
				 })
				jQuery('#load').hide();
				jQuery('#tab_ajax').html(data);
				jQuery('#tab_ajax').show();
				
			}
			
		});
		
}

function maj_modele_gauche(sscat,boolean) {
	
	
	jQuery.post("ajax/_maj_modele_gauche.php", {sscat: ""+sscat+"",boolean : ""+boolean+""}, function(data){
		
		if(data.length >0) {
			
			jQuery('#AffModeleGauche').show();
			jQuery('#AffModeleGauche').html(data);
		}
		
	});

} // 


function maj_sscat_gauche(cat,boolean) {
	
	
	jQuery.post("ajax/_maj_sscat_gauche.php", {cat: ""+cat+"",boolean : ""+boolean+""}, function(data){
		
		if(data.length >0) {
			
			jQuery('#AffSsCatGauche').show();
			jQuery('#AffSsCatGauche').html(data);
		}
		
	});

} //

