var min = 10;
var max = 16;

var minT = 10;
var maxT = 16;

function increaseFontSize(id)
{
	new ScrollObj(6,19,150,'track','up','down','drag','contentMask','content');
	var p = document.getElementById(id);

	if(p.style.fontSize)
	{
		var s = parseInt(p.style.fontSize.replace("px",""));
	}
	else
	{
		var s = 12;
	}
	if(s != maxT)
	{
		s += 1;
	}
	p.style.fontSize = s+"px";
}

function decreaseFontSize(id)
{
	new ScrollObj(6,19,150,'track','up','down','drag','contentMask','content');
	var p = document.getElementById(id);

	if(p.style.fontSize)
	{
		var s = parseInt(p.style.fontSize.replace("px",""));
	}
	else
	{
		var s = 12;
	}
	if(s != minT)
	{
		s -= 1;
	}
	p.style.fontSize = s+"px";
}