//Fonction Javascripts du module petites annonces

function on (pic, num) 
{
    document.images[num].src = "images/" + pic + ".gif";
}

function env_form()
{
    document.form_suppr.submit();
}

function envoyer(categorie)
{
    document.form_cat.categorie.value = categorie;
    document.forms.form_cat.submit();
}

function retourprec()
{
    document.retour.submit();
}

function aff_detail(id)
{
    var ident_annonce = id;

    document.detail_ann.ident.value = ident_annonce;
    document.detail_ann.submit();
}
      
function suivre_lien(signet)
{
    document.follow.page.value = signet;
    document.follow.submit();
}

function retour() 
{
    document.recherche.submit();
}
