//"iframe" should be changed according to the real id/name of the frame in your page
document.getElementById("iframe").onload = function() {
framekiller = false;
}


http://xcharity.blogspot.com/2009/12/anti-frame-buster.html