tabHover = function() {
	var elementList = document.getElementById("tab-container").getElementsByTagName("div");
	for (var i=0; i<elementList.length; i++) {
		elementList[i].onmouseover = function() {
			this.className += " tab-hover";
		}
		elementList[i].onmouseout = function() {
			this.className = this.className.replace(new RegExp(" tab-hover\\b"), "");
		}
	}
}

if (window.attachEvent) window.attachEvent("onload", tabHover);
