function randomBanner ( myArray ) {
  var i = myArray.length;
  if ( i == 0 ) return false;
  while ( --i ) {
     var j = Math.floor( Math.random() * ( i + 1 ) );
     var tempi = myArray[i];
     var tempj = myArray[j];
     myArray[i] = tempj;
     myArray[j] = tempi;
   }
}

var asBanner = new Array (1,2,3,4,5,6,7,8);
randomBanner(asBanner);
var iNum1 = asBanner[0];
var iNum2 = asBanner[1];

var hotel1 = '<td valign="top" style="padding-right:10px;"><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=231553"><img border="0" src="/usa/images/70images/us_70x70_thepierre.jpg" /></a></td><td valign="top"><h2><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=231553" class="buy">The Pierre, NYC</a></h2>Rich with 1930s detail located in Manhattan\'s Upper East Side.<div style="padding-top:3px;"><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=231553" class="buy">Read more &gt;</a></div></td>'

var hotel2 = '<td valign="top" style="padding-right:10px;"><a href="http://www.orient-express.com/web/onyc/onyc_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=21"><img border="0" src="/usa/images/70images/onyc_70x70_21club.jpg" /></a></td><td valign="top"><h2><a href="http://www.orient-express.com/web/onyc/onyc_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=21" class="buy">21 Club, NYC</a></h2>Not a hotel of course - but one of the most celebrated restaurants in New York City.<div style="padding-top:3px;"><a href="http://www.orient-express.com/web/onyc/onyc_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=21" class="buy">Read more &gt;</a></div></td>'

var hotel3 = '<td valign="top" style="padding-right:10px;"><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=163438"><img border="0" src="/usa/images/70images/us_70x70_four_seasons.jpg" /></a></td><td valign="top"><h2><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=163438" class="buy">Four Seasons, Las Vegas</a></h2>A symbol of luxury on the south end of The Strip.<div style="padding-top:3px;"><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=163438" class="buy">Read more &gt;</a></div></td>'

var hotel4 = '<td valign="top" style="padding-right:10px;"><a href="http://www.orient-express.com/web/onor/onor_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=wct"><img border="0" src="/usa/images/70images/us_70x70_windsorcourt.jpg" /></a></td><td valign="top"><h2><a href="http://www.orient-express.com/web/onor/onor_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=wct" class="buy">Windsor Court, New Orleans</a></h2>Luxury dwellings... your home away from home.<div style="padding-top:3px;"><a href="http://www.orient-express.com/web/onor/onor_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=wct" class="buy">Read more &gt;</a></div></td>'

var hotel5 = '<td valign="top" style="padding-right:10px;"><a href="http://www.orient-express.com/web/okes/okes_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=kes"><img border="0" src="/usa/images/70images/us_70x70_keswickhall.jpg" /></a></td><td valign="top"><h2><a href="http://www.orient-express.com/web/okes/okes_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=kes" class="buy">Keswick Hall, Virginia</a></h2>An intimate luxury hotel of grand style.<div style="padding-top:3px;"><a href="http://www.orient-express.com/web/okes/okes_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=kes" class="buy">Read more &gt;</a></div></td>'

var hotel6 = '<td valign="top" style="padding-right:10px;"><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=116826"><img border="0" src="/usa/images/70images/us_70x70_fairmontchicago.jpg" /></a></td><td valign="top"><h2><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=116826" class="buy">Fairmont Chicago</a></h2>Quiet and sophisticated located in the business and theater district.<div style="padding-top:3px;"><a href="http://www.destination-traveler.com/USA/hotel_details.asp?hid=116826" class="buy">Read more &gt;</a></div></td>'

var hotel7 = '<td valign="top" style="padding-right:10px;"><a href="http://www.orient-express.com/web/ocha/ocha_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=cph"><img border="0" src="/usa/images/70images/us_70x70_charlestonplace.jpg" /></a></td><td valign="top"><h2><a href="http://www.orient-express.com/web/ocha/ocha_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=cph" class="buy">Charleston Place, South Carolina</a></h2>One of the finest hotels in Charleston, with an award winning restaurant.<div style="padding-top:3px;"><a href="http://www.orient-express.com/web/ocha/ocha_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=cph" class="buy">Read more &gt;</a></div></td>'

var hotel8 = '<td valign="top" style="padding-right:10px;"><a href="http://www.orient-express.com/web/omic/omic_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=ipc"><img border="0" src="/usa/images/70images/us_70x70_perrycabin.jpg" /></a></td><td valign="top"><h2><a href="http://www.orient-express.com/web/omic/omic_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=ipc" class="buy">Inn at Perry Cabin, Maryland</a></h2>A luxurious manor house resort, steeped in history.<div style="padding-top:3px;"><a href="http://www.orient-express.com/web/omic/omic_a2a_home.jsp?c=affiliates&p=destinationtraveler&cr=ipc" class="buy">Read more &gt;</a></div></td>'



document.write('<table cellpadding="0" cellspacing="0" width="208">');
document.write('<tr>');
switch (iNum1) {
	case 1:
		document.write(hotel1);
		break;
	case 2:
		document.write(hotel2);
		break;
	case 3:
		document.write(hotel3);
		break;
	case 4:
		document.write(hotel4);
		break;
	case 5:
		document.write(hotel5);
		break;
	case 6:
		document.write(hotel6);
		break;
	case 7:
		document.write(hotel7);
		break;
	case 8:
		document.write(hotel8);
		break;

}

document.write('</tr>');
document.write('<tr>');
document.write('	<td colspan="2" class="promobase1">&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td colspan="2" class="promobase2">&nbsp;</td>');
document.write('</tr>');
document.write('</table>');

document.write('<table cellpadding="0" cellspacing="0" width="208">');
document.write('<tr>');

switch (iNum2) {
	case 1:
		document.write(hotel1);
		break;
	case 2:
		document.write(hotel2);
		break;
	case 3:
		document.write(hotel3);
		break;
	case 4:
		document.write(hotel4);
		break;
	case 5:
		document.write(hotel5);
		break;
	case 6:
		document.write(hotel6);
		break;
	case 7:
		document.write(hotel7);
		break;
	case 8:
		document.write(hotel8);
		break;

}

document.write('</tr>');
document.write('</table>');
