function next_week(target_week_day)
         {         
         date = new Date();
         
         day = date.getDate();
         month = date.getMonth();
         year = date.getFullYear();
         week_day = date.getDay();
         
         months = new Array('January',
                            'February',
                            'March',
                            'April',
                            'May',
                            'June',
                            'July',
                            'August',
                            'September',
                            'October',
                            'November',
                            'December');
                                    
         
         //This assumes that if today is a target week day,
         //today's date will be used and not next week's.
         //To change that, just change
         //if(week_day <= target_week_day)
         //to
         //if(week_day < target_week_day)
         
         if(week_day <= target_week_day)
            days_left = target_week_day - week_day;
         else
            days_left = 7 - (week_day - target_week_day);
         
         //This script works by finding out the number of days separating
         //the current date and the next target week day.
         next_week_day = new Date(year, month, day + days_left);
         
         next_week_html = months[next_week_day.getMonth()] + " " + next_week_day.getDate() + ", " + next_week_day.getFullYear();
                                              
         document.write(next_week_html);
         }