/*
 *	JaBEx v.10, http://turma.sourceforge.net/web/jabex
 *	part of Violence by Design project, http://turma.sourceforge.net
 *	Author: Mircea MITU <mirceamitu@users.sourceforget.net>
 *	Licence: GPL v2
 *	Copyright: 2001, Mircea MITU
 *	Date:		March 29, 2001
 */

/*
 Usage:
	* write the following line in the <head> section:
		<script src="./jabex.js" language="JavaScript"></script>
	* place the following code inside your html page,
	  where you want to display the banners
		<script>showbanner()</script>
 */

// Array of URLs
url = [
	"http://200.61.116.34",
	"http://200.61.116.34"
	];

// Array of banners
banners = [
	"../pic/banner_nuevo_sitio9.gif",
	"../pic/banner_nuevo_sitio7.gif"
	];

// Array of alternatives
alternative = [
	"www.Gua-i.com.py",
	"www.Gua-i.com.py",
	];

// Call this function to display banners
function showbanner(){
	var l = url.length;
	var i = Math.floor((Math.random() * 10)%l);
	var bannercode="<a href='"+url[i]+"' target=_blank><img src='"+banners[i]+"' alt='"+alternative[i]+"' border=0 width=400 height=60 ></a>"
	document.write(bannercode);
}

