var colors  = ""
var depth   = ""
var cookies = ""
var script  = ""
var appver  = ""
var theText = ""

// color check - must be at least 256
if( self.screen )
{
	// for N4 and E4 only
	colors = screen.pixelDepth
	? Math.pow( 2, screen.pixelDepth ) // in N4
	: Math.pow( 2, screen.colorDepth ) // in E4
}
else 
{ 
	// can't check colors - assume ok
	colors = 256 
}

if( (colors) < 256 ) 
{
	alert("This application has been designed for at least 256 colors.\nPlease change your color settings under SETTINGS, COLORS (in windows, right click on deskptop).\n\n")	
}

// screen size
if( self.screen ) 
{
	// for NN4 and IE4
	nwidth = screen.width
	// Testing this first prevents firing the slow Java of NN4
}
else if( self.java )
{
	// for NN3 with enabled Java
	var jkit = java.awt.Toolkit.getDefaultToolkit();
	var scrsize = jkit.getScreenSize();       
	nwidth = scrsize.width; 
}
else 
{
	nwidth = '800' // N2, E3, N3 w/Java off, probably Opera and WebTV
}

if( (nwidth) < 800 )
{
	alert("This application has been developed for at least 800X600 screen resolution.\n Please review your settings: in Windows, right click on desktop\n\n")
}

if( parseInt(navigator.appversion) < 4 ) 
{
	alert("The application has been designed for browsers version 4 or higher.\nYour browser appears to be an earlier version.\nPlease download an updated version of your favorite browser before proceeding.\n\n")
} 

