thanks 5tons!!! that got rid of the Expected 0, got 1. and it played a video after 10 seconds! but it only played once.

I guess this line will need tweaking to play a random video every 10 seconds the mouse has been inactive (rather than just the 1 time):

ns.play(flvA[Math.floor(Math.random()*3)]);

hope someone can put me in the right direction again!

many thanks again