
fontSize = 1;

function fontSmall()
{
	document.getElementById("mainFont1").style.fontSize="14px";
	document.getElementById("mainFont2").style.fontSize="14px";
}

function fontMedium()
{
	document.getElementById("mainFont1").style.fontSize="16px";
	document.getElementById("mainFont2").style.fontSize="16px";
}

function fontLarge()
{
	document.getElementById("mainFont1").style.fontSize="18px";
	document.getElementById("mainFont2").style.fontSize="18px";
}

function fontCycle()
{
	document.getElementById('fontLink').blur();
	
	if (fontSize == 1)
	{
		fontSize = 2;
		fontMedium();
	}
	
	else if (fontSize == 2)
	{
		fontSize = 3;
		fontLarge();
	}
	
	else if (fontSize == 3)
	{
		fontSize = 1;
		fontSmall();
	}
}

