//DHTML LIB JS GMM
//Created on 5-11-2001
//Non-object oriented version
//Basic Browser Sniffing

//Featured browsers: NN 4.0+, NN6.0+, IE5.0+

//Requires: -

/*Description:
Script for -very- rudimentary browser sniffing. Designed for use with the gmm_dhtml.js library.
Checking is based on the DHMTL interface, this interface does not neccesarily reflect the browser
name and version as reported by the navigator object. Script should be extended for use with future,
standard compliant browsers, and should also include checking on reported name and version by the
navigator object.
*/


bIsNN4 = 0;
bIsNN6 = 0;
bIsIE5 = 0;
bIsUnknown = 0;


if(document.layers)
	bIsNN4 = 1;
else if(document.all)
	bIsIE5 = 1;
else if(document.getElementById)
	bIsNN6 = 1;
else
	bIsUnknown = 1;