<!--
//FUNCTIONS
var timeoutId = 0;

function swap(name,state) {
    if(thePics[name+state] && thePics[name+state].complete) {
        document.images[name].src = thePics[name+state].src;
    }
}

function getFlash(flash,width,height,bgcolor) {
	var html = '';
		html = html + '<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" WIDTH=' + width + ' HEIGHT=' + height + '>';
		html = html + '<PARAM NAME=movie VALUE=\"' + flash + '\"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#' + bgcolor + '>';
		html = html + '<EMBED src=\"' + flash + '\" quality=high bgcolor=#' + bgcolor + ' WIDTH=' + width + ' HEIGHT=' + height + ' TYPE="application/x-shockwave-flash" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">';
		html = html + '</EMBED></OBJECT>';
	return html;
}

function setVis(which,theVis) {
	obj = document.getElementById(which);
	obj.style.visibility = theVis;
}

function navOver() {
	setVis('subNav','visible');
	clearTimeout(timeoutId);
}

function navOut() {
	timeoutId = setTimeout("showbyregionOff()",300);
}

function showbyregionOff() {
	setVis('subNav','hidden');
	swap('b_showbyregion','');
}

function preloadPics(thePics) {
	for (i=0;i<thePics.length;i++){
		thePics[thePics[i]] = new Image();
		thePics[thePics[i]].src = 'images/'+thePics[i]+'.gif';
		thePics[thePics[i]+'_over'] = new Image();
		thePics[thePics[i]+'_over'].src = 'images/'+thePics[i]+'_over.gif';
	}
}

//-->
