/*
	This bit of wonderfulness is thanks to Microsoft losing a lawsuit regarding ActiveX controls embedded in their browser.
	JavaScript writes allow users to interact with the control without clicking on it to 'activate' it.
*/

// make sure the browser is using at least Flash Player 8.0.0
if (DetectFlashVer(8, 0, 0))
{
	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='468' height='120' id='WeatherApp' align='middle'>" +
				"<param name='allowScriptAccess' value='sameDomain' />" +
				"<param name='movie' value='http://acequia.ccrfcd.org/weatherapp/WeatherApp.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='http://acequia.ccrfcd.org/weatherapp/WeatherApp.swf' quality='high' bgcolor='#ffffff' width='468' height='120' name='WeatherApp' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />" +
				"</object>");
}
else
{
	// not the correct version or no Flash; use the Weather Underground link
	document.write("<a href='http://www.wunderground.com/US/NV/Las_Vegas.html?bannertypeclick=big2'><img src='http://banners.wunderground.com/weathersticker/big2_both_cond/language/www/US/NV/Las_Vegas.gif' alt='Click for Las Vegas, Nevada Forecast' width=468 height=60 hspace='3' vspace='3' border=0></a><br>NOTE: To view the RFCD Forecast Application,<br>you will need the latest version of the Flash Player.<br><div ><a href='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' target='_blank'>Download the Adobe Flash Player</a></div>");
}
