function highlightPromoBox()
{
	if(!document.getElementById) return false;
	if(!document.getElementsByTagName) return false;
	if(!document.getElementById("homepagePromo")) return false;
	
	var homepagePromo = document.getElementById("homepagePromo");
	
	var divs = homepagePromo.getElementsByTagName("div")
	for(var i=0; i<divs.length; i++)
	{
		if(divs[i].className.indexOf("txtBox") == -1) continue;
		
		divs[i].style.cursor = "pointer";
		
		divs[i].oldClassName = divs[i].className
		divs[i].onmouseover = function() 
		{
			addClass(this,"highlight");
   		}
    	divs[i].onmouseout = function() 
    	{
      		this.className = this.oldClassName
    	}
		
		divs[i].onclick = function()
		{
			var link = this.getElementsByTagName("a")[0];
			var target = link.getAttribute("target");
			if(target == "_blank")
			{ window.open(link); }
			else
			{ window.location = link; }
		}
		
	}
}

addLoadEvent(highlightPromoBox);