function ts( inc ) {
	if (!document.getElementsByTagName)
	    return;
	    
	var tm      = new Array( '8px',  '10px', '11px');	    
	var small   = new Array( '9px',  '11px', '13px');
	var base    = new Array( '10px', '12px', '15px');
	var subh    = new Array( '12px', '14px', '16px');
	var tmsub   = new Array( '8px',  '10px', '12px');
	var tmhdr   = new Array( '11pt',  '13pt', '14pt');
	var hdr     = new Array( '14pt',  '16pt', '18pt');
	var subh3   = new Array( '12pt',  '14pt', '16pt');
	var tmhmhdr = new Array( '13pt',  '15pt', '17pt');	
	var hmhdr   = new Array( '16pt',  '18pt', '20pt');
	var startSz = 1, cookNM = "tsize=", i, j, cTags, sz;
	var pos     = document.cookie.indexOf(cookNM);
      var hours = 375 * 10 * 24;
      var expire = "";

	if (pos != -1)
	{
	    pos = pos + cookNM.length;
	    startSz = unescape(document.cookie.substring(pos, pos+1));
    }
    else
    {
            expire = new Date((new Date()).getTime() + (hours * 3600000));
            expire = "; expires=" + expire.toGMTString();
            document.cookie = cookNM + escape("1") + expire +";path=/;";	    
	}

    sz = parseInt(startSz) + parseInt(inc);
	
	if (( sz < 0 ) || ( sz > 2 ))
	    return;
  
    expire = new Date((new Date()).getTime() + (hours * 3600000));
    expire = "; expires=" + expire.toGMTString();  
    document.cookie = cookNM + escape(sz) + expire +";path=/;";
    cTags           = document.getElementsByTagName("*"); 
    
	for ( j = 0 ; j < cTags.length ; j++ )
	{
		i = cTags[ j ];		   
		if (i.getAttribute("name")  == "small")
			cTags[ j ].style.fontSize = small[ sz ];	 
		else if (i.getAttribute("name") == "base") 
			cTags[ j ].style.fontSize = base[ sz ];
		else if (i.getAttribute("name") == "subheader") 
			cTags[ j ].style.fontSize = subh[ sz ];			
		else if (i.getAttribute("name") == "tm") 
			cTags[ j ].style.fontSize = tm[ sz ];
		else if (i.getAttribute("name") == "hmhdr") 
			cTags[ j ].style.fontSize = hmhdr[ sz ];
		else if (i.getAttribute("name") == "subh3") 
			cTags[ j ].style.fontSize = subh3[ sz ];	
		else if (i.getAttribute("name") == "hdr") 
			cTags[ j ].style.fontSize = hdr[ sz ];	
		else if (i.getAttribute("name") == "tmhdr") 
			cTags[ j ].style.fontSize = tmhdr[ sz ];		
		else if (i.getAttribute("name") == "tmhmhdr") 
			cTags[ j ].style.fontSize = tmhmhdr[ sz ];
		else if (i.getAttribute("name") == "tmsub") 
			cTags[ j ].style.fontSize = tmsub[ sz ];							  
	}
}

