if (top.frames.length!=0)
top.location=self.document.location;
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight
)

function fensterauf(url,name,sizex,sizey) {
newwin = window.open(url, name, "width=" + sizex + ",height=" + sizey + ",toolbar=no,location=no,directories=no,status=0,resizable=no,scrollbars=auto,menubar=no");
newwin.moveTo(((screen.width/2)-(sizex/2)),((screen.height/2)-(sizey/2)));
}

