function getEstrellaFooterTable( contents ){
	var table = "<table border=1 width=721><tr align=center><td align=center>" + contents + "</td></tr></table>";
	return table;
}

function EstrellaFooter(){
	this.init = init;
	this.linkArray = new Array( 30 );
	this.linkCounter = 0;
	
	// function declaration
	this.addLink = addLink;
	this.getLinkCount = getLinkCount;
	this.getLink = getLink;
	this.getHtmlLink = getHtmlLink;

	function init(){
	}
	
	function addLink( name, href ){
		this.linkArray[ this.linkCounter++ ] = new EstrellaLink ( name , href );
	}

	function getLinkCount(){
		return this.linkCounter;
	}

	function getLink( index ){
		return this.linkArray[ index - 1 ];
	}

	function getHtmlLink( index ){
		return "<a class='Links2' href='" + this.getLink( index ).getHref() + "'>" + this.getLink( index ).getName() + "</a>";
	}
}

function EstrellaLink( name, href ){
	this.name = name;
	this.href = href;
	// method declaration
	this.getName = getName;
	this.getHref = getHref;

	function getName(){
		return this.name;
	}	
	
	function getHref(){
		return this.href;
	}
}