if(typeof(framesimaction) == "undefined") framesimaction = "frameset"; function restoreframeset(){ try { var topurl = top.location.href; var thisurl = document.location.href; if(thisurl == topurl){ topurl = thisurl.replace(/(\w*?)(simaction=)([^&]*)(\w*)/gi, "$1$2" + framesimaction + "$4"); top.location.href = topurl; } } catch (err) {} } function breakout(){ if(self!=top){ top.location.replace(window.location.href); } }