set your code in [ code ] [ /code ] bbreakets, else that's just a bit crap no one can read :]

to the question(without looking at the code^^):
you just need a text-element to show the timer. if the time is out just set its visible flag off