I'm bout to lose my motherfucking mind. I can't figure out how to get this script to actually randomize, I think it's in the IF/ELSE portion, but I'm not sure. It only switches the image every 10-12 reloads. If anyone is proficient in Javascript PLEASE help me out. BTW, i'm doing it in notepad before you say the prob is using a WYSIWYG editor. Here it is:
i=0;
var ads = new Object();
var header='';
ads[i++] = header
ads[i++] = header
ads.length = i;
dat = new Date();
dat = (dat.getTime()+"").charAt(1);
if (dat.length == 1)
ad_num = dat%ads.length;
else
ad_num = 2;
document.write(ads[ad_num]);
