I've got a script which creates a interactive calendar. So that when you click a date that is "active" it opens up the appropriate page in another window.

The thing is I want it to load in the existing window as in "window.location" not in a new window as in "window.open"

But when I try to use window.location it says object doesn't support this action.

Anyone have any ideas?