If it's a global var you'd do this:
if (!window.video_ajax_timer_id) {
// do stuff
}
On 8/28/07, Frank Peterson <[EMAIL PROTECTED]> wrote:
>
> I'm not test for an ID or a HTML element but a variable.
>
> video_ajax_timer_id = setTimeout('prevnext(1, '+next_image_num+')',
> 5000);
>
> Basically I need to know if I need to call that setTimeout or not.
>
>

