var lastimg = 0;
var isIE=document.all;
var imgCount = 5;
imageSet = new Array(imgCount);
for (i=0;i<=imgCount-1;i++) {imageSet[i] = 'images/masthead_0'+(i+1)+'.jpg'}
function randimg() {previmg = document.images.mastheadpic.src;v1 = Math.floor(Math.random()*imgCount+1);
if (document.images.mastheadpic)
{
document.images.mastheadpic.src = imageSet[v1-1];}
else
{document.write('<img id=\"mastheadpic\" src="'+imageSet[v1-1]+'" width=640 height=182 border=0>');}

//
}
function goadjust() {noresize = true;document.onmouseup = adjustframebox();}
function adjustframebox(){var iH=isIE ? document.body.clientHeight+16 : window.innerHeight ;var iH = iH-174-53;document.getElementById('tallcontent').style.height = iH;}
function pf(theURL) {cframe.location.href = theURL;adjustframebox();var curURL = theURL;}
function shrinkWin(theObj) {inH = (document.body.clientHeight) ? document.body.clientHeight:0;inH = (window.outerHeight) ? (window.innerHeight-window.outerHeight+window.outerHeight):inH;window.resizeBy((document.getElementById(theObj).offsetWidth-document.body.clientWidth),(document.getElementById(theObj).offsetHeight-inH));}