var opacity = 80;

function setStyles() {
   var backgroundDiv = document.getElementById("background");
   if (typeof(backgroundDiv) != "undefined")
   {
      backgroundDiv.style.opacity = (opacity / 100);
      backgroundDiv.style.filter = 'alpha(opacity=' + opacity + ')';
   }
}
