function UnFrame()
{
  window.onerror=ignore;
  var URLs = sAllowFraming.split(' ');
  var bFound=false;
  if (top != self)
  { if(document.referrer.indexOf(window.location.hostname)==-1)
    { if(sAllowFraming.length > 0)
      { for(var i=0; i<URLs.length && !bFound; i++)
        { if(document.referrer.indexOf(URLs[i])!=-1) bFound=true;
        }
      }
      if(!bFound) top.location.href = self.location.href;
    }
    try
    {
     if (parent.frames[0].name=='top') top.location.href = self.location.href;
    }
    catch(exception)
    {
    }
  }
}
function ignore()
{
  return true;
}