﻿
var banners = new Array(
	'../banners/XSi-Banner.gif',
	'../banners/multi-tech.gif',
	'../banners/hilton.gif',
	'../banners/fujitsu2.gif',
	'../banners/behosp_tosee.gif',
	'../banners/mcecau1.gif',
	'../banners/princegolf.jpg',
	'../banners/GO740-Banner.gif',
	'../banners/sheraton.gif',
	'../banners/embassy.gif',
	'../banners/hiltonbwi.gif',
	'../banners/blueant.gif',
	'../banners/c-lock.gif',
	'../banners/amwater.gif',
	'../banners/glaserweil.gif',
	'../banners/excitations.gif'
	);

var linx = new Array(
	'http://www.xsinternational.com/use_refurbished.html',
	'http://www.multitech.com',
	'http://www.HiltonWaikoloaVillage.com',
	'http://www.fujitsu.com/us/services/telecom/',
	'http://www.behospitable.com',
	'http://www.mcec.com.au',
	'http://www.hapunabeachprincehotel.com',
	'http://www.tomtom.com',
	'http://www.starwoodhotels.com/sheraton/property/overview/index.html?propertyID=151',
	'http://embassysuites.hilton.com/en/es/hotels/index.jhtml?ctyhocn=WASNLES',
	'http://www1.hilton.com/en_US/hi/hotel/BWIAPHF-Hilton-Baltimore-BWI-Airport-Maryland/index.do',
	'http://www.myblueant.com/misc/test_banner.htm',
	'http://www.c-locktech.com',
	'http://www.amwater.com/skyradio',
	'http://www.glaserweil.com',
	'http://www.excitations.com'
	);
	
var description = new Array(
	'XS International, Inc.',
	'Multi-Tech Systems',
	'Hilton Waikoloa Village',
	'Fujitsu',
	'Hilton',
	'Melbourne Convention and Exhibition Centre',
	'Prince Golf Hawaii',
	'TomTom',
	'Sheraton Hotels & Resorts',
	'Embassy Suites Hotels',
	'Hilton Baltimore Airport',
	'BlueAnt Wireless',
	'C-LOCK Technology',
	'American Water',
	'Glaser, Weil, Fink, Jacobs, Howard & Shapiro, LLP',
	'Excitations'
	);


var old = 0;
var current = 0;

function init()
{
	if (document.images)
	{
		newbanner();
		document.images['banner'].src = banners[current];
		setTimeout('init()',12000);
	}
}

function newbanner()
{
	while (current == old)
	{
		current = Math.floor(Math.random()*banners.length);
	}
	old = current;
}

function clickLink()
{
	top.location = linx[current];
}

function descript(){
        window.status = description[current]
}
