<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'images/build.gif'
theImages[1] = 'images/build2.gif'
theImages[2] = 'images/build3.gif'
theImages[3] = 'images/build4.gif'
theImages[4] = 'images/dc.gif'
theImages[5] = 'images/fountain.gif'
theImages[6] = 'images/hood1.gif'
theImages[7] = 'images/hood2.gif'
theImages[8] = 'images/streetview.gif'
theImages[9] = 'images/TCbanner.gif'

// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){

document.write('<table width="800" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td>');
document.write('<img src="images/tcheader.jpg" width="450" height="150"/><img src="'+theImages[whichImage]+'" width="350" height="150">');
document.write('</td>');
document.write('</tr>');
document.write('</table>');

}

//  End -->

function showFooter(){
document.write('<table width="800" height="30" border="0" cellspacing="0" cellpadding="0"  style=" background:#DDDDDD; height:30px; background-image: url(images/back.jpg); background-repeat:repeat-x">');
document.write('<tr><td><span align="center" style="font-size: 12px;">The Triangle Club 2030 P Street NW Washington DC 20035 &copy 2012 - <a href="mailto:webperson@triangleclub.org">Email us</a> with questions or feedback.</span></td></tr>');
document.write('</table>');
}
