sz = 12;

function resize(inc) {
	if(!document.getElementById){return;}
	d=document,obj=null;
	sz += inc;
	if(sz<9){sz = 9;}
	if(sz>24){sz = 24;}		
	if(!(obj=d.getElementById('content'))){obj = d.getElementsByTagName('content')[0];}
	obj.style.fontSize = sz+'px';
	saveSize();
}

function setText(){
	tempArray = document.cookie.split(";");		
	for(tA = 0; tA < tempArray.length; tA++){
		if (tempArray[tA].indexOf('size') > -1){
			fontValue = tempArray[tA].split("=")
			sz = parseInt(fontValue[1]);
		}
	}
	if(!sz) {sz = 12;}
	d=document,obj=null;
	if(!(obj=d.getElementById('content'))){obj = d.getElementsByTagName('content')[0];}
	obj.style.fontSize = sz+'px';
	saveSize();
}

function saveSize(){
	var expire = new Date ();
   	expire.setTime (expire.getTime() + (6000 * 24 * 3600000));
   	expire = expire.toGMTString();
	document.cookie="size="+sz+"; path=/; expires="+expire;
}