/*------------------------------------------------------------
	Document Text Sizer- Copyright 2008 - Ezequiel Gonzalez Rial.  All rights reserved.
	Coded by: Ezequiel Gonzalez Rial (ezequiel@gzimage.com.ar)
	Web Site: http://gzimage.com.ar
	
	Please retain this copyright notice in the script.
	License is granted to user to reuse this code on 
	their own website if, and only if, 
	this entire copyright notice is included.
--------------------------------------------------------------*/

// Performs the font size change in the main object specified by changing the relative % 
function changeFontSize(size) {
   var main = document.getElementById('main');
   if (main !== null) {
   	main.style.fontSize = size+"%";
   }
}

function smallTextSize(){changeFontSize(80);}

function mediumTextSize(){changeFontSize(100);}

function largeTextSize(){changeFontSize(120);}