<!--Generated with InsertFile.tea on 54 7, 05 11:54 AM in section outdoors -->
    browser = navigator.appName;
    ie = "Microsoft Internet Explorer";
    netscape = "Netscape";
    os = navigator.platform;
    mac = 'MacPPC'

    if (browser == netscape && os != mac) {
        document.write('<link rel="stylesheet" type="text/css" href="http://espn.go.com/insertfiles/css/outdoors/pcnn.css" title="master">');
        }
    else if (browser == ie && os != mac) {
        document.write('<link rel="stylesheet" type="text/css" href="http://espn.go.com/insertfiles/css/outdoors/pcie.css" title="master">');
        }
    else if (browser == netscape && os == mac) {
        document.write('<link rel="stylesheet" type="text/css" href="http://espn.go.com/insertfiles/css/outdoors/macnn.css" title="master">');
        }
    else if (browser == ie && os == mac) {
        document.write('<link rel="stylesheet" type="text/css" href="http://espn.go.com/insertfiles/css/outdoors/macie.css" title="master">');
        }
    else  {
        document.write('<link rel="stylesheet" type="text/css" href="http://espn.go.com/insertfiles/css/outdoors/pcie.css" title="master">');
        }

    function gotosite(site) {
        if(site != "") {
            self.location=site;
        }
    }

    function search() {
       // if(document.seeklight.rq.selectedIndex == 1) {
       //     document.seeklight.action = "http://apps.espn.go.com/keyword/lookup";
       // } 
	 if(document.seeklight.rq.selectedIndex == 2) {
            document.seeklight.action = "http://search.espn.go.com/query.html";
       }

    }

    function launchWindow(url, name, width, height) {
        var x = 0;
        var y = 0;
        if(navigator.appVersion.length > 0 && navigator.appVersion.charAt(0) > '3' && navigator.appVersion.charAt(0) <= '9') {
            if(width > screen.availWidth - 12) {
                width = screen.availWidth - 12;
            }
            if(height > screen.availHeight - 48) {
                height = screen.availHeight - 48;
            }
            x = (screen.availWidth - 12 - width) / 2;
            y = (screen.availHeight - 48 - height) / 2;
        }
        var params =  "status=1,scrollbars=1,resizable=1,screenX=" + x + ",screenY=" + y + ",width=" + width + ",height=" + height + ")";
        var windowvar = window.open(url, name, params);
    }

        function launchGameCast(sport,hteam,season,date) {
            window.name = "_gamecast";
            var url = "http://scores.espn.go.com/cgi/gamecast/"+sport+"/index.asp?season="+season+"&date="+date+"&hteam="+hteam+"&live=true";
            var name = "gamecast_" + hteam;
            launchWindow (url, name, 650, 625);
        }
