
function PopupListManager()
{
  	this.popupOnList = new Array();
		
	// checks whether queue consists of the popup.
	this.getPopup = function(sender)
	{
		return this.popupOnList[sender];
	}

	this.addToList = function(sender, popup)
	{
		this.popupOnList[sender] = popup;	
	}

	this.removeFromList = function(sender)
	{
		this.popupOnList[sender] = null;
	}

	this.generateInfoPopupName = function(contentObj)
	{
		return contentObj.accessors["title"] + "_popup";
	}

}
