// Aircraft Silhouette Script

function getImage() {

	var the_graphics = new Array()

		the_graphics[0] = 'images/header/frcsw_av8b.jpg'
		the_graphics[1] = 'images/header/frcsw_c2a.jpg'
 		the_graphics[2] = 'images/header/frcsw_e2c.jpg'
 		the_graphics[3] = 'images/header/frcsw_fa18.jpg'
 		the_graphics[4] = 'images/header/frcsw_h53.jpg'
 		the_graphics[5] = 'images/header/frcsw_h60.jpg'
 		the_graphics[6] = 'images/header/frcsw_v22.jpg'

	var j = 0
	var p = the_graphics.length;
	var pre_Buffer = new Array()
	for (i = 0; i < p; i++){
		 pre_Buffer[i] = new Image()
		 pre_Buffer[i].src = the_graphics[i]
}
var which_Image = Math.round(Math.random()*(p-1));

return '<img src="' + the_graphics[which_Image] + '" width="984" height="149" alt="FRCSW Banner">';

}

document.write(getImage());
