function textResize()
{
        document.body.style.fontSize = '0.75em';
        document.getElementById('increase').onclick = function()
        {
                var textSize = 
parseFloat(document.body.style.fontSize.replace('em', ''));
                textSize += 0.05;
                document.body.style.fontSize = textSize + 'em';
        }
        document.getElementById('decrease').onclick = function()
        {
                var textSize = 
parseFloat(document.body.style.fontSize.replace('em', ''));
                textSize -= 0.05;
                document.body.style.fontSize = textSize + 'em';
        }
}

window.onload = textResize;