if (navigator.userAgent.indexOf('Mac') >-1) {
	alert("We have detected that you are a Mac user.  We are presently developing functionality that will make this Media Player more Mac friendly.  If you have problems viewing this media, we appologize.\n\n_____________________________________________\n\nYour feedback is essential to helping us improve our service\n\n Please email us at customerservice@getstreaming.com with any suggestions.");
}

if (navigator.userAgent.indexOf('Opera') != -1) {
	alert("We have detected that some of the functions built into our\nMedia Player may not work properly with your browser.\n\nThis Media Player is best viewed with Internet Explorer 5.0 (or higher) and Netscape 7.1 (or higher).\n\nHERE'S AN EASY GETSTREAMING.COM WORK AROUND:\n\nIf your browser is Opera, right-click on the video\nscreen and you will get a list of active player controls.\n\n_____________________________________________\n\nYour feedback is essential to helping us improve our service\n\n Please email us at customerservice@getstreaming.com with any suggestions.");
}

function EventLoader()
{
	var ns4=document.layers;
	var ns6=document.getElementById&&!document.all;
	var ie4=document.all;


	var appName = navigator.appName;
	var agt=navigator.userAgent.toLowerCase();
	var appVer = navigator.appVersion.toLowerCase();

	var is_firefox = (agt.indexOf("firefox") != -1);
	var is_netscape72 = (agt.indexOf("netscape/7.2") != -1);
	var is_netscape71 = (agt.indexOf("netscape/7.1") != -1);

	//alert(appName);
	//alert(agt);
	//alert(appVer);

	if(appName == "Microsoft Internet Explorer")
	{
		var bControl = true;
	}
	else if((is_netscape72) || (is_netscape71))
	{
		var bControl = true;
	}
	else if(is_firefox)
	{
		alert('We have detected that you may be using Firefox as your browser.\n\nDue to several Windows/Firefox compatibility issues, this player may not function correctly with your browser.  We are currently working on scripting to resolve this issue.\nFor your convenience, you may click on the button marked with a + sign to bypass our player.  Your media should play in the traditional Windows Media Player.  If it does not, you may have to install the ActiveX plug-in.  \n\n_____________________________________________\n\nNote: Internet Explorer 5.0 (or higher) and Netscape 7.1 (or higher) support this plug-in by default.');
	}
	else
	{
		alert('We have detected that some of the functions built into our Media Player may not respond properly to your browser.  This Media Player is best viewed with Internet Explorer 5.0 and Netscape 7.1 (or higher).\n\nHERE ARE THREE TEMPORARY WORK-AROUNDS YOU CAN TRY:\n\n1. If you can see the + player button, click it to bypass our player.\n\n2. You may be able to play or pause the video by clicking on the video screen.\n\n3. Right-click on the video screen.  Some browsers will provide you with a menu of active player controls.\n\nIf none of the above help, please update to an approved browser.\n\n_____________________________________________\n\nYour feedback is essential to helping us improve our service.\n\nPlease email us at customerservice@getstreaming.com with any suggestions.');
		document.top.close();
		//if (ns6)
		//{

			// Forward the user to the help page for Netscape-WMP conflicts
			//top.opener.window.location='/article/view/1783/';
		//}
		//else
		//{
		//	var divPlayer = document.divVideo1;
		//	var plugIn = divPlayer.document.video1;
		//	bControl = false;
			   // The following line of code registers the PlayStateChange event
			   // in the appObs applet, so that when a PlayStateChange event occurs,
			   // the appObs Applet sends the appropriate callback method.
		//	document.appObs.setByProxyDSPlayStateChangeObserver(plugIn,true);
		//	document.appObs.setByProxyDSBufferingObserver(plugIn,true);
		//}
	}
}
//alert(window.onload);
//window.onload = new Function("EventLoader(); IV = setInterval('checkVideo();', 500);");
window.onload = new Function("EventLoader();");
//alert(window.onload);


