if (MDM.VARS.MAIN.sessionTimeBegan.clearTime(true) <
// delete cookie
Then I remembered that you can just set cookies to expire on a certain time and date and that this is utterly stupid.
Don't do this.
That being said, I did learn about ExtJS's "clearTime()" and "clone()" functions for Date objects, and they're really neat.