function EKCProductHotspot()
{
	this.divContainer	= null;
	this.divPopup		= null;
	this.imgSpot		= null;
	this.divInfo		= null;
	
	this._isPopupVisible = false;
	
	this.ShowPopup = function()
	{
		if (!this._isPopupVisible)
		{
			y = (this.divContainer.offsetHeight - 110);
			x = ((parseFloat(this.divContainer.style.width) - 120) / 2);
			
			this.divPopup.style.top = y + "px";
			this.divPopup.style.left = x + "px";
			
			new Effect.Appear(this.divPopup, {duration: 0.1, to:0.8, queue:{scope:this.divContainer.id, position:'end'}});
			new Effect.Appear(this.divInfo, {duration: 0, to:1, queue:{scope:this.divContainer.id, position:'end'}});
			this._isPopupVisible = true;
		}
	}
	
	this.HidePopup = function()
	{
		new Effect.Fade(this.divPopup, {duration: 0.1, queue:{scope:this.divContainer.id, position:'end'}});
		this._isPopupVisible = false;
	}
	
	this.BindEvents = function()
	{
		this.imgSpot.onmouseover = this.ShowPopup.bindAsEventListener(this);
		this.imgSpot.onmouseout = this.HidePopup.bindAsEventListener(this);
	}
}

