function tblforumdeb(ampon,ampoff,amptaille,dossclose) { imgampon=ampon;imgampoff=ampoff; imgamptaille=amptaille; imgclose=dossclose; document.write("<table "+nob+" width='100%' cellspacing='"+espacecell+"' cellpadding='6' style='border-collapse: "+bordcollapse+"'><tr><td class='titre' width='1%' align='center'><a href='forum1."+phpext+"?id=fav&"+confforum+"' title='Afficher tous vos sujets favoris'><img src='"+path_img+"skins/"+skin+"/etoilefavoui.gif' width='16' height='16' border='0'></a></td><td class='titre' width='100%'>Thèmes</td><td class='titre' width='1%' "+ctr+">Sujets</td><td class='titre' width='1%' "+ctr+">Envois</td><td class='titre' nowrap "+ctr+" width='1%'>Dernier envoi</td></tr>"); }

function f(lampe,id,titre,info,sujets,posts,date,dern,derncoul,dernid,dernpg) { 


if (dern != "") {
	if (derncoul!="") { dern="<span style='width:100%; color:"+derncoul+";'>"+dern+"</span>"; } 
	tddern = "<td class='bord' "+ctr+" nowrap bgcolor='"+coltable1bis+"' width='1%' style='cursor:pointer; color:"+coltxtdate+"' onmouseover='javascript:this.style.color=&#39;"+coltxtover+"&#39;' onmouseout='javascript:this.style.color=&#39;"+coltxtdate+"&#39;' onclick='location=&#34;forum2."+phpext+"?id="+dernid+"&voir=derniermess&#34;'><small>"+date+"<br><b>"+dern+"</b></small></td>";
} else {
	tddern = "<td class='bord' "+ctr+" nowrap bgcolor='"+coltable1bis+"' width='1%'><small>Aucun message</small></td>";
}

if (info != "") { 

if (lampe==0) { lampe=imgampoff; taillex=imgamptaille; tailley=imgamptaille; } else if (lampe==1) { lampe=imgampon; taillex=imgamptaille; tailley=imgamptaille; } else if (lampe==2) { lampe=imgclose; taillex=16; tailley=13; }
document.write("<tr bgcolor='"+coltable1+"'><td class='bord' "+ctr+" width='1%' bgcolor='"+coltable1bis+"'><img src='"+lampe+"' width='"+taillex+"' height='"+tailley+"'></td><td class='bord' width='100%'><a href='forum1."+phpext+"?id="+id+"&"+confforum+"&page=1'><b>"+titre+"</b></a><br><small>"+info+"</small></td><td class='bord' "+ctr+" width='1%' bgcolor='"+coltable1bis+"'><font color='"+coltxtnbvues+"'>"+sujets+"</font></td><td class='bord' "+ctr+" width='1%'><font color='"+coltxtnbposts+"'>"+posts+"</font></td>"+tddern+"</tr>"); 

} else { 

document.write("<tr><td class='cat' colspan='5'>&nbsp;"+titre+"</td></tr>") 

}}

