// Empty
document.write("<script type=\"text/javascript\">window.onerror=null;</script>");
var ACC = {
	/*** <CONFIG> ***/
	// offsets for differently sized text
	size : new Array(
	/*1-large*/  2,
	/*2-larger*/ 3,
	/*3-huge*/   5,
	/*4-huger*/  8,
	/*5-hugest*/ 20),
	/*** </CONFIG> ***/
	// Current increase size
	currInc : (function(){return 0;})(),	
	// This function computes and returns the current font size of an element
	// in pixels
	// @param el The element for whom to compute the font-size
	// @param s The current sizing offset
	// @return The font size in pixels
	GetCurrentFS : function(el,s){
		var sz = "";
		
		if(el.getAttribute("OLDFONTSIZE")){
			sz = el.getAttribute("OLDFONTSIZE");
		}else{
			if(el.currentStyle){ //IE
				sz = el.currentStyle.fontSize;
			}else if(document.defaultView){
				sz = document.defaultView.getComputedStyle(el,null).fontSize;
			}
			el.setAttribute("OLDFONTSIZE",sz);
		}
		return (s < 1 ? parseInt(sz) : (Math.round(parseInt(sz) * (sz.indexOf("pt") > -1 ? 1.33333333333333 : 1))));
	},
	// This function increase the size of text off the element
	// and it descendants, starting with its decendants
	// @param el The element to increase the size
	// @param sz The size increament in pixels
	increaseChildren : function(el,sz){
		for(var i = 0; i < el.childNodes.length; i++){			
			if(el.childNodes[i].nodeType == 1){				
				this.increaseChildren(el.childNodes[i],sz);
			}
		}  		
		el.style.fontSize = (this.GetCurrentFS(el,sz)+sz) + "px";
	},
	// This function changes the size of the text
	// @param s The size level of increase (1-6)
	increase : function(s){
		if(s < 0 || s > 6 || this.size[s-1] == this.currInc) return;		
		var el =  document.getElementsByTagName("body")[0];	
		this.increaseChildren(el,(s < 1 ? 0 :this.size[s-1]));
		this.currInc = this.size[s-1];
	}
};