OK, I am going to warn you this is rather long.
The alert boxes I got in there I am using to help me figure out where the problem is. Right now, I can not get the alert to pop up as the second statemant but it does when its the first in function totweek(). I hope this clarifys my question some...