dovresti usare un piccolo timer in javascript, cerca sul forum scripting che sicuramente qualcosa trovi, io e js non andiamo d'accordo

ciao