if (parent.frames.length > 0) {
    parent.location.href = self.document.location
}

function movie(myform, w, h)
{
if (! window.focus)return true; var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2;
winprops = ',height='+h+',width='+w+',top='+wint+',left='+winl+',resizable';
window.open('', 'movie', winprops); myform.target='movie'; return true;
}

function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}