// JavaScript Document
var txtsize=12
var minsize=8
var maxsize=26

function makeTextBigger()
{
if (txtsize<maxsize)
	{
	txtsize+=2;
var allPageTags = new Array(); 

//Populate the array with all the page tags
var allPageTags=document.getElementsByTagName("*");
//Cycle through the tags using a for loop
for (i=0; i<allPageTags.length; i++) {
//Pick out the tags with our class name
if (allPageTags[i].className=="NewsText") {
//Manipulate this in whatever way you want
allPageTags[i].style.fontSize=txtsize + "pt"
}
if (allPageTags[i].className=="Headline") {
//Manipulate this in whatever way you want
allPageTags[i].style.fontSize=txtsize+12 + "pt"
}
if (allPageTags[i].className=="SubTitle") {
//Manipulate this in whatever way you want
allPageTags[i].style.fontSize=txtsize+6 + "pt"
}
}
} 

	}

function makeTextSmaller()
{
if (txtsize>minsize)
	{
	txtsize-=2;
	var allPageTags = new Array(); 

//Populate the array with all the page tags
var allPageTags=document.getElementsByTagName("*");
//Cycle through the tags using a for loop
for (i=0; i<allPageTags.length; i++) {
//Pick out the tags with our class name
if (allPageTags[i].className=="NewsText") {
//Manipulate this in whatever way you want
allPageTags[i].style.fontSize=txtsize + "pt"
}
if (allPageTags[i].className=="Headline") {
//Manipulate this in whatever way you want
allPageTags[i].style.fontSize=txtsize+12 + "pt"
}
if (allPageTags[i].className=="SubTitle") {
//Manipulate this in whatever way you want
allPageTags[i].style.fontSize=txtsize+6 + "pt"
}
}
} 
	}