//2007 gamewatcher edition
function openGWViewer(eventID, sportID, theHeight, theOEM) {
        var theURL;
        var theWidth = 1070;
        var theToolbarLine;
        var addToURL="KEY=" + "&DB_OEM_ID=" + theOEM +
                "&DB_ACCOUNT_TYPE=USER" +
                "&GAME_STAT_ID=" + eventID +
                "&SPORT_ID=" + sportID;

        var theBaseServer = "";

        theURL = theBaseServer + "/liveStats/gamewatcher.dbml?" + addToURL;

        theToolbarLine = "toolbar=no,location=no,menubar=no,status=yes,scrollbars=yes,resizable=yes," +
                "width=" + theWidth + "," + "height=" + theHeight;
        var windowName = "GAME_STAT_ID_" + theOEM + "_" + sportID;
        var newWindow = window.open(theURL,
                windowName,
                theToolbarLine);
        if(isNullWindow(newWindow) === true)
        {
                return;
        }
        newWindow.focus();
        return false;
}


