var cgi = new Object();
   cgi.http_host = location.host;
   cgi.http_user_agent = navigator.userAgent;
   cgi.http_cookie = document.cookie;
   cgi.https = (location.protocol == 'https:\/\/') ? 'on' : 'off';
   cgi.path_info = (location.pathname.indexOf('?') != -1) ? location.pathname.substring(0, location.pathname.indexOf('?')) : location.pathname;
   cgi.query_string = (location.search) ? ((location.search.indexOf('#') != -1) ? location.search.substring(1, location.search.indexOf('#')) : location.search.substring(1)) : '';
   cgi.script_name = cgi.path_info;
   cgi.http_referer = document.referrer;


if (cgi.query_string != "viewStory=15")
{ 

var randnum = Math.random();
var inum = 4;
// Change this number to the number of images you are using.


var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "http://host1.bondware.com/~massey/photos/File22.jpg"
images[2] = "http://host1.bondware.com/~massey/photos/File23.jpg"
images[3] = "http://host1.bondware.com/~massey/photos/File24.jpg"
images[4] = "http://host1.bondware.com/~massey/photos/File25.jpg"


var image = images[rand1]

document.write('<style type=text/css>td.content_cell{background-image:url(\'' + image + '\');background-repeat:no-repeat;}</style>'); 
}