var gAutoPrint = true; // Flag for whether or not to automatically call the print function
function printSpecial()
{
	if (document.getElementById != null)
	{
		var html = '<HTML>\n<HEAD>\n<TITLE>';

		if (document.getElementsByTagName != null)
		{
			var headTags = document.getElementsByTagName("title");
			if (headTags.length > 0)
				html += headTags[0].innerHTML;
		}
		
		html += '\n</TITLE>\n<LINK REL="STYLESHEET" TYPE="TEXT/CSS" media="print" HREF="http://www.cssssi.ca/print.css"/></HE' + 'AD>\n<BODY><font face="Verdana">\n';
		
		var printReadyElem = document.getElementById("contenu_texte");
		
		if (printReadyElem != null)
		{
				html += printReadyElem.innerHTML;
		}
		else
		{
			alert("Aucune version imprimable de ce document...");
			return;
		}
			
		html += '\n</font></BO' + 'DY>\n</HT' + 'ML>';
		
		var printWin = window.open("","printSpecial","width=780,height=400,scrollbars=yes,menubar=yes");
		printWin.document.open();
		printWin.document.write(html);
		printWin.document.close();
		printWin.window.print();
			
	}
}

//Specify affected tags. Add or remove from list:
var tgs = new Array( 'div','td','tr','body','p','a');

//Specify spectrum of different font sizes:
var szs = new Array( '10px','11px','12px','13px' ,'14px','15px');
var startSz = 2;

function ts( trgt,inc ) {
	if (!document.getElementById) return
	var d = document,cEl = null,sz = startSz,i,j,cTags;
	
	sz += inc;
	if ( sz < 0 ) sz = 0;
	if ( sz > 5 ) sz = 5;
	startSz = sz;
		
	if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

	cEl.style.fontSize = szs[ sz ];

	for ( i = 0 ; i < tgs.length ; i++ ) {
		cTags = cEl.getElementsByTagName( tgs[ i ] );
		for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
	}
}

function voir(menu_id)
{
if (document.getElementById(menu_id).style.display == "none")
{
document.getElementById(menu_id).style.display = "";
}
else
{
document.getElementById(menu_id).style.display = "none";
}
}

