//<![CDATA[
function bsdetect()
{
	// IE flash detection.
	for(var i=9; i>0; i--)
	{
		flashinstalled = 0;
		try
		{
			var flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + i);
			flashinstalled = 2;
			break;
		}
		catch(e)
		{
			x = navigator.mimeTypes['application/x-shockwave-flash'];
			if (x && x.enabledPlugin)
			{
				flashinstalled = 2;
			}
			else
			{
				flashinstalled = 1;
			}
		}
	}

	document.getElementById('fvers').value = flashinstalled;
	if( screen.width > 0 )
	{
		document.getElementById('resxadd').value = screen.width;
		document.getElementById('resyadd').value = screen.height;
	}
	else
	{
		document.getElementById('resxadd').value = 'ie';
	}
}
//]]>

