function AdScroller() 
{
	var _objScroller;
	var _iAdded = 0;
	var _iNormalHeight;
	var _iOverHeight;
	
	this.create = function(objTarget,sAdScrollerId,iWidth,iNormalHeight,iOverHeight)
	{
		_objScroller = WU.ceo(sAdScrollerId,'div',objTarget);
		_objScroller.style.width = iWidth + 'px';
		_iNormalHeight = iNormalHeight;
		_iOverHeight = iOverHeight;
	}
	
	this.add = function(sNormalImage, sHref, sTarget)
	{
		var objAdded = WU.ceo(_iAdded,'a',_objScroller);
		var sTag = sHref.toLowerCase();
		objAdded.style.display = 'block';
		objAdded.style.width = '100%';
		objAdded.style.height = _iNormalHeight + 'px';
		objAdded.style.background = 'url('+sNormalImage+')';
		objAdded.style.backgroundRepeat = 'no-repeat';
		objAdded._normalImage = sNormalImage;
		objAdded.onmouseover = function(){for(var i = 0; i < this.parentNode.childNodes.length;i++){this.parentNode.childNodes[i].style.background = 'url('+this.parentNode.childNodes[i]._normalImage+')';WE.resizeHeight(this.parentNode.childNodes[i],_iNormalHeight,0.1);};this.style.backgroundPosition = '0px -'+(_iNormalHeight+5)+'px'; WE.resizeHeight(this,_iOverHeight,0.1);};
		objAdded.href = sHref;
		objAdded.target = sTarget;
		
		sTag = sHref.replace(/[^a-zA-Z0-9/\-]+/g, '').replace('https','').replace('http','').replace('wwwskycombr','').replace('aspx','').replace('html','').replace('htm');
		while(sTag.indexOf("//") > -1)
		{
		    sTag = sTag.replace("//",'/');
		}
		
		sTag = "/home/banner-lateral" + sTag;
		objAdded.onclick = function(){pageTracker._trackPageview(sTag)}
		_iAdded++;
		
		objAdded.parentNode.childNodes[0].onmouseover();
	}
}
