function KotasoftBanner(banner_ref)
{
	this.matrix	= new Array();
	this.url	= new Array();
	this.time	= new Array();
	this.seed = new Date().getTime();
	this.banner_image = banner_ref;
	this.update_time = 15000;

	this.showNext = function ()
	{
		this.seed = (this.seed+1)%this.matrix.length;
		this.banner_image.src = this.matrix[this.seed];
		this.update_time = this.time[this.seed];
		setTimeout('banner.showNext()',this.update_time);
	}

	this.init  = function ()
	{
		this.showNext();
	}

	this.addImage = function ( image_src, image_link, image_time )
	{
		this.matrix[this.matrix.length]=image_src;
		this.url[this.url.length]=image_link;
		this.time[this.time.length]=image_time*1000;
	}

	this.click = function ()
	{
		window.open(this.url[this.seed]);
		return false;
	}

	this.agregarLinks = function (){
		//ZONA DE EDICIÓN DE BANNERS 
		banner.addImage('http://www.culturable.com/image/image_gallery?img_id=1357&large=1','http://www.saasexhibit.com', 20);

		//FIN ZONA DE EDICIÓN DE BANNERS
	}
	
}



