
function changeTextSize(size){
	if (size){
	var customStyles = document.styleSheets.item("mainCSS");
	var Rules;
	if (customStyles.rules)
		Rules=customStyles.rules;
	else
		Rules=customStyles.cssRules;

	var DIV=Rules[0].style;
	DIV.fontSize=size+'pt';
	setCookie('fontSize', size)
}}

function WF(s,l){
document.write('<a title="Change Text Size" style="text-decoration:none;font-size:'+(s-2)+'pt" href="javascript:changeTextSize('+s+')">'+l+'&nbsp;</a>')
}

function FontSize(){
WF(10,'E');
WF(12,'X');
WF(14,'T');
changeTextSize(getCookie('fontSize'));
}
