function stopErrors() {
 return true;
}window.onerror = stopErrors;
if (parent.frames.length > 0) {
    parent.location.href = self.document.location
}