Sorry, misread your question.
On 8/28/07, Mike Alsup <[EMAIL PROTECTED]> wrote:
>
>
> 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.
> >
> >
>
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com