ver = null;
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
frNum = parent.frames.length;

if (frNum > 1) ver = "x";
else if (bName == "Netscape" && bVer < 4) ver = "3";
else if (bName == "Netscape" && bVer >= 4) ver = "4";
else if (bName == "Microsoft Internet Explorer" && bVer >= 4) ver = "4";

if (ver == "4")
	{
	document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER=NO BORDER=0>' +
    	           '<FRAME NAME="real" SRC="frames.html" SCROLLING=AUTO>' +
        	       '</FRAMESET></HEAD>');
	} 

if (ver == "3")
	{
	alert('Funk\'s UAB Sports works best with:\n\n - Netscape Navigator 4.x\n - Microsoft Internet Explorer 4.x');
	document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER=NO BORDER=0>' +
				   '<FRAME NAME="real" SRC="frames.html" SCROLLING=AUTO>' +
                   '</FRAMESET></HEAD>');
	}

if (ver == "x")
	{
	alert('You are trapped in a frame.\nFunk\'s UAB Sports cannot be loaded into a frame.' +
		  '\n\nPlease click OK, then follow the instructions.' );
	}