<!--
FONT_DEFAULT = 12;
FONT_CURRENT = 12;
FONT_SMALL = 9;
FONT_BIG = 21;

function FindObj(n, d) { //v4.01
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=FindObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function ChangeProp(objName,x,theProp,theValue) { //v6.0
var obj = FindObj(objName);
if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
if (theValue == true || theValue == false)
eval("obj."+theProp+"="+theValue);
else eval("obj."+theProp+"='"+theValue+"'");
}
}
// FUNÇÕES PARA AUMENTAR O CORPO DO text //
function LoadCurrentFontSize() {
tempArray = document.cookie.split(";");
for (tA = 0; tA < tempArray.length; tA++){
if (tempArray[tA].indexOf('fontSize') > -1){
fontSizeValue = tempArray[tA].split("=")
FONT_CURRENT = parseInt(fontSizeValue[1]);
}
}
}
function SaveCurrentFontSize() {
var expire = new Date ();
expire.setTime (expire.getTime() + (6000 * 24 * 3600000));
expire = expire.toGMTString();
document.cookie="fontSize="+FONT_CURRENT+"; path=/; expires="+expire;
}
function UpTxt() {
FONT_CURRENT = FONT_CURRENT+2;
if (FONT_CURRENT > FONT_BIG) { FONT_CURRENT = FONT_BIG }
ChangeProp('text','','style.fontSize',FONT_CURRENT,'SPAN');
SaveCurrentFontSize();
}
function DownTxt() {
FONT_CURRENT = FONT_CURRENT-2
if (FONT_CURRENT < FONT_SMALL) { FONT_CURRENT = FONT_SMALL }
ChangeProp('text','','style.fontSize',FONT_CURRENT,'SPAN');
SaveCurrentFontSize();
}
function CurrentTxt() {
FONT_CURRENT = FONT_DEFAULT
ChangeProp('text','','style.fontSize',FONT_CURRENT,'SPAN');
SaveCurrentFontSize();
}


LoadCurrentFontSize();
ChangeProp('text','','style.fontSize',FONT_CURRENT,'SPAN');

//-->
