//
// JavaScript codes by Sebastien Dartevelle <sebastien@granular-volcano-group.org> June 13th, 2001.
// <http://www.granular-volcano-group.org> Granular Volcano Group.
//
//Please, email-me, if you wanna copy these codes <sebastien@granular-volcano-group.org>
//I have no problem to share but simply ask before!
//
//
<!--
var browserList = new Array( 'microsoft internet explorer', 'netscape', 'mozilla', 'opera' , 'compuserve' );
var browserCode = new Array( 'ie', 'ns', 'mz', 'opera' , 'aol' );
//var osList = new Array( 'mac', 'win', 'nix', 'lin', 'sunos' , 'solaris' );
function browserDetect()
{
	this.flavor = "??";

	for( var i = 0; i < browserList.length; i++ )
	{
		if( navigator.appName.toLowerCase().indexOf( browserList[i] ) != -1 )
		{
			this.flavor = browserCode[i];
		}
	}
	if( this.flavor == 'ie' )
	{
		this.version = navigator.appVersion.charAt(navigator.appVersion.indexOf( 'IE' ) + 3);
//	   if (this.version<5) {
//                alert("Your Internet Explorer Browser version is: " + this.version + "\nThis is completely outdated!" + "\nYou will have problems to display this website correctly." + "\nPlease, download the latest version of Internet Explorer (see bottom of this page)." + "\nThanks.");
//                             }
	}
	else if( this.flavor == 'ns' )
	{
		this.version = navigator.appVersion.charAt( 0 );
//	   if (this.version<5) {
//              alert("Your Netscape Browser version is: Mozilla/" + this.version + "\nThis is completely outdated!" + "\nYou will have problems to display this website correctly." + "\nPlease, download the latest version of Netscape (see bottom of this page)." + "\nThanks.");
//                             }
        }
	this.platform = "???";
	this.platform = navigator.platform;
//	for ( var i = 0; i < osList.length; i++ )
//	{
//		if( navigator.appVersion.toLowerCase().indexOf( osList[i] ) != -1 )
//		{
//			this.platform = osList[i];
//			break;
//		}
//	}	

	this.toString = BDtoString;
	return( this );
}
function BDtoString()
{
	return( this.flavor + this.version + ':' + this.platform );
}
browser = new browserDetect();
// -->
<!--
function display() {
window.onerror=null;
colors = window.screen.colorDepth;
document.form.color.value = Math.pow (2, colors);
if (window.screen.fontSmoothingEnabled == true)
document.form.fonts.value = "Yes";
else document.form.fonts.value = "No";
document.form.navigator.value = navigator.appName;
document.form.version.value = navigator.appVersion;
document.form.colordepth.value = window.screen.colorDepth;
document.form.width.value = window.screen.width;
document.form.height.value = window.screen.height;
document.form.maxwidth.value = window.screen.availWidth;
document.form.maxheight.value = window.screen.availHeight;
document.form.codename.value = navigator.appCodeName;
document.form.platform.value = navigator.platform;
if (navigator.javaEnabled() < 1) document.form.java.value="No";
if (navigator.javaEnabled() == 1) document.form.java.value="Yes";
// if(navigator.javaEnabled()  && (navigator.appName != "Microsoft Internet Explorer")) 
// {
// vartool=java.awt.Toolkit.getDefaultToolkit();
// addr=java.net.InetAddress.getLocalHost();
// host=addr.getHostName();
// ip=addr.getHostAddress();
// alert("Your host name is " + host + "\nYour IP address is " + ip);
// }
}
// -->
