<!--

	// Purpose		: To determine user's computer video mode
	//				: if video mode <= 800, use stylesheet.css
	//				: else use stylesheet_high.css

	var cssFilePath = new String;

	if (path == 1) {
		cssFilePath = "";						// e.g. for main_menu.asp
	} else if (path == 2) {
		cssFilePath = "../../../";				// e.g. for App/lines/linesinfo_line.asp
	} else if (path == 3) {
		cssFilePath = "../../";					// e.g for netsports.asp
	} else if (path == 4) {
		cssFilePath = '<%=Application("pathNetSportsS")%>';	// e.g for HTTPS login.asp
	} else if (path == 5) {
		cssFilePath = "../../../../";
	}
	
	var agt = navigator.userAgent.toLowerCase();
	var is_major	= parseInt(navigator.appVersion);
	var is_minor	= parseFloat(navigator.appVersion);
    var is_nav		= ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
		            && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
			        && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));

	if (is_nav && (is_major <= 3)) {
		document.write('<link rel="stylesheet" type="text/css" href="' + cssFilePath + '_shared/css/stylesheet_high.css">');
	} else {
		// netscape 3 or less won't support 'window.screen.width' javascript function
		if (window.screen.width > 800) {
			document.write('<link rel="stylesheet" type="text/css" href="' + cssFilePath + '_shared/css/stylesheet_high.css">');
		} else {
			document.write('<link rel="stylesheet" type="text/css" href="' + cssFilePath + '_shared/css/stylesheet.css">');
		}
	}

//-->



