
var current = 0;

function init()
{
	if (!document.images) return
	current = Math.floor(Math.random()*banners.length);
	if (linx[current].length > 1)
	{
		document.images['banner'].src = banners[current];
		old = current;
	} else {
		current = old;
	}
	setTimeout('init()',20000);
}

function sendpage()
{
	parent.location.href = linx[current];
}

function showpage()
{
	parent.window.status = linx[current];
}

function hidepage()
{
	parent.window.status = "";
}