	var mozilla = document.getElementById && !document.all
	var ie = document.all
	var MaxFontSize = 17
	var MinFontSize = 9 
	var SRDCCFontSize
	SRDCCFontSize = readCookie('SRDCCFontSize')
	if (SRDCCFontSize == "") 
	{
		
		SRDCCFontSize = 12
		
	}
	
	function createCookie(name,value,days) {

		if (days) {
			var date = new Date();
			date.setTime(date.getTime()+(days*24*60*60*1000));
			var expires = "; expires="+date.toGMTString();
		}
		else var expires = "";
		document.cookie = name+"="+value+expires+"; path=/";
	}
	
	function eraseCookie(name) {
		createCookie(name,"",-1);
	}
	
	function readCookie(name) {
		var nameEQ = name + "=";
		var ca = document.cookie.split(';');
		for(var i=0;i < ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') c = c.substring(1,c.length);
			if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
		}
		return '';
	}
	
   function ChangeFontSize(amt){
		if (amt == "increase") 
		{
			if (SRDCCFontSize < MaxFontSize) 
			{
				SRDCCFontSize = parseInt(SRDCCFontSize) + 1;
				createCookie('SRDCCFontSize',SRDCCFontSize)
			}
		}
		else 
		{
			if (SRDCCFontSize > MinFontSize) 
			{
				SRDCCFontSize = parseInt(SRDCCFontSize) - 1;
				createCookie('SRDCCFontSize',SRDCCFontSize)
			}
		}
		
		
		LoadFont()
	}
	
	function LoadFont() {
		
		
		
		
		if (SRDCCFontSize >= MaxFontSize) { 
			document.getElementById('btnIncrease').src = "/images/btn-font-plus-on.gif"
			document.getElementById('btnIncrease').style.cursor = "default" 
			}		
				
		else {
			document.getElementById('btnIncrease').src = "/images/btn-font-plus.gif"
			document.getElementById('btnIncrease').style.cursor = "pointer" 
			}
			
			
		if (SRDCCFontSize <= MinFontSize) {
			document.getElementById('btnDecrease').src = "/images/btn-font-minus-on.gif"
			document.getElementById('btnDecrease').style.cursor = "default" 
			}
		
		else { 
			document.getElementById('btnDecrease').src = "/images/btn-font-minus.gif"
			document.getElementById('btnDecrease').style.cursor = "pointer" 
			}
			
				
		thisElement = document.getElementById('content')
		
		
		document.getElementById('content').style.fontSize = SRDCCFontSize + "px"
		
		var arrTDs = thisElement.getElementsByTagName("p");
		var arrTDs2 = thisElement.getElementsByTagName("ul");
		
		loopit(arrTDs2)
		loopit(arrTDs) 
	}
	
	function loopit(arrTDs) {
		
		for(i = 0; i < arrTDs.length; i++)
		{		
		arrTDs[i].style.fontSize = SRDCCFontSize.toString() + "px";
		}
		
	}
