//This requires a <DIV id="gtFormWrap"> to wrap the body of the page and a call to CheckFrames()
function CheckFrames()
{
 if (parent.location.href != self.location.href)
 {
  if (parent.frames.length != 0 && parent.frames.length != undefined)
  { document.getElementById('gtFormWrap').innerHTML = 'This page can not be loaded in a frame as the browser will not show https in the address bar and the secure lock in the bottom status bar.';
    alert('Sorry! \n\nThis page can not be loaded in a frame as the browser will not show https in the address bar and the secure lock in the bottom status bar.   ');
  }
 }
}
