var DynBanner = function() {
	this.init = function() {
		if(this.site = document.getElementsByTagName("html")[0]) {
			this.date = new Date();
			this.year = this.date.getFullYear();
			this.month = this.date.getMonth() + 1;
			this.day = this.date.getDate();
			
			if(this.month > 11 || this.month < 3) {
				if(this.month == 12 && this.day > 21 || this.month < 4) {
					this.site.className += "winter";
				} else {
					this.site.className += "autumn";
				}
			} else if(this.month > 8 && this.month < 12) {
				if(this.month == 9 && this.day > 21 || this.month > 9) {
					this.site.className += "autumn";
				} else {
					this.site.className += "summer";
				}
			} else if(this.month > 2 && this.month < 6) {
				if(this.month == 3 && this.day > 20 || this.month > 3) {
					this.site.className += "spring";
				} else {
					this.site.className += "winter";
				}
			} else if(this.month > 5 && this.month < 9) {
				if(this.month == 6 && this.day > 20 || this.month > 6) {
					this.site.className += "summer";
				} else {
					this.site.className += "spring";
				}
			}
		}
	};
};

window.onload = function() {
	/*
	var banner = new DynBanner();
	banner.init();
	*/
}
