

//
// define the text sizes

var CurrentSize=0;
var aFontSizes = Array('12px', '16px', '22px', '30px');

function biggerText(sDiv)
{
    CurrentSize++;
    if (CurrentSize > (aFontSizes.length-1)) { CurrentSize=0;}
    changetext(sDiv);
}

function smallerText(sDiv)
{
    CurrentSize--;
    if (CurrentSize < 0) { CurrentSize = (aFontSizes.length-1); }
    changetext(sDiv);
}

function changetext(sDiv)
{
    text = document.getElementById(sDiv);
    text.style.fontSize = aFontSizes[CurrentSize];
}