function IFrameManager(span) {
  var mySelf = this
  top.glbDict.makeWidgetManager(this,span)

  mySelf.applyResize = function() {
    mySelf.iframe.style.width = mySelf.div.style.width
    mySelf.iframe.style.height = mySelf.div.style.height
  }

  mySelf.attrChange = function(attr,val) {
    if (attr == 'src') {
      mySelf.iframe.src = val
      mySelf.doFadeIn()
    }
  }

  mySelf.doFadeIn = function() {
    return
    mySelf.iframe.style.visibility = 'hidden'
    var ed = top.glbDict.asyncEffectManager.newEffectDef('fadetransparent',mySelf.iframe)
    ed.fromval = 0 
    ed.toval = 100
    ed.increment = 20
    ed.interval = 30
    top.glbDict.asyncEffectManager.runEffect(ed)
  }

  mySelf.initialize = function() {
    mySelf.div = mySelf.span.getElementsByTagName('div')[0]
    top.glbDict.innerHTML(mySelf.div, '' )

    var iframe = mySelf.div.ownerDocument.createElement('iframe')
    iframe.style.top = '0px'
    iframe.style.left = '0px'
    iframe.style.position = 'absolute'
    iframe.style.width = mySelf.div.style.width
    iframe.style.height = mySelf.div.style.height
    iframe.style.backgroundColor = mySelf.div.style.backgroundColor
    iframe.style.border = 'solid transparent 0px'
    /* This is dumb here, but needed to stop IE 6.0 from complaining about 
     * 'this page contains both secure and insecure content' when UWT is
     * accessed via HTTPS
     */
    iframe.src = '/shared/blank.html'
    mySelf.div.appendChild(iframe)
    mySelf.iframe = iframe

    mySelf.doFadeIn()

    if ( document.all && (!window.opera)) {
      iframe.src = mySelf.span.getAttribute('src')
    }
    else {
      // This is here because Mozilla doesn't even try a GET request for the IFrame until after
      // the initial load, for some reason.  Without it, your IFrame will give you a 404
      setTimeout( 'top.glbDict.getWidgetInst("' + mySelf.getID() + '").iframe.src = "' + mySelf.span.getAttribute('src') + '"' , 100 )
    }

  }

  // Superclass Constructor
  return mySelf
}

top.glbDict.uwWidgetFactory.registerWidgetClass('IFrame',IFrameManager)
