setTimeout ("unFrame()", 2000);

function unFrame() {
   if (self.parent.frames.length != 0)
       self.parent.location=document.location;
   }
