var freFontResize = 'Modifier la taille du&nbsp;texte<br />';
freFontResize += '<span id="font-resize-links"><a href="#" title="Petit" onclick="changeTextSize(\'70%\'); return false;" class="ts-small">P</a>&nbsp;&nbsp;';
freFontResize += '<a href="#" title="Moyen" onclick="changeTextSize(\'80%\'); return false;" class="ts-medium">M</a>&nbsp;&nbsp;';
freFontResize += '<a href="#" title="Grand" onclick="changeTextSize(\'90%\'); return false;" class="ts-large">G</a>&nbsp;&nbsp;';
freFontResize += '<a href="#" title="Très grand" onclick="changeTextSize(\'100%\');return false;" class="ts-xlarge">TG</a></span>';


//	Replaces the content of the <li> that links to the page with help on changing the browse setting with the actual change font size tool
function replaceFontResizeTool() {
	if (document.createElement && document.getElementById && document.getElementById('font-resize-tool')) {
		
			document.getElementById('font-resize-tool').innerHTML = freFontResize;
		
	}
}

//	This changes the font size
function changeTextSize(size) {
	document.body.style.fontSize = size;
	var tempAdjustValue = 8000/(parseFloat(size)) + "%";
	//	Now, need to re-adjust the size of the elements within the tool to reflect their actual size.
	document.getElementById('font-resize-links').style.fontSize = tempAdjustValue;
	
}