function setCookie(name, value, expires) {
  var deCookie = name + "=" + escape(value);
  //if(expires){
  expires = new Date(2008,10,5).toGMTString();
  deCookie += "; expires=";
  deCookie += expires;
  //}
  document.cookie = deCookie;
}

usedFontSize = 1;

function fontSizer() {
  if(usedFontSize < 1.4){
    usedFontSize = usedFontSize + 0.2;
    document.getElementsByTagName('body')[0].style.fontSize = usedFontSize + 'em';
  }
  else {
    usedFontSize = 1;
    document.getElementsByTagName('body')[0].style.fontSize = usedFontSize + 'em';
  }
}

function flushCache(){
  var submitForm = document.createElement("form");
  document.body.appendChild(submitForm);
  submitForm.method = "post";
  var newElement = document.createElement("input");
  with(newElement) {
    setAttribute("name", "cacheflush");
    setAttribute("type", "hidden");
    setAttribute("value", "true");
  }
  submitForm.appendChild(newElement);
  submitForm.action=location.href;
  submitForm.submit();
}
