if (document.getElementById("top10"))
{
	var links = document.getElementById("top10").getElementsByTagName("div");
		for (var i=0; i<links.length ;i++){

			links[i].onmouseover = function () {
				this.className = 'topitem active';
			}
			links[i].onmouseout = function () {
				this.className = 'topitem passive';
			}

			links[i].onclick = function () {
				var delink = this.getElementsByTagName("a");
				if (delink.length > 0)
				{
//					document.location.href=delink[0].href;
					window.open(delink[0].href);
					
				}
			}
			
		}
}