// #### needs to be placed on the bottom of the page 

	var	browser = navigator.userAgent.toLowerCase();
	var id = (document.getElementById) ? true : false;
	var IEx = ((browser.indexOf('msie')  != -1) && id) ? true : false;
	var NS6 = ((browser.indexOf('gecko') != -1) && id) ? true : false;
	
	if (IEx || NS6)	
	{
		elObj1=(document.getElementById) ? document.getElementById('backCon') : document.all('backCon');
		var fSize = GetCookie('fSize');
		if (fSize == null)
		{ 		
			elObj1.style.fontSize = 10+'pt';
			document.fontForm.fontSize.selectedIndex[4]
		}
		else
		{
			elObj1.style.fontSize = fSize+'pt';
			if (fSize > 5 && fSize < 21){
				document.fontForm.fontSize.options[(fSize-6)].selected = true;
			}
		}
		for (i=0;i<elObj1.getElementsByTagName("font").length; i++) {
			elObj1.getElementsByTagName("font").item(i).style.fontSize = (parseInt(elObj1.style.fontSize)+1)+'pt';
		}
	}


			/*	
				for (i=0;i<document.getElementsByTagName("p").length; i++) {
					if (document.getElementsByTagName("p").item(i).className == "foo"){
						document.getElementsByTagName("p").item(i).style.color = "red";
					}
				}
			*/

function fontObjUp()
{		
	for (i=0;i<elObj1.getElementsByTagName("font").length; i++) {
		elObj1.getElementsByTagName("font").item(i).style.fontSize = (parseInt(elObj1.style.fontSize)+1)+'pt';
	}
	elObj1.style.fontSize = (parseInt(elObj1.style.fontSize)+1)+'pt';
    selectIn = (parseInt(elObj1.style.fontSize)-6)
	if (selectIn > 0 && selectIn < 15) document.fontForm.fontSize.options[selectIn].selected = true;
}

function fontObjDwn()
{
	for (i=0;i<elObj1.getElementsByTagName("font").length; i++) {
		elObj1.getElementsByTagName("font").item(i).style.fontSize = (parseInt(elObj1.style.fontSize)-1)+'pt';
	}
	elObj1.style.fontSize = (parseInt(elObj1.style.fontSize)-1)+'pt';
    selectIn = (parseInt(elObj1.style.fontSize)-6)
	if (selectIn > 0 && selectIn < 15) document.fontForm.fontSize.options[selectIn].selected = true;
}

function selectFont()
{
	fSize = (document.fontForm.fontSize.selectedIndex+6);
	
	for (i=0;i<elObj1.getElementsByTagName("font").length; i++) {
		elObj1.getElementsByTagName("font").item(i).style.fontSize = fSize+'pt';
	}
	elObj1.style.fontSize = fSize+'pt';
}

function saveSize() 
{
	var expDays = 1000; // number of days the cookie should last
	var expDate = new Date();
	expDate.setTime(expDate.getTime() +  (24 * 60 * 60 * 1000 * expDays)); 
	SetCookie('fSize', parseInt(elObj1.style.fontSize), expDate);
}

function getCookieVal (offset) 
{  
	var endstr = document.cookie.indexOf (";", offset);  
	if (endstr == -1)    
	endstr = document.cookie.length;  
	return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) 
{  
	var arg = name + "=";  
	var alen = arg.length;  
	var clen = document.cookie.length;  
	var i = 0;  
	while (i < clen) {    
		var j = i + alen;    
		if (document.cookie.substring(i, j) == arg)      
		return getCookieVal (j);    
		i = document.cookie.indexOf(" ", i) + 1;    
		if (i == 0) break;   
	}  
	return null;
}

function SetCookie (name, value) 
{  
	var argv = SetCookie.arguments;  
	var argc = SetCookie.arguments.length;  
	var expires = (argc > 2) ? argv[2] : null;  
	var path = (argc > 3) ? argv[3] : null;  
	var domain = (argc > 4) ? argv[4] : null;  
	var secure = (argc > 5) ? argv[5] : false;  
	document.cookie = name + "=" + escape (value) + 
	((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
	((path == null) ? "" : ("; path=" + path)) +  
	((domain == null) ? "" : ("; domain=" + domain)) +    
	((secure == true) ? "; secure" : "");
}