Script doesn't work in Win2k... Why?

This script works fine in IE and Netscape in versions of Windows before 2000, but breaks in this particular version. The error I get is that there was a semicolon expected. As far as I can tell, that’s not what the problem really is.

Could someone take a look at this and see what I’m doing wrong? Thanks!

On a side note, the script works about 2% of the time, seemingly random. (?)

gfx0=“http://www.josienutter.com/images/josiebtn_ani.gif”;
lnk0=“http://www.josienutter.com/”;
alt0=“josienutter.com”;

len=1;
today=new Date();
today=today.getTime()/10;
rnd=today%len;
document.writeln(’<a href="’+eval(“lnk”+rnd)+’" target="_blank"><img src="’+eval(“gfx”+rnd)+’" alt="’+eval(“alt”+rnd)+’" border=“0”>’);

Hello josie,
I apologize but i do not know what may be causing the problem you are having. I’m not that familiar with any advanced coding besides VisualBasic and some minor Flash ActionScript. I hope someone here might be able to help you out, or you can try posting at some of the large HTML/JavaScript sites. They might be able to help you out.

I’ve posted this on about 25 different ezboards. You are the 2nd person to have responded at all. :wink:

Thanks anyways. :slight_smile:

Hey man, I dont think that windows 2k has much to do with it, windows 2k and 98 versions of IE and Netscape are the same program. If 98 can run it and 2k cant make sure you got your runtime files for VB on that computer and all the necessary options in advanced menus in the IE options for VB are enabled.