<!--
function rnd(max) {
var rndnum=max*Math.random();
rndnum=Math.ceil(rndnum);
return rndnum;
}

function ltrim(sString){
  while(sString.substring(0,1)==' ')sString=sString.substring(1,sString.length);
  return sString;
}

function rtrim(sString){
  while(sString.substring(sString.length-1,sString.length)==' ')sString=sString.substring(0,sString.length-1);
  return sString;
}

function trim(sString){
  return rtrim(ltrim(sString));
}

window.onresize = resizestub;

function resizestub() {
  if (typeof __resizehook != "undefined") resizehook();
}

var __baseFontSize = 1;

function step_fontSize(obj, step) {
  if (step=="up") {
    if (__baseFontSize < 2.1) {
      __baseFontSize += .1;
      obj.style.fontSize = __baseFontSize + "em";
    }
  }
  else if (step=="dn") {
    if (__baseFontSize > .8) {
      __baseFontSize -= .1;
      obj.style.fontSize = __baseFontSize + "em";
    }
  }
  else {
    __baseFontSize = 1;
    obj.style.fontSize="";
  }
}

function txtsize(step) {
  var obj=document.getElementById("dcorebody");
  step_fontSize(obj, step);
}

var axx=0;
function interGap() {
var k=document.getElementById('dcontent').offsetTop;
var n=document.getElementById('dfoot').offsetTop +k;
var l=document.getElementById('dfill');
var o=document.getElementById('dfill2');
if(l) {
var m=l.offsetTop;
axx=l.style.height;
if(n>m) {
  axx=n-m;
  l.style.height=axx +"px";
}
if(o) {
var q=o.offsetTop;
if(n>q) {
  axx=n-q;
  o.style.height=axx +"px";
}
else {
  o.style.top="0px";
  o.style.height="0px";
}
}
}
if (typeof __timehook != "undefined") timehook();
if (typeof __scrollhook != "undefined") scrollhook();
}

function resize(updn) {
  txtsize(updn);
  interGap();
}
//-->
