

{

var styles = {
  'body' : function(el) {
    var shade=document.getElementById('SHADE');
    if (shade != null) { 
      shade.style.visibility='hidden'; 
    }
  },
  '.GLUE' : function(el) {
    if (!el.$ifw$placeHolder)
      return;
    var ph = document.getElementById(el.$ifw$placeHolder);
    if (!ph)
      return;
    if (el.$ifw$overrideParent)
      ph = ph.parentNode;
    var bounds = $ifw.getAbsoluteBounds(ph);
    el.style.width = bounds.width + "px";
    el.style.height = bounds.height + "px";
    $ifw.setAbsolutePosition(el, bounds.x, bounds.y);
  }
};

$ifw.registerStyles(styles);

}

