
function showFlash(cityPrefix,season,fext,bgcol,SiteName)
{
	var fl = true; 
	if((navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0)&&(parseFloat(navigator.appVersion)>=4)&&(navigator.userAgent.indexOf("Windows")>=0)){
	 document.write('<SCRIPT LANGUAGE=VBScript\> \n');   
	 document.write(' on error resume next \n');   
	 document.write(' var Flashmode\n');   
	 document.write(' FlashMode = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash"))\n'); 
	 document.write(' If FlashMode = True Then\n');        
	 document.write(' fl = True\n');   
	 document.write(' End If\n');                  
	 document.write('</SCRIPT\> \n');    
	}     
	var dl=document.location;
	if(fl){  // flash
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=6,0,0,0" ID=intro3 WIDTH=599 HEIGHT=98>');
	document.write('<PARAM NAME=movie VALUE="/images/'+cityPrefix+'/'+season+'.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE='+bgcol+'>');
	document.write('<EMBED src="/images/'+cityPrefix+'/'+season+'.swf" quality=high bgcolor='+bgcol+'  WIDTH=599 HEIGHT=98 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>');
	} else { // no flash
	document.write('<img src="/images/'+cityPrefix+'/'+season+'.'+fext+'" alt="'+SiteName+'" width="599" height="98" border="0">');
	};
};



function showFlash2(ffile,w,h,bgcol,text,url)
{
	var fl = true; 
	if((navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0)&&(parseFloat(navigator.appVersion)>=4)&&(navigator.userAgent.indexOf("Windows")>=0)){
	 document.write('<SCRIPT LANGUAGE=VBScript\> \n');   
	 document.write(' on error resume next \n');   
	 document.write(' var Flashmode\n');   
	 document.write(' FlashMode = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash"))\n'); 
	 document.write(' If FlashMode = True Then\n');        
	 document.write(' fl = True\n');   
	 document.write(' End If\n');                  
	 document.write('</SCRIPT\> \n');    
	}     
	var dl=document.location;
	if(fl){  // flash
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=6,0,0,0" ID=intro3 WIDTH='+w+' HEIGHT='+h+'>');
	document.write('<PARAM NAME=movie VALUE="'+ffile+'.swf?a=2"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE='+bgcol+'>');
	document.write('<EMBED src="'+ffile+'.swf?a=2" quality=high bgcolor='+bgcol+'  WIDTH='+w+' HEIGHT='+h+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>');
	} else { // no flash
	document.write('<a href="'+url+'" target="_top"><img src="'+ffile+'.gif" alt="'+text+'" width="'+w+'" height="'+h+'" border="0"></a>');
	};
};
