Guarda http://javascript.html.it/script/lis...re-e-frames/1/ tutte quelle con cookie fanno al caso tuo.

P.S. Benvenuto sul forum.