getDay()?

I need to create a function in JS that checks the current Day of the week OnLoad and if the day is Friday, Saturday or Sunday I have a PopUp ad show up. I just can not get this to work. Thanks for any help.Shane
[225 byte] By [Shane] at [2007-9-30 20:30:08]
# 1
Never mind I got it to work. :) if (day.getDay() ==0)window.open(......)and so on.
Shane at 2007-7-7 1:14:17 > top of Java-index,Other Topics,Java Community Process (JCP) Program...