function importflash(f, w, h) {
   document.write('<object type="application/x-shockwave-flash" data="' + f + '.swf" width="' + w + '" height="' + h + '">\n');
   document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
   document.write('<param name="movie" value="' + f + '.swf" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="menu" value="false" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('</object>\n');
}

function getHeader(w, h) {
var theImages = new Array()
theImages[0] = '/_flash/home/apalachicola.png'
theImages[1] = '/_flash/home/eastpoint.png'
theImages[2] = '/_flash/home/panama.png'
theImages[3] = '/_flash/home/wewa.png'


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 whichNumber = Math.round(Math.random()*(p-1));
document.write('<img src="'+theImages[whichNumber]+'" alt="" border="0" width="' + w + '" height="' + h + '" />');
//document.getElementById("header").style.backgroundImage = "url("+theImages[whichNumber]+")";
}
