function increase_font()
{
	if(!document.styleSheets) return;
//doesn't work in ie at all, won't assign rules to myRules and selectors are WAY off.
//	myRules = (document.styleSheets[0].cssRules) ? document.styleSheets[0].cssRules:document.styleSheets[0].rules;

//	for(i=1;i<myRules.length;i++)
//		if(myRules[i].style && myRules[i].style.fontSize)
//			myRules[i].style.fontSize = parseInt(myRules[i].style.fontSize.substr(0,2))+1+"pt";
	if(document.styleSheets[0].cssRules)
	{
		var myRules = new Array();
		myRules = document.styleSheets[0].cssRules;
		myRules[27].style.fontSize = parseInt(myRules[27].style.fontSize.substr(0,2))+1+"pt"; //right_content_block
		myRules[30].style.fontSize = parseInt(myRules[30].style.fontSize.substr(0,2))+1+"pt"; //basic_list
		myRules[46].style.fontSize = parseInt(myRules[46].style.fontSize.substr(0,2))+1+"pt"; //article_list
		myRules[48].style.fontSize = parseInt(myRules[48].style.fontSize.substr(0,2))+1+"pt"; //article_list_header
		myRules[51].style.fontSize = parseInt(myRules[51].style.fontSize.substr(0,2))+1+"pt"; //article_teaser_body
		myRules[57].style.fontSize = parseInt(myRules[57].style.fontSize.substr(0,2))+1+"pt"; //article_author
		myRules[61].style.fontSize = parseInt(myRules[61].style.fontSize.substr(0,2))+1+"pt"; //article_content p
		myRules[63].style.fontSize = parseInt(myRules[63].style.fontSize.substr(0,2))+1+"pt"; //article_credits
		myRules[64].style.fontSize = parseInt(myRules[64].style.fontSize.substr(0,2))+1+"pt"; //breadcrumbs
		myRules[67].style.fontSize = parseInt(myRules[67].style.fontSize.substr(0,2))+1+"pt"; //error_msg
		myRules[68].style.fontSize = parseInt(myRules[68].style.fontSize.substr(0,2))+1+"pt"; //article_content>p>table>tr>td
		myRules[69].style.fontSize = parseInt(myRules[69].style.fontSize.substr(0,2))+1+"pt"; //article_content>ol>li
	} else {
		var myRules = new Array();
		myRules = document.styleSheets[0].rules;
		//if(!document.styleSheets[0].cssRules) alert(document.styleSheets[0].rules[114].selectorText);
		myRules[39].style.fontSize = parseInt(myRules[39].style.fontSize.substr(0,2))+1+"pt"; //right_content_block
		myRules[45].style.fontSize = parseInt(myRules[45].style.fontSize.substr(0,2))+1+"pt"; //basic_list
		myRules[70].style.fontSize = parseInt(myRules[70].style.fontSize.substr(0,2))+1+"pt"; //article_list
		myRules[75].style.fontSize = parseInt(myRules[75].style.fontSize.substr(0,2))+1+"pt"; //article_list_header
		myRules[81].style.fontSize = parseInt(myRules[81].style.fontSize.substr(0,2))+1+"pt"; //article_teaser_body
		myRules[94].style.fontSize = parseInt(myRules[94].style.fontSize.substr(0,2))+1+"pt"; //article_author
		myRules[101].style.fontSize = parseInt(myRules[101].style.fontSize.substr(0,2))+1+"pt"; //article_content p
		myRules[102].style.fontSize = parseInt(myRules[102].style.fontSize.substr(0,2))+1+"pt"; //article_content p>a:link
		myRules[103].style.fontSize = parseInt(myRules[103].style.fontSize.substr(0,2))+1+"pt"; //article_content p>a:active
		myRules[104].style.fontSize = parseInt(myRules[104].style.fontSize.substr(0,2))+1+"pt"; //article_content p>a:visited
		myRules[105].style.fontSize = parseInt(myRules[105].style.fontSize.substr(0,2))+1+"pt"; //article_content p>a:hover
		myRules[107].style.fontSize = parseInt(myRules[107].style.fontSize.substr(0,2))+1+"pt"; //article_credits
		myRules[108].style.fontSize = parseInt(myRules[108].style.fontSize.substr(0,2))+1+"pt"; //breadcrumbs
		myRules[114].style.fontSize = parseInt(myRules[114].style.fontSize.substr(0,2))+1+"pt"; //error_msg
		myRules[115].style.fontSize = parseInt(myRules[115].style.fontSize.substr(0,2))+1+"pt"; //article_content>p>table>tr>td
		myRules[116].style.fontSize = parseInt(myRules[116].style.fontSize.substr(0,2))+1+"pt"; //article_content>ol>li
	}
}

function decrease_font()
{
	if(!document.styleSheets) return;
//doesn't work in ie at all, won't assign rules to myRules and selectors are WAY off.
//	myRules = (document.styleSheets[0].cssRules) ? document.styleSheets[0].cssRules:document.styleSheets[0].rules;

//	for(i=1;i<myRules.length;i++)
//		if(myRules[i].style && myRules[i].style.fontSize)
//			myRules[i].style.fontSize = parseInt(myRules[i].style.fontSize.substr(0,2))+1+"pt";
	if(document.styleSheets[0].cssRules)
	{
		var myRules = new Array();
		myRules = document.styleSheets[0].cssRules;
		if(parseInt(myRules[27].style.fontSize.substr(0,2)) != 1)
			myRules[27].style.fontSize = parseInt(myRules[27].style.fontSize.substr(0,2))-1+"pt"; //right_content_block
		if(parseInt(myRules[30].style.fontSize.substr(0,2)) != 1)
			myRules[30].style.fontSize = parseInt(myRules[30].style.fontSize.substr(0,2))-1+"pt"; //basic_list
		if(parseInt(myRules[46].style.fontSize.substr(0,2)) != 1)
			myRules[46].style.fontSize = parseInt(myRules[46].style.fontSize.substr(0,2))-1+"pt"; //article_list
		if(parseInt(myRules[48].style.fontSize.substr(0,2)) != 1)
			myRules[48].style.fontSize = parseInt(myRules[48].style.fontSize.substr(0,2))-1+"pt"; //article_list_header
		if(parseInt(myRules[51].style.fontSize.substr(0,2)) != 1)
			myRules[51].style.fontSize = parseInt(myRules[51].style.fontSize.substr(0,2))-1+"pt"; //article_teaser_body
		if(parseInt(myRules[57].style.fontSize.substr(0,2)) != 1)
			myRules[57].style.fontSize = parseInt(myRules[57].style.fontSize.substr(0,2))-1+"pt"; //article_author
		if(parseInt(myRules[61].style.fontSize.substr(0,2)) != 1)
			myRules[61].style.fontSize = parseInt(myRules[61].style.fontSize.substr(0,2))-1+"pt"; //article_content p
		if(parseInt(myRules[63].style.fontSize.substr(0,2)) != 1)
			myRules[63].style.fontSize = parseInt(myRules[63].style.fontSize.substr(0,2))-1+"pt"; //article_credits
		if(parseInt(myRules[64].style.fontSize.substr(0,2)) != 1)
			myRules[64].style.fontSize = parseInt(myRules[64].style.fontSize.substr(0,2))-1+"pt"; //breadcrumbs
		if(parseInt(myRules[67].style.fontSize.substr(0,2)) != 1)
			myRules[67].style.fontSize = parseInt(myRules[67].style.fontSize.substr(0,2))-1+"pt"; //error_msg
		if(parseInt(myRules[68].style.fontSize.substr(0,2)) != 1)
			myRules[68].style.fontSize = parseInt(myRules[68].style.fontSize.substr(0,2))-1+"pt"; //article_content>p>table>tr>td
		if(parseInt(myRules[69].style.fontSize.substr(0,2)) != 1)
			myRules[69].style.fontSize = parseInt(myRules[69].style.fontSize.substr(0,2))-1+"pt"; //article_content>ol>li
	} else {
		var myRules = new Array();
		myRules = document.styleSheets[0].rules;
		//if(!document.styleSheets[0].cssRules) alert(document.styleSheets[0].rules[114].selectorText);
		if(parseInt(myRules[39].style.fontSize.substr(0,2)) != 1)
			myRules[39].style.fontSize = parseInt(myRules[39].style.fontSize.substr(0,2))-1+"pt"; //right_content_block
		if(parseInt(myRules[45].style.fontSize.substr(0,2)) != 1)
			myRules[45].style.fontSize = parseInt(myRules[45].style.fontSize.substr(0,2))-1+"pt"; //basic_list
		if(parseInt(myRules[70].style.fontSize.substr(0,2)) != 1)
			myRules[70].style.fontSize = parseInt(myRules[70].style.fontSize.substr(0,2))-1+"pt"; //article_list
		if(parseInt(myRules[75].style.fontSize.substr(0,2)) != 1)
			myRules[75].style.fontSize = parseInt(myRules[75].style.fontSize.substr(0,2))-1+"pt"; //article_list_header
		if(parseInt(myRules[81].style.fontSize.substr(0,2)) != 1)
			myRules[81].style.fontSize = parseInt(myRules[81].style.fontSize.substr(0,2))-1+"pt"; //article_teaser_body
		if(parseInt(myRules[94].style.fontSize.substr(0,2)) != 1)
			myRules[94].style.fontSize = parseInt(myRules[94].style.fontSize.substr(0,2))-1+"pt"; //article_author
		if(parseInt(myRules[101].style.fontSize.substr(0,2)) != 1)
			myRules[101].style.fontSize = parseInt(myRules[101].style.fontSize.substr(0,2))-1+"pt"; //article_content p
		if(parseInt(myRules[102].style.fontSize.substr(0,2)) != 1)
			myRules[102].style.fontSize = parseInt(myRules[102].style.fontSize.substr(0,2))-1+"pt"; //article_content p>a:link
		if(parseInt(myRules[103].style.fontSize.substr(0,2)) != 1)
			myRules[103].style.fontSize = parseInt(myRules[103].style.fontSize.substr(0,2))-1+"pt"; //article_content p>a:active
		if(parseInt(myRules[104].style.fontSize.substr(0,2)) != 1)
			myRules[104].style.fontSize = parseInt(myRules[104].style.fontSize.substr(0,2))-1+"pt"; //article_content p>a:visited
		if(parseInt(myRules[105].style.fontSize.substr(0,2)) != 1)
			myRules[105].style.fontSize = parseInt(myRules[105].style.fontSize.substr(0,2))-1+"pt"; //article_content p>a:hover
		if(parseInt(myRules[107].style.fontSize.substr(0,2)) != 1)
			myRules[107].style.fontSize = parseInt(myRules[107].style.fontSize.substr(0,2))-1+"pt"; //article_credits
		if(parseInt(myRules[108].style.fontSize.substr(0,2)) != 1)
			myRules[108].style.fontSize = parseInt(myRules[108].style.fontSize.substr(0,2))-1+"pt"; //breadcrumbs
		if(parseInt(myRules[114].style.fontSize.substr(0,2)) != 1)
			myRules[114].style.fontSize = parseInt(myRules[114].style.fontSize.substr(0,2))-1+"pt"; //error_msg
		if(parseInt(myRules[115].style.fontSize.substr(0,2)) != 1)
			myRules[115].style.fontSize = parseInt(myRules[115].style.fontSize.substr(0,2))-1+"pt"; //article_content>p>table>tr>td
		if(parseInt(myRules[116].style.fontSize.substr(0,2)) != 1)
			myRules[116].style.fontSize = parseInt(myRules[116].style.fontSize.substr(0,2))-1+"pt"; //article_content>ol>li
	}
}
