function spe(diza,unite)
	{
	if (diza>9)
		{
		num = diza.toString();
		toto=num.substring(0,1);
		toto1=num.substring(1,2);
		toto2=num.substring(2,3);
		toto3=num.substring(3,4);
		toto4=num.substring(4,5);
		document.write("<tr><td width='100%' align='center'><a href='som.php?NumeroFaxine="+diza+unite+"' target='haut'>");
		if (toto !=0)
			{
			document.write("<img src='images_numero/"+toto+".gif' width='25' height='37' border='0'>");
			}
		if (toto1 !=0)
			{
			document.write("<img src='images_numero/"+toto1+".gif' width='25' height='37' border='0'>");
			}
		else
			{
			document.write("<img src='images_numero/"+toto1+".gif' width='25' height='37' border='0'>");
			}
		if (toto2 !=0)
			{
			document.write("<img src='images_numero/"+toto2+".gif' width='25' height='37' border='0'>");
			}
		if (toto3 !=0)
			{
			document.write("<img src='images_numero/"+toto3+".gif' width='25' height='37' border='0'>");
			}
		if (toto4 !=0)
			{
			document.write("<img src='images_numero/"+toto4+".gif' width='25' height='37' border='0'>");
			}
		document.write("<img src='images_numero/"+unite+".gif' width='25' height='37' border='0'></a></td></tr>");
		}
	else
		{
		document.write("<tr><td width='100%' align='center'><a href='som.php?NumeroFaxine=0"+diza+unite+"' target='haut'><img src='images_numero/"+diza+".gif' width='25' height='37' border='0'><img src='images_numero/"+unite+".gif' width='25' height='37' border='0'></a></td></tr>");
		}
	}

function spe2(unite)
	{
	document.write("<tr><td width='100%' align='center'><a href='som.php?NumeroFaxine=_00"+unite+"' target='haut'><img src='images_numero/-.gif' width='25' height='37' border='0'><img src='images_numero/"+unite+".gif' width='25' height='37' border='0'></a></td></tr>");
	}

function fleche()
	{
	document.write("<tr><td width='100%' align='center'><p><a href='javascript:ouv()' target='_self'><img src='../../images/icone1.gif' width=50 height=23 border=0></a></p></td></tr>");
	}

function ouv()
	{
	window.open('../../index.htm','_top');
	}


function affiche()
	{
	if(reste!=0)
		{
		for( a=reste; a>-1; a--)
			{
			Reste= new String(a);
			Diz= new String(diz);
			spe(Diz,Reste);
		  	}
		fleche();
		count=1;
		diz=diz-1
		}
	
	if(count==0)
		{
		spe(diz,reste)
	document.write("<tr><td width='100%' align='center'><p><a href='javascript:ouv()' target='_self'><img src='../../images/icone1.gif' width=50 height=23 border=0></a></p></td></tr>");
		diz=diz-1;
		}
	
	for(b=diz; b>-1; b--)
		{	
		DIz= new String(b);
		for(c=9; c>-1; c--)
			{
			REste= new String(c);
			if((DIz=="0")&&(REste=="0")) break;
			if((b==0)&&(c==1)) spe("0","1bis");
			spe(DIz,REste);
			}
		fleche();
		}
	spe2("1");spe2("2");spe2("3");spe2("4");spe2("5");spe2("6");
	}
