function changeTextSize(size)
{
	var url = "publicChangeTextSizeAction-edit.action?textSize=" + size;			 	
	
	var response = neoAjax.getsNoCache(url);
	
	if (response.search(/true/i) < 0)
	{
		alert("The details could not be saved as the server was unavailable. Please try again or contact the system administrator if this problem persists.");
	}
	else {
		setTextSize(size)
	}      
}

function setTextSize(size)
{
	var bodyDiv = document.body;
	
	bodyDiv.style.fontSize = size + "%";
}

//function changeTextSize(size)
//{
//	var centerDiv = document.getElementById("centerDiv");
//	
//	centerDiv.style.fontSize = size + "px";
//}