<scriptlanguage="javascript"type="text/javascript"> /* Visit http://www.yaldex.com/
for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin function
formatDate(date){ var
mymonth =
date.getMonth()+1; var
myweekday =
date.getDate(); return(mymonth
+"/"+
myweekday);
} function
printWeek(){ var
now =newDate(); var
nowDayOfWeek =
now.getDay(); var
nowDay =
now.getDate(); var
nowMonth =
now.getMonth(); var
nowYear =
now.getYear(); nowYear +=(nowYear
<2000)?1900:0; var
weekStartDate =newDate(nowYear,
nowMonth,
nowDay -
nowDayOfWeek); var
weekEndDate =newDate(nowYear,
nowMonth,
nowDay +(6-
nowDayOfWeek)); document.write("<b>Current
Week: "+
formatDate(weekStartDate)+" - "+
formatDate(weekEndDate)+"</b>");
} printWeek(); // End --> </script>