function navig_listings_jquery(cat,sscat,publi,p){jQuery.get("ajax/_maj_listing.php",{cat:""+cat+"",sscat:""+sscat+"",publi:""+publi+"",p:""+p+""},function(data){if(data.length>0){jQuery('#load').hide();jQuery('#tab_ajax').show();jQuery('#tab_ajax').html(data);}});}
function navig_listings_jquery_publi(publi,p){jQuery.get("ajax/_maj_listing.php",{publi:""+publi+"",p:""+p+""},function(data){if(data.length>0){jQuery('#load').hide();jQuery('#tab_ajax').show();jQuery('#tab_ajax').html(data);}});}
function navig_listings_jquery_pieces(piece,publi,p){jQuery.get("ajax/_maj_listing.php",{piece:""+piece,p:""+p+"",publi:""+publi+""},function(data){if(data.length>0){jQuery('#load').hide();jQuery('#tab_ajax').show();jQuery('#tab_ajax').html(data);}});}
function navig_listings_jquery_search(p){jQuery.get("ajax/_maj_listing_search.php",{p:""+p+""},function(data){if(data.length>0){jQuery('#load').hide();jQuery('#tab_ajax').show();jQuery('#tab_ajax').html(data);}});}
function navig_gauche_cat(idcat,value,piece,publi,p){jQuery.post("ajax/_maj_gauche_cat.php",{idcat:""+idcat+"",publi:""+publi+"",value:""+value+""},function(data){navig_listings_jquery_pieces(piece,publi,p);});}
function navig_gauche_cat_lien(idcat,value,piece,publi,p,div){jQuery.post("ajax/_maj_gauche_cat.php",{idcat:""+idcat+"",publi:""+publi+"",value:""+value+"",piece:""+piece+""},function(data){navig_listings_jquery_pieces(piece,publi,p);});jQuery.post("ajax/_maj_lignecat.php",{idcat:""+idcat+"",publi:""+publi+"",value:""+value+"",piece:""+piece+""},function(data){if(data.length>0){jQuery('#'+escape(div)).html(data);}});}
function navig_gauche_cat_search(idcat,value,piece,p){jQuery.post("ajax/_maj_gauche_cat.php",{idcat:""+idcat+"",value:""+value+""},function(data){navig_listings_jquery_search(p);});}
function navig_gauche_sscat(idsscat,value,cat,sscat,p){jQuery.post("ajax/_maj_gauche_sscat.php",{idsscat:""+idsscat+"",value:""+value+""},function(data){navig_listings_jquery(cat,sscat,'',p);});}
function navig_gauche_sscat_lien(idsscat,value,cat,sscat,p,div){jQuery.post("ajax/_maj_gauche_sscat.php",{idsscat:""+idsscat+"",value:""+value+""},function(data){navig_listings_jquery(cat,sscat,'',p);});jQuery.post("ajax/_maj_lignesscat.php",{idsscat:""+idsscat+"",value:""+value+"",cat:""+cat+"",sscat:""+sscat+""},function(data){if(data.length>0){jQuery('#'+escape(div)).html(data);}});}
function navig_gauche_piece(idpiece,value,cat,sscat,publi,p){jQuery.post("ajax/_maj_gauche_piece.php",{idpiece:""+idpiece+"",publi:""+publi+"",value:""+value+""},function(data){navig_listings_jquery(cat,sscat,publi,p);});}
function navig_gauche_piece_lien(idpiece,value,cat,sscat,publi,p,div){jQuery.post("ajax/_maj_gauche_piece.php",{idpiece:""+idpiece+"",publi:""+publi+"",value:""+value+""},function(data){navig_listings_jquery(cat,sscat,publi,p);});jQuery.post("ajax/_maj_lignepiece.php",{idpiece:""+idpiece+"",value:""+value+"",cat:""+cat+"",sscat:""+sscat+"",publi:""+publi+""},function(data){if(data.length>0){jQuery('#'+escape(div)).html(data);}});}
function navig_gauche_piece_search(idpiece,value,cat,sscat,publi,p){jQuery.post("ajax/_maj_gauche_piece.php",{idpiece:""+idpiece+"",value:""+value+""},function(data){navig_listings_jquery_search(p);});}
function navig_gauche_publi(idpubli,value,cat,sscat,p){jQuery.post("ajax/_maj_gauche_publi.php",{idpubli:""+idpubli+"",value:""+value+""},function(data){navig_listings_jquery(cat,sscat,p);});}
function navig_gauche_publi_lien(idpubli,value,cat,sscat,p,div){jQuery.post("ajax/_maj_gauche_publi.php",{idpubli:""+escape(idpubli)+"",value:""+value+""},function(data){navig_listings_jquery(cat,sscat,'',p);});jQuery.post("ajax/_maj_lignepubli.php",{value:""+value+"",cat:""+cat+"",sscat:""+sscat+"",idpubli:""+escape(idpubli)+""},function(data){if(data.length>0){jQuery('#'+escape(div)).html(data);}});}
function navig_gauche_publi_lien2(piece,idpubli,value,p,div){jQuery.post("ajax/_maj_gauche_publi.php",{idpubli:""+escape(idpubli)+"",value:""+value+""},function(data){navig_listings_jquery_pieces(piece,'',p);});jQuery.post("ajax/_maj_lignepubli2.php",{value:""+value+"",idpubli:""+escape(idpubli)+"",piece:""+escape(piece)+""},function(data){if(data.length>0){jQuery('#'+escape(div)).html(data);}});}
function navig_gauche_publi_search(idpubli,value,cat,sscat,p){jQuery.post("ajax/_maj_gauche_publi.php",{idpubli:""+idpubli+"",value:""+value+""},function(data){navig_listings_jquery_search(p);});}
