buttonhover = function() {
	var buttEl = document.getElementById("links2").getElementsByTagName("div");
	for (var i=0; i<buttEl.length; i++) {
		if (buttEl[i].className == 'box' || buttEl[i].className == 'box last' )
		{

			buttEl[i].onmouseover=function() {
				this.className+=" buttonhover";
			}
			buttEl[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" buttonhover\\b"), "");
			}
		}
	}

}
if (window.attachEvent) window.attachEvent("onload", buttonhover);
