function fixLayout()
{
		d = document.getElementsByTagName("a");
		for (var i = 0; i < d.length; i++ )
		{
			if(d[i].parentNode.parentNode.className.indexOf("box") != -1)
			{
				d[i].parentNode.parentNode._href = d[i].href;
				d[i].parentNode.parentNode.target = d[i].target;
				d[i].parentNode.parentNode.onclick = function () 
				{
					if (this.target == '_blank')
						window.open(this._href);
					else
						window.location = this._href;
				}
				d[i].parentNode.parentNode.onmouseover = function () 
				{
					if (this.className.indexOf("hover") == -1)
					{
						this.className += " hover";
					}
				}
				d[i].parentNode.parentNode.onmouseout = function ()
					{
						this.className = this.className.replace(" hover", "");
					}
			}
		}
}

if (window.addEventListener) window.addEventListener("load", fixLayout, false);
else if (window.attachEvent) window.attachEvent("onload", fixLayout);