<SCRIPT LANGUAGE="JavaScript1.2">

// since we can't work with the "actual" Date Object we need to create an instance of it (a copy)
// fill the variable now with the current date now is a snap-shot of the Date Information

var now = new Date();

// getDay() returns the day of the week as an integer from 0 (Sunday) to 6 (Saturday).
// by using &&, logical operator, we're checking to see if both parts are true

var theDay = now.getDay();

switch(theDay) {
     case 5: document.write("Finally Friday");
                  break;
     case 6: document.write("Super Saturday");
                  break;
     case 0: document.write("Sleepy Sunday");
                  break;
     default: document.write("I'm really looking forward to this weekend!");
}

</SCRIPT>