window.onload = function(e) {
	var cookie = readCookie("style")
	var title = cookie ? cookie : getPreferredStyleSheet()
	//Fire off Onload Functions.
	setActiveStyleSheet(title)
	addMenuClasses()

	if (document.title.indexOf(":: Home") > 0) {
		rotateQuotes()
	}
}

window.onunload = function(e) {
	var title = getActiveStyleSheet()
	createCookie("style", title, 365)
}
