<!--

var exitFlag = true;

window.onunload=exitMsg;

function noexit(){

exitFlag = false;
}

function exitMsg(){
if (exitFlag == true){window.showModalDialog("http://www.oldschoolbassfishing.com/why_no_buy.html","","dialogHeight: 575px; dialogWidth: 600px; dialogTop: 100px; dialogLeft: 100px; edge: Raised; center: No; help: No; resizable: Yes; status: no;");}
}

function next_weekday(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);
         }
		 
function poptastic(url){ window. open(url,'name','height=390,width=440,toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1');
}

function poptastic2(url){ window. open(url,'name','height=500,width=440,toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1');
}

-->