function testResolution ()
{
	var cmdstr = "location.href='login.cfm";
	if ((screen.width == 640) && (screen.height == 480)) 
	{
		alert ("Screen resolution of 640x480 is not supported. 800x600 size will be used instead.");
		cmdstr +="?res="+800;
		cmdstr +="'";
		eval (cmdstr);
	}
	else if ((screen.width == 800) && (screen.height == 600))
	{
		cmdstr +="?res="+800;
		cmdstr +="'";
		eval (cmdstr);
	}
	else if ((screen.width == 1024) && (screen.height == 768))
	{
		cmdstr +="?res="+1200;
		cmdstr +="'";
		eval (cmdstr);
	}
}