//<SCRIPT>




///////////////////// font resizing code /////////////////////
		
cookieName 	= "ATFont";
defaultFontSize = 10;
		
	function setCookie(fontSize) {
		if(document.cookie != document.cookie) { 
			index = document.cookie.indexOf(cookieName);
		} else { 
			index = -1;
	    	}
	    	if (index == -1) {
			document.cookie=cookieName+"="+fontSize+"; expires=Monday, 04-Apr-2012 05:00:00 GMT";
	    	}
	}

	function getCookie() {
		if(document.cookie) {
			index = document.cookie.indexOf(cookieName);
			if (index != -1) {
		    		namestart = (document.cookie.indexOf("=", index) + 1);
		    		nameend = document.cookie.indexOf(";", index);
		    		if (nameend == -1) nameend = document.cookie.length;
		    		val = document.cookie.substring(namestart, nameend);
		    		return parseInt(val);
			}
	    	}
	}
	
	function setFontSize (incdec) {
  		nFontSize = getCookie();
		if (!nFontSize || nFontSize > 12) nFontSize = 10;
		if (incdec == "1") {
			nFontSize = nFontSize + 1;
		} else {
			nFontSize = nFontSize - 1;
		}
			
  		var coll = document.all.tags("td");
   		if (coll!=null) {
    		for (i=0; i<coll.length; i++) coll[i].style.fontSize=nFontSize; 
    		}     
       			
    		setCookie(nFontSize);  			
	}
		
	function initFontSize() {
	
		nFontSize = getCookie();
		if (!nFontSize || nFontSize > 12) nFontSize = "10";
		//document.writeln(nFontSize);
		var coll = document.all.tags("td");
   		if (coll!=null) {
    			for (i=0; i<coll.length; i++) coll[i].style.fontSize=nFontSize; 
    		}     
	}

///////////////////// full screen code /////////////////////

	function fullScreen (sUrl) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(sUrl, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=screen.width*0,8,height=screen.height,left = 0,top = 0');");
	}
	

