Io penso che potresti mettere un onload nella pagina in cui deve aprirsi la tabella:

<body onload="top.NOMEFUNZ();">