function informUser(strMessage, strUpgradeURL) {
	if(confirm(strMessage)){
		if(strUpgradeURL=='BAD'){
		}
		else{
			window.location=strUpgradeURL;
		}		
	}
}
var MessageText,fltBrowserVersion
if (navigator.userAgent.indexOf('AOL') != -1) {
//	MessageText="Warning! This website will not work properly with the AOL web browser.\nThis website was designed for use with Internet Explorer 6 and Netscape Navigator 8.\n\nTo access this website, keep AOL open, start either Internet Explorer or Netscape Navigator, and access our website with that browser."
	//MessageText="Warning!  This website works with AOL 9.0 only if the Internet Explorer critical update KB831167 (released on 7 Feb 04) has been installed.\n\nTo check for and install Windows updates, keep AOL open and then start Internet Explorer.  Select the Windows Update option from the Tools menu, then scan for updates."
//	alert(MessageText)
	
	/*
	fltBrowserVersion=navigator.userAgent.substr(navigator.userAgent.indexOf('AOL')+4,3)
	if(fltBrowserVersion<9.0){
		MessageText="Warning! Your version of AOL (version "+fltBrowserVersion+") will not work properly with this website.\n\nThis website was designed with features available in AOL 9.0 (and higher).\n\nClick the OK button to upgrade your browser\n\nClick the Cancel button to continue browsing."
		informUser(MessageText, 'http://www.aol.com/aol_downloads.adp')
		}
	*/
}else
if (navigator.userAgent.indexOf('Firefox') != -1) {
/*	MessageText="WARNING! Your web browser may not work properly with this website.\n\nThis website was designed with features available in Internet Explorer 6.0 (and higher) or Netscape Navigator 8.0 (and higher). Please use one of these web browsers."
	informUser(MessageText, 'BAD') */
}
else if (navigator.appName.indexOf('Wal-Mart') != -1) {
//	MessageText="Warning! This website will not work properly with the Wal-Mart Connect web browser.\nThis website was designed for use with Internet Explorer 6 and Netscape Navigator 8.\n\nTo access this website, keep Wal-Mart Connect open, start either Internet Explorer or Netscape Navigator, and access our website with that browser."
//	alert(MessageText)
}
else if (navigator.appName.indexOf('Netscape') != -1) {
//	fltBrowserVersion=navigator.userAgent.substr(navigator.userAgent.indexOf('Netscape/')+9,3)
//	if(fltBrowserVersion<8.0){
//		MessageText="Warning! Your version of Netscape Navigator (version "+fltBrowserVersion+") will not work properly with this website.\n\nThis website was designed with features available in Netscape Navigator 8.0 (and higher).\n\nClick the OK button to upgrade your browser\n\nClick the Cancel button to proceed without upgrading."
//		informUser(MessageText, 'http://channels.netscape.com/ns/browsers/download.jsp')
//	}
}
else if (navigator.appName.indexOf('Microsoft') != -1) {
//	fltBrowserVersion=navigator.userAgent.substr(navigator.userAgent.indexOf('MSIE')+5,3)
//	if(fltBrowserVersion<6.0){
//		MessageText="Warning! Your version of Internet Explorer (version "+fltBrowserVersion+") will not work properly with this website.\n\nThis website was designed with features available in Internet Explorer 6.0 (and higher).\n\nClick the OK button to upgrade your browser\n\nClick the Cancel button to proceed without upgrading."
//		informUser(MessageText, 'http://www.microsoft.com/windows/ie/downloads/critical/ie6sp1/download.asp')
//	}
}
else {
//	MessageText="WARNING! Your web browser may not work properly with this website.\n\nThis website was designed with features available in Internet Explorer 6.0 (and higher) or Netscape Navigator 8.0 (and higher). Please use one of these web browsers."
//	informUser(MessageText, 'BAD')
}
