<!-- cloak

function startup(){
	db = new Array() 
	db[0] = new link("../../customers/caravancanopies", "../../images/logos/caravancanopies_logo_sm.gif", "Sales & Rentals of<br>Portable Instant Canopies<br>Custom Logo Specialists", "Caravan Canopies")
	db[1] = new link("../../customers/nikon", "../../images/logos/nikon_logo.gif", "See the new Coolpix 775<br>Small and Sleek<br>Win one at whatsUP.ca", "NIKON")
	db[2] = new link("../../customers/daynight", "../../images/logos/daynight_logo_sm.gif", "Day Night Pharmacy", "Day Night Pharmacy")
	db[3] = new link("../../customers/dominos", "../../images/logos/dominos_logo_sm.gif", "Get the door,<br>it's Dominos", "Dominos")		
}
function link(where,title,address,name) {
	
	this.where = where;
	this.title = title;
	this.address = address;
	this.name = name;
	return this
}

function RanNum(r) {
	today = new Date();
	startup();
	num = Math.floor(Math.abs(Math.sin(today.getSeconds()) * 1000 % db.length));
	return (num);
}


function reLoad() {
	location.href="rlink.htm";
}



function getRandomLink1() {

	n= RanNum(0);

	document.write("<font face='Helectiva' size=4>");
	document.write("<a href='" + db[n].where + "' target=new>" + "<img src='" + db[n].title + "' border=0>" + "</a><br>" + "<font face=tahoma size=1 color=white>" + db[n].address);

}

function getRandomLink2() {

   r=1;

	n= RanNum(r);
	n = n + r;

	if (n >= db.length){
		n = n - db.length;	
	}

	document.write("<font face='Helectiva' size=4>");
	document.write("<a href='" + db[n].where + "' target=new>" + "<img src='" + db[n].title + "' border=0>" + "</a><br>" + "<font face=tahoma size=1 color=white>" + db[n].address)
}

function getRandomLink3() {

   r=2;

	n= RanNum(r);
	n = n + r;

	if (n >= db.length){
		n = n - db.length;	
	}


	document.write("<font face='Helectiva' size=4>");
	document.write("<a href='" + db[n].where + "' target=new>" + "<img src='" + db[n].title + "' border=0>" + "</a><br>" + "<font face=tahoma size=1 color=white>" + db[n].address)
}



// -- decloak -->
