/* SS_TYPE : SB */
(function (w) {
"use strict";
// update this s_account variable to be a Y Constant and then update s_code.js after we get everypage on the new templates.
var s_account = "cbsnfl,nflglobal",
cfg = w.YUI_config || {},
NFL_config = w.NFL_config = w.NFL_config || {},
i, l,
nfl = w.nfl || {};
nfl.constants = {
ASSET_VERSION: "3.11",
IMAGE_PATH: "http:\/\/i.nflcdn.com\/static\/site\/3.11",
STYLE_PATH: "http:\/\/s.nflcdn.com\/static\/site\/3.11",
SCRIPT_PATH: "http:\/\/s.nflcdn.com\/static\/site\/3.11",
FLASH_PATH: "http:\/\/flash.static.nfl.com\/static\/site\/3.11",
ENV: "PROD",
ID_MANAGER: "https:\/\/id2.s.nfl.com",
ECM_IMAGE_PATH: "http:\/\/static.nfl.com\/static\/content\/",
SEARCH_DOMAIN: "search.nfl.com",
SITELIFE_URL: "http:\/\/pluck.nfl.com",
SITE_URL: "http:\/\/www.nfl.com",
FANTASY_DOMAIN: "http:\/\/fantasy.nfl.com",
FANTASY_API: "http:\/\/api.fantasy.nfl.com",
PLAYOFF_CHALLENGE_DOMAIN: "http:\/\/challengegames.nfl.com",
FACEBOOK_APP_ID: "108273802559405",
TWITTER_ID: "DkWLqcP3j8i9wHuJ7fiw",
YUI_ENABLED: true,
YUI_DOMAIN: "http:\/\/s.nflcdn.com\/yui\/min\/index.php?b=yui3&f=",
YUI_DEPLOY_URL: "http:\/\/s.nflcdn.com\/yui",
ET_OFFSET: (function () {
var offset = ("-0500").match(/([\+\-]\d\d)(\d\d)/),
hours = parseInt(offset[1], 10),
minutes = parseInt(offset[2], 10);
return (hours + (minutes / 60)) * 60 * 60 * 1000;
}()),
ANALYTICS: s_account,
GIGYA_CONF: {
APIKey: "2_kMCvXUlFCZJhwaNXbxzePaXPYb9T__rgiF5y7EnWuEM5a84cueVv-MkPRKjVFc31",
enabledProviders: "facebook,twitter,google,yahoo,messenger",
facebookExtraPermissions: "offline_access",
cid: w.location.pathname.substr(0, 100),
shortURLs: "whenRequired",
sessionExpiration: 0
},
SS_TYPE: 'SB'
};
// TODO: remove compatibility layer
nfl.global = nfl.global || {};
for (i in nfl.constants) {
if (nfl.constants.hasOwnProperty(i)) {
nfl.global[i] = nfl.constants[i];
}
}
cfg.comboBase = "http://s.nflcdn.com/yui/min/index.php?b=yui3&f=";
cfg.comboSep = ",";
cfg.combine = true;
cfg.maxURLLength = 1000;
NFL_config.base = nfl.constants.SCRIPT_PATH + '/scripts/';
NFL_config.combine = false;
cfg.groups = cfg.groups || {};
cfg.groups.nfl = NFL_config;
if (w.location.search.indexOf('COMBO') >= 0) {
NFL_config.base = nfl.constants.SCRIPT_PATH + '/scripts/';
NFL_config.combine = true;
NFL_config.comboBase = "http://s.nflcdn.com/ncmb/min/index.php?nafp=2011122002&b=assets/site/3.11/scripts&f=";
NFL_config.comboSep = ",";
NFL_config.root = "";
NFL_config.filter = {
'searchExp': "\\.js",
'replaceStr': "-min.js"
}
}
if (w.location.search.indexOf('DEBUG') >= 0) {
cfg.combine = false;
cfg.filter = 'raw';
NFL_config.combine = false;
NFL_config.filter = 'raw';
delete cfg.comboBase;
delete NFL_config.comboBase;
}
w.nfl = nfl;
w.YUI_config = cfg;
w.s_account = s_account;
if (w.dependencyQueue) {
for (i = 0, l = w.dependencyQueue.length; l > i; i += 1) {
w.dependencyQueue[i]();
}
w.dependencyQueue.length = 0;
}
}(window));
(function () {
var nfl = window.nfl || {};
nfl.partner = nfl.partner || {};
nfl.partner.createHead = function () {
document.write("\n\t\n\t\n\t\n\t\n\t\n\t