﻿function stopFramed()
{
  if (top.location != self.location && top.location.href.toLowerCase().indexOf('/enterprise/') != -1)
    top.location = self.location;
}

function goSetHeight()
{
  if (parent == window) return;
  // no way to obtain id of iframe object doc loaded into? no parentNode or parentElement or ...
  else parent.setIframeHeight('cfgiframe');
}

function goSetHeight2()
{
  if (parent == window) return;
  // no way to obtain id of iframe object doc loaded into? no parentNode or parentElement or ...
  else {
     parent.setIframeHeight('ifrm');
     parent.parent.setIframeHeight('cfgiframe');
  }
}

function getObject(id) {
 if (document.all){return(document.all(id))} 
 if (document.getElementById){return(document.getElementById(id))}
}
