// JavaScript Development: Mt. Rosalie Enterprises Copyright 1999
// written by Dave Gibson, email: scriptit@hotbot.com
// licensed to GGM Internet Solutions

function checkforframe() {
  if (document.layers && (self.innerHeight == 0 && self.innerWidth == 0)) return;
  if ((top == self) || ((document.images) ? (parent.ggmkt123 ? false : true) : (parent.frames[1].name != 'ggmkt123'))) {
      var newURL = self.location.protocol + '//' + self.location.host + self.location.pathname.substring(0,self.location.pathname.lastIndexOf('/')) + '/index.html?top.html&nav.html&main.html';
      if (document.images) top.location.replace(newURL);
      else top.location.href = newURL;
  }
}

