
function SN_FrameJammer(framepageURL, frameName, contentURL, newloc) { //v1.0

 if (window.name!=frameName && window.name!='booker_'
		 && !((self.innerHeight == 0) && (self.innerWidth == 0))) {

  if (typeof(newloc) == "undefined")
    newloc = 'top';

  if (newloc == 'top') {
    top.location.replace(framepageURL + '?' + contentURL + '~' + frameName);
  } else {
    self.location.replace(framepageURL + '?' + contentURL + '~' + frameName);
  }

 } 
}

