﻿var font_em = 1;

function typoChange(taille) {

	if(taille<0)
		font_em = font_em - Math.abs(taille);
	else
		font_em = font_em + Math.abs(taille);
		
	if(font_em>2)
		font_em = 2;
		
	if(font_em<0.8)
		font_em = 0.8;

	/*alert('Typo Change - OK ');*/
		
	cibles = $('typoCorps');
	cibles.style.fontSize = font_em+'em';
	
}
