| Page Cache ".sto file" (273 elements):
[ # ARRAY with 273 elements
{ # HASH with 3 keys
data => { # HASH with 14 keys
ads_banner => 'dart',
ads_imu => 'dart',
ads_skyscraper => 'dart',
ads_slam => 'dart',
ads_xxl => 'dart',
arena => 'other',
dart_site => 'ncaasports.com',
dw_onid => '19539',
dw_siteid => '188',
feat_title => '2010 NCAA March Madness on Demand',
logo => 'none',
meta_description => '<meta name="description" content="Countdown to the 10 best NCAA March Madness games of the decade." />',
meta_title => '<meta name="title" content="2010 NCAA March Madness on Demand" />',
url_privacy_policy => 'http://www.ncaa.com/ot/privacy-policy.html',
},
source => '/spln/src/media/mmod/CONFIG.ref',
type => 'ref',
},
{ # HASH with 3 keys
frame => '0',
source => '/video/player/index',
type => 'new_frame',
},
{ # HASH with 3 keys
data => { # HASH with 6 keys
feat_title => 'NCAA March Madness on Demand',
feature => 'mmod_video',
historical_mode_only => '0',
selectionshow_date => '20090315',
selectionshow_mode_only => '0',
test_date => '20030801',
},
source => '/spln/src/media/mmod/video/player/index.ref',
type => 'ref',
},
{ # HASH with 3 keys
data => { # HASH with 1 keys
CACHE_OVERRIDE => '1',
},
source => '/spln/src/media/mmod/video/player/index.ref',
type => 'gref',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/video/player/index.pl',
pack => 'mmod::video::player::index',
source => '/spln/src/media/mmod/video/player/index.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'feat_title',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'var',
},
{ # HASH with 3 keys
data => ' - mmod.NCAA.com</title>
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/style',
type => 'new_frame',
},
{ # HASH with 3 keys
data => '<style type="text/css">
body {
background: #FFF url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/bg_video_arena.jpg) no-repeat top left;
margin:0px;padding:0px;
font-family:arial, helvetica, sans-serif;font-size:10px;font-weight:normal;color:#000000;line-height: 12px;
}
/* ',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'renv',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => ' debug section */
#debugInfo {position:absolute;top:700px;left:5px;}
/* debugger window */
#playerDebug {position:absolute;top:10px;left:1005px;width: 500px;height:600px;z-index:1;display:none;}
/* debugger window */
#playerDebug {position:absolute;top:10px;left:1005px;width: 500px;height:600px;z-index:1;}
h3 {font-size: 12px; font-weight: bold; margin: 5px 0px; position: relative;}
h1 {font-size: 18px; font-weight: bold; margin: 15px 0px;}
input {margin-bottom: -2px;}
.absRight {position: absolute; right: 0px;}
#logDiv {background-color: #dddddd; margin: 0px 0px 20px; padding: 2px; width: 100%; height: 300px; overflow: auto; border: 1px solid #000000;}
#scLogDiv {background-color: #dddddd; margin: 0px 0px 20px; padding: 2px; width: 100%; height: 100px; overflow: auto; border: 1px solid #000000;}
.logMessage {color: #444444; padding: 3px; background-color: #ffffff;}
.logHead {font-weight: bold; font-size: 11px; border-bottom: 1px solid #000000;}
.logFoot {border-top: 1px solid #000000;}
.sources {border: 1px solid #dddddd; width: 100%; padding: 5px; margin: 0px 0px 20px; }
.srcCustom {margin: 8px;}
#srcCustom {font-family: arial; font-size: 10px; color: #000000; line-height: 12px; width: 300px;}
#srcCustomSend {font-family: arial; font-size: 10px; color: #000000; line-height: 12px; padding: 0px;}
div.spacer5{font-size:5px;line-height:5px;}
#position-slider-bg {
position:absolute;
top:590px;
left:197px;
width:260px;
height:28px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/bg-position.gif) 0px 0 no-repeat;
overflow:hidden;
z-index:10;
border:0;
}
#volume-slider-bg {
position:absolute;
top:590px;
left:550px;
width:80px;
height:28px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/bg-position.gif) 0px 0 no-repeat;
overflow:hidden;
z-index:10;
border:0;
}
#position-slider-bg:focus, #volume-slider-bg:focus{outline:none;} /* turn off focus border around slider background when button is selected */
#volume-slider-thumb, #position-slider-thumb {
position:absolute;
top:8px;
cursor:pointer;
width:18px;height:11px;
background-image:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png);background-repeat:no-repeat;
background-position: -180px -360px;}
}
/* the entire play area */
#playerBody{width:1000px;height:630px;top:1px;left:1px;}
#inactiveCheck{
position:absolute;
top:213px;left:158px;z-index:4;
width:640px;height:360px;
visibility:hidden;
}
#myPlayer {
position:absolute;
top:213px;left:158px;z-index:2;
width:640px;height:360px;
background: #FFF url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/slate-welcome.jpg) no-repeat top left;
}
#myPlayerSlate {
position:absolute;
top:213px;left:158px;z-index:1;
width:640px;height:360px;
background: #FFF url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/slate-welcome.jpg) no-repeat top left;
}
#myInfo {
position:absolute;
top:607px; left:200px;
width:240px; height:12px;
z-index:11;
text-align:left;
}
#myVolumeInfo {
position:absolute;
top:607px; left:553px;
width:85px; height:12px;
z-index:11;
text-align:left;
}
#playStateCnt, #myText, #myVolumeInfo {
font-family:arial,helvetica,sans-serif;
font-weight:bold;
font-size:11px;
line-height:15px;
text-transform:uppercase;
color:#387cbb;}
#myText {
text-align:right;
display:none;
}
#bossSponsor{
position:absolute;
top:195px;left:560px;
width:47px;height:12px;
}
#playerControls {
position:absolute;
top:596px;left:157px;
width:475px;height:25px;
padding: 0px; display:block;
}
#playerPlayStop a{
position:absolute;
top:1px;left:1px;
width:30px;height:22px;
background-image:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png);background-repeat:no-repeat;
}
a#play-button{background-position: -0px 0px;}
a#play-button:hover{background-position: -60px 0px;}
a#stop-button{background-position: -0px -40px;}
a#stop-button:hover{background-position: -60px -40px;}
a#pause-button{background-position: -120px -40px;}
a#pause-button:hover{background-position: -180px -40px;}
#playerFullScreen a{
position:absolute;
top:1px;left:313px;
width:30px;height:22px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat -120px 0px;
}
a#fullscreen-button{background-position: -120px 0px;}
a#fullscreen-button:hover {background-position: -180px 0px;}
#playerMute a {
position:absolute;
top:1px;left:354px;
width:30px;height:22px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat 0px -80px;
}
a#mute-button{background-position: 0px -80px;}
a#mute-button:hover{background-position: -60px -80px;}
a#unmute-button{background-position: -120px -80px;}
a#unmute-button:hover{background-position: -180px -80px;}
#controlsCnt {
position:absolute;
top:645px;left:165px;
width:300px;height:21px;
padding: 0px;
display:block;
}
#controlsCnt .myButton {
float:left;
height: 21px;
margin: 2px;
}
#adCnt {position:absolute;left:829px;top:14px;width:160px;height:620px;}
#playerButtons {
position:absolute;
top:186px;left:607px;
width:200px;height:25px;
}
#playerButtons a{width:82px;height:25px;}
#bossButton a{
position:absolute;
top:0px; left:1px;
width:82px; height:25px;
background-image:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png);
background-position: 0px -200px;
background-repeat:no-repeat;
}
a#boss-button:link {width:82px; height:25px;background-position: 0px -200px;}
a#boss-button:hover{width:82px; height:25px;background-position: -120px -200px;}
#shareButton a{
position:absolute;
top:0px; left:90px;
width:56px; height:26px;
background-image:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png);
background-position: -120px -120px;
background-repeat:no-repeat;
}
a#share-button:link {width:56px; height:26px;background-position: -120px -120px;}
a#share-button:hover{width:56px; height:26px;background-position: -180px -120px;}
#shareBoxi{
position:absolute;
top:-100px;left:80px;
background-color:#fff;
border:1px solid #636363;
visibility:hidden;
z-index:50;
}
#shareBoxiBorder{
padding:4px;
width:78px;
background-color:#fff;
border:2px solid #d5d5d5;
}
#shareBoxiBorder a{
width:80px;height:20px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/share-buttons-flat.png) no-repeat 0 0;
display:block;
}
a#share-facebook {background-position: 0 0;}
a#share-facebook:hover {background-position: -90px 0;}
a#share-delicious {background-position: 0 -30px;}
a#share-delicious:hover {background-position: -90px -30px;}
a#share-digg {background-position: 0 -60px;}
a#share-digg:hover {background-position: -90px -60px;}
a#share-yahoo {background-position: 0 -150px;}
a#share-yahoo:hover {background-position: -90px -150px;}
.knob{
position:absolute;
top:90px;
left:25px;
width:21px;
height:12px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/share-buttons-flat.png) no-repeat -180px -90px;
}
#helpButton a{
position:absolute;
top:0px;left:153px;
width:42px;height:26px;
background-image:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png);
background-position: 0px -120px;
background-repeat:no-repeat;
}
a#help-button:link {width:42px;height:26px;background-position: 0px -120px;}
a#help-button:hover{width:42px;height:26px;background-position: -60px -120px;}
#HQButton{
position:absolute;
top:592px;left:636px;
width:163px;height:32px;
}
#HQButton a{
position:absolute;
top:0px;left:0px;
width:163px;height:32px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat 0px -280px;
}
a#hq-button:hover{background-position: 0px -320px;}
#remindButton{
position:relative;
width:140px;height:20px;
}
#remindButton a{
position:absolute;
top:0px;left:0px;
width:140px;height:20px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat 0px -360px;
}
a#remind-button:hover{background-position: 0px -400px;}
div#facebook-icon{
width:18px;height:16px;
display:inline;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/share-buttons-flat.png) no-repeat -3px -2px;
}
#gamesPullDown{
position:absolute;
top:200px;left:2px;
width:150px; height:20px;
font-family:arial, helvetica, sans-serif;font-size:13px;color:#387cbb;font-weight:bold;line-height:14px;
}
#gamesPullDown span{
padding-left:8px;
}
#gamesPullDown form{
width:150px; height:20px;
}
#gamesPullDown select{
width:135px;
font-family:arial, helvetica, sans-serif;font-size:9px;font-weight:normal;line-height: 10px;
}
/*games_pulldown_option*/
#nowPlayingBox{position:absolute;top:240px;left:8px;width:144px;height:234px;text-align:left;}
#nowPlayingBox {
font-family:arial,helvetica,sans-serif;
font-weight:bold;
font-size:12px;
line-height:15px;
text-decoration:none;
color:#000000;}
#nowPlayingBox .logo {text-align:center;}
#nowPlayingBox .divider {color:#0079C2;}
#nowPlayingBox a:link, #nowPlayingBox a:visited {
font-family:arial,helvetica,sans-serif;
font-weight:bold;
font-size:10px;
line-height:14px;
text-transform:uppercase;
text-decoration:none;
color:#387cbb;
}
#nowPlayingBox a:hover {color:#c51033;}
#ncaaLinks {position:absolute;top:485px;left:8px;width:142px;height:140px;}
#ncaaLinks a:link, #ncaaLinks a:visited {
font-family:arial,helvetica,sans-serif;
font-weight:bold;
font-size:11px;
line-height:16px;
text-transform:uppercase;
text-decoration:none;
color:#0079C2;
}
#ncaaLinks a:hover {color:#c51033;}
#eula a:link,#eula a:visited{
font-size:9px;
text-transform:none;
}
#bossBtnCnt {visibility:hidden; width:840px; height:721px; position:absolute; left:0px; top:0px; cursor:pointer; z-index:58;}
/* performance alerts */
#performanceAlert {position:absolute; top:190px; left:170px; width:386px; height:22px; overflow:hidden; display:none;}
#performanceAlert img#alertSponsorImg {vertical-align:middle;}
#performanceAlert img#alertSponsorTracker {position:absolute; left:-1000px;}
#performanceAlert span#alertText {font:bold 11px Arial, sans-serif; padding-left:5px;}
#performanceAlert span#alertText a:link,
#performanceAlert span#alertText a:active {color:#276098;}
#performanceAlert span#alertText a:visited {color:#618BB5;}
/* scores carousel container */
.scores-carousel-item {
position:absolute;
top:60px;
left:150px;
width:660px;
height:135px;
padding:0px;margin:0px;
display:none;
}
.floatClear {clear:both;}
div.scores-gamestatus {width:140px;}
div.scores-gamestatus span.left { float:left; text-align:left;}
div.scores-gamestatus span.right {float:right; text-align:right;}
.scores-team {width:115px; float:left; line-height:14px;}
.scores-score {width:25px; float:right; display:inline; line-height:14px;}
.scores-score-hide {display:none;}
.scores-links {padding-top:2px; line-height:14px;}
a.scores-textlink {color:#387CBB; text-decoration:none; cursor:pointer; cursor:hand;}
a.scores-textlink:hover {color:#C50E14; cursor:pointer; cursor:hand;}
a.scores-textlink-now-playing {color:#C50E14; cursor:pointer; cursor:hand;}
/* historica highlights carousel container */
#historical-highlights {
position:absolute;
top:60px;
left:150px;
width:660px;
height:135px;
padding:0px;margin:0px;
display:none;
}
.highlights-box .yui-carousel{
visibility:hidden;
overflow:hidden;
}
/* scrolling box container */
.highlights-box .yui-carousel-content{
position:absolute;
top:30px;left:25px;
width:620px;height:100px;
overflow:hidden;
padding:0px;margin:0px;
}
/* srcolling content ordered list */
.highlights-box ol.yui-carousel-element{
position:absolute;
width:26000px;
top:0px;left:0px;
padding:0px;margin:0px;
overflow:hidden;
}
.highlights-box .yui-carousel-element li{
position:relative;
width:150px;height:100px;
float:left;
text-align:left;
list-style:none;
padding:3px;margin:0px;
font-size:11px;
font-weight:bold;
}
.watchNowButton{
position:absolute;
top:60px;left:20px;
width:104px;height:18px;
}
a.watch-now-button {
position:absolute;
top:0px;left:0px;
width:104px;height:18px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat 0px -240px;
cursor:pointer;
overflow:hidden;
}
a.watch-now-button-hover{
position:absolute;
top:0px;left:0px;
width:104px;height:18px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat -120px -240px;
cursor:pointer;
overflow:hidden;
}
a.now-playing-button {
position:absolute;
top:0px;left:0px;
width:104px;height:18px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat -120px -440px;
cursor:pointer;
overflow:hidden;
}
a.now-playing-button:hover {
position:absolute;
top:0px;left:0px;
width:104px;height:18px;
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat -120px -440px;
cursor:pointer;
overflow:hidden;
}
.highlights-box .yui-carousel .yui-carousel-item-selected{
border:0px solid #FFF;
}
.highlights-box .yui-log .carousel{background:#f2e886;}
.highlights-box .yui-carousel-button-focus{outline:0px solid #FFF;}
/* historica highlights carousel navigation */
.highlights-box .yui-carousel-nav ul{
position:absolute;
left:250px;top:10px;
width:250px;height:1px;
text-align:center;
margin:0;padding:0;
}
/* inactive bubble */
.highlights-box .yui-carousel-nav ul li{
float:left;
height:17px;
list-style:none;
}
.highlights-box .yui-carousel-nav ul li a{
background:transparent url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat -180px -280px;
display:block;height:17px;width:17px;
margin:0;padding:0;
overflow:hidden;
}
.highlights-box .yui-carousel-nav ul li a em{left:-10000px;position:absolute;}
/* active bubble */
.highlights-box .yui-carousel-nav ul li.yui-carousel-nav-page-selected a{background-position:-180px -320px;}
/* historica highlights carousel navigation buttons */
/* arrow right: enabled */
/* all buttons */
.highlights-box .yui-carousel-button {
background:url(',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/buttons.png) no-repeat -40px -160px;
width:19px;
height:38px;
cursor:pointer;
overflow:hidden;
}
.highlights-box .yui-carousel-button button {
display:none;
}
/* left pointer*/
.highlights-box span.yui-carousel-first-button {
position:absolute;
top:50px; left:0px;z-index:12;
background-position:0px -160px;
}
.highlights-box span.yui-carousel-first-button-disabled{
position:absolute;
top:50px; left:0px;z-index:12;
background-position:-80px -160px;
}
/* right pointer */
.highlights-box .yui-carousel-button{
position:absolute;
top:50px; left:645px;z-index:12;
background-position:-40px -160px;
}
.highlights-box .yui-carousel-button-disabled {
position:absolute;
top:50px; left:645px;z-index:12;
background-position:-120px -160px;
}
.highlights-box .yui-carousel-button input{background-color:transparent;border:0;cursor:pointer;display:block;visibility:hidden;}
#sponsors {
position:absolute;
top:3px;left:150px;
width:479px;height:40px;
overflow:hidden;
}
#stateFarm {
position:absolute;
top:50px;left:685px;
width:118px;height:21px;
overflow:hidden;
}
#tabLabel{
position:absolute;
top:52px;left:170px;
width:360px;height:15px;
font-family:arial,helvetica,sans-serif;
font-size:13px;
line-height:16px;
font-weight:bold;
text-transform:uppercase;
color:#c50e14;
}
#tabSelect{
position:absolute;
top:5px;left:690px;
width:135px;height:36px;
overflow:hidden;
font-family:arial,helvetica,sans-serif;
font-size:11px;
line-height:16px;
font-weight:bold;
color:#387ccb;
}
#tabSelectLabel {
width:40px;height:36px;
float:left;
}
#tabSelectOptions a{text-decoration:none;color:#387ccb;}
#tabSelectOptions a:hover {color:#c50e14;}
#tabSelectOptions a.currentTab {color:#c50e14;}
#tabSelectOptions a.currentTab:hover {color:#c50e14;}
</style>
<!--[if IE]>
<style type="text/css">
#myBar {line-height: 8px; height: 8px;}
.highlights-box .yui-carousel-element li{width:155px;padding:0px;}
</style>
<![endif]-->',
source => '/spln/src/media/mmod/video/player/style.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/style',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/script',
type => 'new_frame',
},
{ # HASH with 3 keys
data => { # HASH with 1 keys
v_script_global => '0003',
},
source => '/spln/src/media/mmod/script.ref',
type => 'ref',
},
{ # HASH with 3 keys
data => '<script type="text/javascript">if(typeof CBSi=="undefined"||!CBSi){var CBSi={}}CBSi.namespace=function(){var A=arguments,E=null,C,B,D;for(C=0;C<A.length;C=C+1){D=A[C].split(".");E=CBSi;for(B=(D[0]=="CBSi")?1:0;B<D.length;B=B+1){E[D[B]]=E[D[B]]||{};E=E[D[B]]}}return E};CBSi.panel={overlayManager:undefined,create:function(C,B){if(!this.overlayManager){this.overlayManager=new YAHOO.widget.OverlayManager()}if(!B.strings){B.strings={}}if(!B.strings.close){B.strings.close=""}var A=new YAHOO.widget.Panel(C,B);this.overlayManager.register(A);return A}};</script>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/script.html, /spln/src/media/htdocs/js/CBSi-min.js, /spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/script/ncaa/global',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'v_script_global',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '.js"></script>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/microsoft/Silverlight-min.js"></script>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/microsoft/Silverlight.supportedUserAgent-min.js"></script>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/yui/latest/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/swfobject/latest/swfobject-min.js"></script>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/CBSi/app/VideoPlayer.js"></script>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/CBSi/app/VideoPlayer/UVP-min.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/script.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/pngfix-min.js"></script>
<script type="text/javascript">DD_belatedPNG.fix(\'#imgHeader, #videoContentContainer, #mmodEmailSignup, #mmodEmailSignup #submitBtn input, #mmodContentSchedule span.mmodSchedTtlContainer, span.clockTxt, #footer #dots, #footer #partnerLogo, a, li, img, h4\');</script>
<![endif]-->
',
source => '/spln/src/media/mmod/script.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '2',
source => '/emailafriend/send-modal',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/emailafriend/send-modal.pl',
pack => 'mmod::emailafriend::send_modal',
source => '/spln/src/media/mmod/emailafriend/send-modal.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => 'js_lib_drag_drop',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'var',
},
{ # HASH with 3 keys
data => 'js_lib_container',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'var',
},
{ # HASH with 3 keys
data => 'js_lib_connection',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'var',
},
{ # HASH with 3 keys
data => 'js_lib_json',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'var',
},
{ # HASH with 3 keys
data => '
<link href="',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/css/email/send-modal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/CBSi/app/Email/',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'js_lib_send_panel_file',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'var',
},
{ # HASH with 3 keys
data => '"></script>',
source => '/spln/src/media/mmod/emailafriend/send-modal.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '2',
source => '/emailafriend/send-modal',
type => 'delete_frame',
},
{ # HASH with 3 keys
frame => '2',
source => '/video/player/script-local',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/video/player/script-local.pl',
pack => 'mmod::video::player::script_local',
source => '/spln/src/media/mmod/video/player/script-local.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => '<script type="text/javascript" src="',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/mmod/global-min.js"></script>
<script type="text/javascript" src="',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/js/mmod/yui-components.js"></script>
<script type="text/javascript">
var logging=false; // for logging video player events
var eventLogging = (Math.random() < 0.05) ? true : false;
var skyIframe = \'<iframe src="',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 5 keys
args => undef,
data => 'print_ad_path',
pack => 'mmod::video::player::script_local',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'sub',
},
{ # HASH with 3 keys
data => '" name="compAdIframe" id="compAdIframe" width="160" height="600" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe>\';
var slate = \'',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/slate-welcome.jpg\';
var slateAudio = \'',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/slate-audio.jpg\';
var bossTrack = \'http://ad.doubleclick.net/ad/ncaasports/;adid=xxx;adid=212398409;sz=1x1;ord=\';
var playButton = \'<a id="play-button" href="javascript:void(0);" onClick="play(); return false;" target="_blank"></a>\';
var stopButton = \'<a id="stop-button" href="javascript:void(0);" onClick="stop(); return false;" target="_blank"></a>\';
var pauseButton = \'<a id="pause-button" href="javascript:void(0);" onClick="pause(); return false;" target="_blank"></a>\';
var muteButton = \'<a id="mute-button" href="javascript:void(0);" onClick="mute(); return false;" target="_blank"></a>\';
var unmuteButton = \'<a id="unmute-button" href="javascript:void(0);" onClick="unmute(); return false;" target="_blank"></a>\';
var mediaWidth = 640; // Width of the video
var positionSliderWidth = 242; // width of the slider control
var volumeSliderWidth = 62; // width of the volume slider
var mediaHeight = 360; // Height of the video
var mediaId = \'Player\'; // id of the video player object
var showdisplay = 0; // When set to true/1, this displays information such as the file name. Height: 74 pixels.
var showcontrols = 0; // If this value is set to true/1, the video transport controls will be shown (play, stop, pause, etc).
// If it is set to false/0, the controls will not be shown and the user will not be able to control playback at all.
// Height: 46 pixels.
var showstatusbar = 0; // If this value is set to true/1, the status bar is shown. This includes the buffering progress and playback
// status of the clip. Height: 26 pixels
// Otherwise it will wait for the user to press Play.
var flip4macCtrlHeight=17; // this is the height of the flip4mac native controls. It would only change if that product changes.
var volume = 60; // the initial volume of the player.
var currentNowPlayingGameID = \'',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'gameid',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '\';
var currentNowPlayingID = \'',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'gameid',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '\';
var auto = (currentNowPlayingID!=\'m\') ? 1 : 0; // If this value is set to true/1, the video will begin playback as soon as it has buffered.
var currentNowPlayingMedia = \'\';
var currentNowPlayingHome = \'\';
var currentNowPlayingAway = \'\';
var showingAdUrl=\'\';
var selectedTab = \'',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'default_select_tab',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '\'; // \'live\' or \'high\' are accepted values
var isAudio = 0;
var liveAdType="pre";
var inCheck=null; var inDrop = null;
var inDuration = 10800000; // 1800000=30min, 10800000=3hours
function setMediaParams(mediaGroup) {
if (mediaGroup == \'historical\') {
return \'prod=mmod%3Bfeat=historical&adtype=pre&dc=videos.spln.com&zone=mmod&id=\'
} else if (mediaGroup == \'live\') {
return \'prod=mmod%3Bfeat=live&qlevel=s&adtype=\' +liveAdType +\'&dc=videos.spln.com&zone=mmod&&id=\'
} else if (mediaGroup == \'fullgame\') {
return \'prod=mmod%3Bfeat=fullgame&qlevel=s&adtype=pre&dc=videos.spln.com&zone=mmod&&id=\'
} else if (mediaGroup == \'highlights\') {
return \'prod=mmod%3Bfeat=highlights&adtype=pre&dc=videos.spln.com&zone=mmod&&id=\'
} else if (mediaGroup == \'buzzerbeater\') {
return \'prod=mmod%3Bfeat=buzzerbeater&qlevel=s&adtype=pre&dc=videos.spln.com&zone=mmod&&id=\'
} else if ((mediaGroup == \'audio\')||(mediaGroup == \'fullgameaudio\')) {
return \'prod=mmod%3Bfeat=audio&adtype=pre&dc=videos.spln.com&zone=mmod&&id=\'
} else {
return \'prod=mmod%3Bfeat=historical&adtype=pre&dc=videos.spln.com&zone=mmod&id=\'
}
}
var cgiURL = \'http://www.cbssports.com/video/playlist?\';
var mediaFile = cgiURL +setMediaParams(\'live\')+\'',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'gameid',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '\';
var playStateLabels = [\'Undefined\',\'Stopped\',\'Paused\',\'Playing\',\'ScanForward\',\'ScanReverse\',\'Buffering\',\'Waiting\',\'MediaEnded\',\'Transitioning\',\'Ready\',\'Reconnecting\'];
var playState = null;
var openPlayStateLabels = [\' Undefined\',\' PlaylistChanging\',\' PlaylistLocating\',\' PlaylistConnecting\',\' PlaylistLoading\',\' PlaylistOpening\',\' PlaylistOpenNoMedia\',\' PlaylistChanged\',\' MediaChanging\',\' MediaLocating\',\' MediaConnecting\',\' MediaLoading\',\' MediaOpening\',\' MediaOpen\',\' BeginCodecAcquisition\',\' EndCodecAcquisition\',\' BeginLicenseAcquisition\',\' EndLicenseAcquisition\',\' BeginIndividualization\',\' EndIndividualization\',\' MediaWaiting\',\' OpeningUnknownURL\'];
var openPlayState = null;
var mediaType = null;
var barWidth = 0;
var stepSize = 0;
var timer = null;
var Player = null;
var capabilities = detectCapabilities();
var logBuffer = \'\';
var scLogBuffer = \'\';
var pos = null;
var posString = null;
var posX = null;
var posY = null;
/******************************************************************************************************
* Event Logger API Scripts
******************************************************************************************************/
var eventAPIurl = \'/track?app=MMOD&\';
function track_event(params) {
if (eventLogging==false) {return;}
http = getHTTPObject();
var url = encodeURI(eventAPIurl+params);
http.onreadystatechange = function() {
if (http.readyState == 4 && http.status == 200) {
// alert(\'Event API: \' +params);
}
}
http.open("GET",url,true);
http.send(null);
}
function newRandom(){
var abc=Math.random() + "";
return abc.substring(2,abc.length);
}
function callEvents(id,mediaGroup) {
if (mediaGroup == \'historical\') {
track_event(\'event=HIST&sub=\' +id +\'&rand=\' +newRandom());
} else if (mediaGroup == \'live\') {
track_event(\'event=LIVE&sub=\' +id +\'&arg1=V&rand=\' +newRandom());
} else if (mediaGroup == \'fullgame\') {
track_event(\'event=OD&sub=\' +id +\'&arg1=1&rand=\' +newRandom());
} else if (mediaGroup == \'highlights\') {
track_event(\'event=OD&sub=\' +id +\'&arg1=2&rand=\' +newRandom());
} else if (mediaGroup == \'buzzerbeater\') {
track_event(\'event=OD&sub=\' +id +\'&arg1=3&rand=\' +newRandom());
} else if (mediaGroup == \'audio\') {
track_event(\'event=LIVE&sub=\' +id +\'&arg1=A&rand=\' +newRandom());
} else if (mediaGroup == \'fullgameaudio\') {
track_event(\'event=OD&sub=\' +id +\'&arg1=4&rand=\' +newRandom());
} else {
return false;
}
}
/******************************************************************************************************
* Video Player Navigation and Controls
******************************************************************************************************/
function selectTab(tab) {
selectedTab = tab;
if (tab==\'live\') {
document.getElementById(\'gamesPullDown\').style.display = \'block\';
document.getElementById(\'tab-live\').className = \'currentTab\';
document.getElementById(\'tab-highlight\').className = \'offTab\';
document.getElementById(\'historical-highlights\').style.display = \'none\';
document.getElementById(\'scores\').style.display = \'block\';
document.getElementById(\'tabLabel\').innerHTML = "Today\'s Games";
gDate.currentView = gDate.gameday;
carouselWidgetsManager.toggleDisplay();
} else if (tab==\'high\') {
document.getElementById(\'gamesPullDown\').style.display = \'none\';
document.getElementById(\'tab-highlight\').className = \'currentTab\';
document.getElementById(\'tab-live\').className = \'offTab\';
document.getElementById(\'historical-highlights\').style.display = \'block\';
document.getElementById(\'scores\').style.display = \'none\';
document.getElementById(\'tabLabel\').innerHTML = "Previous Years";
carouselWidgetsManager.toggleDisplay();
}
}
function play(){
log(\'play\',mediaFile);
clearInterval(timer);
document.getElementById(\'myPlayer\').style.backgroundImage = \'url("")\';
if (isAudio==1) {
document.getElementById(\'myPlayerSlate\').style.backgroundImage = "url(',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/slate-audio.jpg)";
document.getElementById(\'myPlayer\').style.visibility = "hidden";
document.getElementById(\'myPlayerSlate\').style.visibility = "visible";
} else {
document.getElementById(\'myPlayerSlate\').style.backgroundImage = "url(',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/slate-welcome.jpg)";
document.getElementById(\'myPlayer\').style.visibility = "visible";
document.getElementById(\'myPlayerSlate\').style.visibility = "hidden";
}
document.getElementById("playerPlayStop").innerHTML = pauseButton;
if (capabilities.os.name==\'mac\') {
printPlayer(\'myPlayer\',1);
} else if (capabilities.wmp.plugin==false) {
printPlayer(\'myPlayer\',1);
document.getElementById(\'position-slider-bg\').style.display = \'none\';
document.getElementById(\'myInfo\').style.display = \'none\';
} else {
Player.controls.play();
runTime();
timer = window.setInterval("runTime()",100);
}
if (capabilities.os.name!=\'mac\') {
if (Player.settings) {
Player.settings.invokeURLs = false;
}
}
window.clearInterval(inCheck);
inCheck = setInterval("checkInactivity()",inDuration);
return;
}
function changeSrc(newID, mediaGroup){
stop();
if (!capabilities.wmp.plugin) {
mediaFile = cgiURL +setMediaParams(mediaGroup) +newID;
} else {
Player.URL = cgiURL +setMediaParams(mediaGroup) +newID;
}
callEvents(newID, mediaGroup)
log(\'changeSrc\',cgiURL +setMediaParams(mediaGroup) +newID);
if ((mediaGroup=="audio")||(mediaGroup=="fullgameaudio")) {isAudio=1;}
else {isAudio=0;}
}
function pause(){
log(\'pause\',mediaFile);
clearInterval(timer);
Player.controls.pause();
document.getElementById("playerPlayStop").innerHTML = playButton;
document.getElementById("myPlayer").style.backgroundImage = \'url("\' +slate +\'")\';
}
function stop(){
log(\'stop\',mediaFile);
clearInterval(timer);
if (!capabilities.wmp.plugin) {
mediaFile = \'\';
}
else {
Player.controls.stop();
runTime();
}
document.getElementById("playerPlayStop").innerHTML = playButton;
document.getElementById("myPlayer").style.backgroundImage = \'url("\' +slate +\'")\';
document.getElementById(\'myPlayer\').style.visibility = "hidden";
}
function mute(){
if (Player.controls) {
Player.settings.volume=0;
// log(\'Volume\', Player.settings.volume);
document.getElementById("playerMute").innerHTML = unmuteButton;
}
}
function unmute(){
if (Player.controls) {
Player.settings.volume=volume;
log(\'Volume\', Player.settings.volume);
document.getElementById("playerMute").innerHTML = muteButton;
}
}
function setVolume(newValue){
if (Player.controls) {
Player.settings.volume=newValue;
log(\'Volume\', Player.settings.volume);
document.getElementById("myVolumeInfo").innerHTML = \'Volume: \' +Player.settings.volume +\'%\';
}
}
function fullScreen() {
log(\'Full Screen\', true);
if (capabilities.wmp.plugin) {
if (Player.playState==3) {
Player.fullScreen=true;
track_event(\'event=FULL&sub=\' +currentNowPlayingID +\'&arg1=1&rand=\' +newRandom()); // on
}
}
}
function next(){
log(\'next\',mediaFile);
stop();
Player.controls.next();
play();
}
function previous(){
log(\'previous\',mediaFile);
stop();
Player.controls.previous();
play();
}
function forward(){
log(\'forward\',mediaFile);
Player.controls.fastForward();
}
function rewind(){
log(\'rewind\',mediaFile);
Player.controls.fastReverse();
}
function runTime(newPos){
position = (Player.controls && Player.controls.currentPosition) ? Player.controls.currentPosition : \'0\';
positionString = (Player.controls && Player.controls.currentPositionString) ? Player.controls.currentPositionString : \'00:00\';
duration = (Player.controls && Player.controls.currentItem.duration) ? Player.controls.currentItem.duration : \'1\';
durationString = (Player.controls && Player.controls.durationString) ? Player.controls.durationString : \'00:00\';
if (Player.controls && Player.controls.currentPosition && Player.controls.currentItem.duration ) {
document.getElementById(\'position-converted-value\').value = parseInt(((position/duration)*100));
}
document.getElementById(\'position-slider-thumb\').style.left = parseInt(((position/duration)* positionSliderWidth)) +\'px\'; //244=width of slider
// log(\'Position | Duration\', position +\' | \' +duration); // exact position and duration (seconds)
// log(\'Position | Duration\', positionString +\' | \' +durationString); // exact position and duration (string)
// log(\'Position as Percentage\', parseInt(((position/duration)*100) )); // percentage played
}
function printPlayer(el, auto){
if (el) {
el = document.getElementById(el);
}
var mediaType = (!capabilities.wmp.plugin) ? \'application/x-mplayer2\' : \'application/x-ms-wmp\';
var ieAttribs = (capabilities.browser.name == \'ie\') ? \' classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" \' : \'\'
if (capabilities.os.name!=\'mac\') {
var output = \'<object id="\' + mediaId + \'" \';
output += \' name="\' + mediaId + \'" \';
output += \' data="\' + mediaFile + \'" \';
output += ieAttribs;
output += \' type="\' + mediaType + \'" \';
output += \' width="\' + mediaWidth + \'" \';
output += \' height="\' + mediaHeight + \'" \';
output += \' >\n\';
output += \'<param name="url" value="\' + mediaFile + \'" />\n\';
output += \'<param name="uiMode" value="none" />\n\';
output += \'<param name="AutoStart" value="\' + auto + \'"/>\n\';
output += \'<param name="enabled" value="true" />\n\';
output += \'<param name="ShowControls" value="false" />\n\';
output += \'<param name="ShowStatusBar" value="true" />\n\';
output += \'<param name="ShowPositionControls" value="false" />\n\';
output += \'<param name="stretchToFit" value="true" />\n\';
output += \'<param name="ShowTracker" value="false" />\n\';
output += \'<param name="Volume" value="\' +volume +\'" />\n\';
output += \'<param name="windowlessVideo" value="false" />\n\';
output += \'<param name="invokeURLs" value="false" />\n\';
output += \'<param name="defaultFrame" value="compAdIframe" />\n\';
output += \'</object>\n\';
}
else if (capabilities.os.name==\'mac\') {
output = \'<embed src="\' + mediaFile +\'"\';
output += \' name="\' + mediaId + \'Embed"\';
output += \' type="\' + mediaType +\'"\';
output += \' width="\' + mediaWidth +\'"\';
output += \' height="\' + mediaHeight +\'"\';
output += \' autostart="true"\';
output += \' enabled="1"\';
output += \' ShowStatusBar="1"\';
output += \' ShowDisplay="\' +showdisplay +\'"\';
output += \' ShowControls="0"\';
output += \' stretchToFit="1"\';
output += \'></embed>\n\';
}
log(\'printPlayer\',\'<xmp>\'+output+\'</xmp>\');
if (el) {
el.innerHTML = output;
} else {
document.write(output);
}
}
function getPreRollCompanion(url){
var newAdCnt = \'<iframe src="\' +url +\'" name="compAdIframe" id="compAdIframe" width="160" height="600" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe>\';
document.getElementById(\'adCnt\').innerHTML = newAdCnt;
track_event(\'event=AD&sub=\'+currentNowPlayingID+\'&arg1=PRE&rand=\' +newRandom());
}
function stateChange(state){
var textState = playStateLabels[state]
log(\'stateChange\',state+\':\'+textState);
document.getElementById(\'playStateCnt\').innerHTML = textState;
if (textState == \'Stopped\' || textState == \'Ready\') {
document.getElementById("playerPlayStop").innerHTML = playButton;
document.getElementById(\'myPlayer\').style.visibility = "hidden";
document.getElementById(\'myPlayerSlate\').style.visibility = "visible";
track_event(\'event=STOP&sub=\' +currentNowPlayingID +\'&rand=\' +newRandom()); // on
resetNowPlaying();
}
if (textState == \'Playing\' || textState == \'Paused\' || textState == \'Buffering\') {
document.getElementById("playerPlayStop").innerHTML = pauseButton;
}
if (capabilities.browser.name != \'ie\') {
if ( (textState == \'Playing\') && (Player.currentMedia.getItemInfo("adUrl160x600")) ) {
var newAdURL=Player.currentMedia.getItemInfo("adUrl160x600");
if ( (newAdURL != showingAdUrl) && (newAdURL != \'none\') && (newAdURL != \'\') ) {
getPreRollCompanion(newAdURL);
log(\'stateChange > showEmbeddedCompanion\', newAdURL);
showingAdUrl=newAdURL;
}
}
}
}
function openStateChange(state){
log(\'openStateChange\',state+\':\'+openPlayStateLabels[state]);
if (state == 7) {
var media = Player.controls.currentItem;
if (!media) {return false;}
var mediaParams = {};
for (var i=0;i < media.attributeCount; i++) {
mediaParams[media.getAttributeName(i)] = media.getItemInfo(media.getAttributeName(i));
}
if (mediaParams.id && mediaParams.id == \'ad\') {
getPreRollCompanion(mediaParams.adUrl160x600);
log(\'openStateChange > showEmbeddedCompanion\', mediaParams.adUrl160x600);
}
if (mediaParams.home || mediaParams.away) {
updateNowPlaying(currentNowPlayingID,mediaParams.home,mediaParams.away,currentNowPlayingMedia);
}
}
}
function statusChange(){
var status = Player.status;
log(\'statusChange\', status);
}
function log(logType,logNote) {
if (logging==false) {return;}
logNote+=\'\n\';
logBuffer = \'<div class="logHead">\'+niceTime()+\' > \'+logType+\'</div><div class="logMessage">\'+logNote+\'</div><div class="logFoot"></div>\';
var logDiv = document.getElementById(\'logDiv\');
if (logDiv) logDiv.innerHTML += logBuffer;
if (document.getElementById(\'scrollLog\').checked) logDiv.scrollTop = logDiv.scrollHeight;
}
function scLog(type,param) {
if (logging==false) {
return;
}
if (param) {
param+=\'\';
param = param.replace(/\n/gi, \'<br/>\');
}
scLogBuffer = \'<div class="logHead">\'+niceTime()+\' > \'+type+\'</div><div class="logMessage">\'+param+\'</div><div class="logFoot"></div>\';
var scLogDiv = document.getElementById(\'scLogDiv\');
if (scLogDiv) scLogDiv.innerHTML += scLogBuffer;
if (document.getElementById(\'scrollSCLog\').checked) scLogDiv.scrollTop = scLogDiv.scrollHeight;
}
function niceTime() {
var d = new Date();
var h = d.getHours();
var ap = (h < 12) ? \'am\' : \'pm\';
h = (h == 0) ? 12 : (h > 12) ? h-12 : h;
h += \'\';
var m = d.getMinutes()+\'\';
var s = d.getSeconds()+\'\';
h = (h.length == 1) ? \'0\'+h : h;
m = (m.length == 1) ? \'0\'+m : m;
s = (s.length == 1) ? \'0\'+s : s;
return h+\':\'+m+\':\'+s+\' \'+ap;
}
function init() {
window.focus();
detectCapabilities();
selectTab(selectedTab);
// safari/PC ignores all attempts to change volume or mute. Works in Chrome
if (capabilities.browser.name == \'safari\') {
document.getElementById(\'playerMute\').style.display = \'none\';
document.getElementById(\'volume-slider-bg\').style.display = \'none\';
document.getElementById(\'myVolumeInfo\').style.display = \'none\';
}
if (capabilities.wmp.plugin==false) {
printPlayer(\'myPlayer\',1);
} else {
printPlayer(\'myPlayer\',auto);
Player = document.getElementById(\'Player\');
document.getElementById(\'myPlayer\').style.visibility = "hidden";
document.getElementById(\'myPlayerSlate\').style.visibility = "visible";
if (auto==1) {
document.getElementById(\'myPlayer\').style.visibility = "visible";
document.getElementById(\'myPlayerSlate\').style.visibility = "hidden";
}
}
// flip4mac is not scriptable, turn off custom controls
if (capabilities.os.name==\'mac\') {
mediaHeight+=flip4macCtrlHeight;
document.getElementById(\'position-slider-bg\').style.display = \'none\';
document.getElementById(\'playerControls\').style.display = \'none\';
document.getElementById(\'myInfo\').style.display = \'none\';
document.getElementById(\'bossButton\').style.display = \'none\';
document.getElementById("myPlayer").style.height = mediaHeight;
document.getElementById(\'myPlayer\').style.visibility = "visible";
document.getElementById(\'myPlayerSlate\').style.visibility = "hidden";
}
inCheck = setInterval("checkInactivity()",inDuration);
// create sliders
// sliderInit(bg, thumb, valuearea, textfield, sliderName, top, bottom, sliderScale, sliderIncrement, sliderTick, sliderInitial) {
var positionSlider =sliderInit("position-slider-bg","position-slider-thumb","slider-value", "position-converted-value","position-slider",0, 242, 1, 25, 25);
var volumeSlider =sliderInit("volume-slider-bg" ,"volume-slider-thumb", "slider-value", "volume-converted-value" ,"volume-slider" ,0, 62, 1.62, 1, 1, 70/1.62);
track_event(\'event=LAUNCH&sub=\' +currentNowPlayingID +\'&rand=\' +newRandom());
if (currentNowPlayingID!=\'unknown\') {
track_event(\'event=LIVE&sub=\' +currentNowPlayingID +\'&arg1=V&rand=\' +newRandom());
}
}
function getHTTPObject() {
try { return new XMLHttpRequest(); } catch(e) {}
try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}
return false;
}
function displayAd(adId) {
if (adId==0 || adId==null || adId==undefined) {return;}
var adURL = getAdURL(adId);
if (adURL) document.getElementById(\'adCnt\').innerHTML = \'<iframe src="\'+adURL+\'" name="compAdIframe" name="compAdIframe" width="160" height="600" frameborder="0" scrolling="no"></iframe>\';
if (adId == \'done\') {
track_event(\'event=EOP&sub=\'+currentNowPlayingID+\'&rand=\' +newRandom());
} else {
track_event(\'event=AD&sub=\'+currentNowPlayingID+\'&arg1=\' +adId +\'&rand=\' +newRandom());
}
}
function logMedia(src) {
var http = new getHTTPObject();
var url = encodeURI(src);
http.onreadystatechange = function() {
if (http.readyState == 4 && http.status == 200) {
log(\'getMedia\', http.responseText);
//var logStr = \'\';
//for (var p in Player) { if (p) logStr += \'[\'+p+\'=\'+Player[p]+\']\n\'; }
//log(\'Player\',logStr);
}
}
http.open("GET",url,true);
http.send(null);
}
function OnDSPlayStateChangeEvt(NewState) {
stateChange(NewState);
}
/******************************************************************************************************
* Function - Inactivity Checker - Run every 3 hours and give user 5 minutes to click
******************************************************************************************************/
function checkInactivity(){
//reset fullscreen mode
if (capabilities.wmp.plugin) {
Player.fullScreen=false;
}
document.getElementById(\'myPlayer\').style.visibility = "hidden";
document.getElementById(\'inactiveCheck\').style.visibility = "visible";
inDrop = setInterval("InactivityDrop()", 300000);
}
/******************************************************************************************************
* Function - Inactivity Verified by Inactivity Checker - Drop User
******************************************************************************************************/
function InactivityDrop(){
window.location = "/video/8";
}
/******************************************************************************************************
* Function - User Still Active - Inactivity Checker Cleared
******************************************************************************************************/
function InactivityClear(){
window.clearInterval(inDrop);
document.getElementById(\'myPlayer\').style.visibility = "visible";
document.getElementById(\'inactiveCheck\').style.visibility = "hidden";
}
/******************************************************************************************************
* Function - Load the Boss Button Excel Spreadsheet Image Player.status
******************************************************************************************************/
function loadBossBtnCnt(){
pause();
mute();
if (selectedTab==\'live\') {document.getElementById(\'gamesPullDown\').style.display = \'none\';}
document.getElementById("bossBtnCnt").style.visibility = "visible";
document.getElementById("myPlayer").style.visibility = "hidden";
var abc=Math.random() + "";
var bossTrackRandom = abc.substring(2,abc.length);
document.images.bossTracker.src = bossTrack + bossTrackRandom +\'?\';
track_event(\'event=BOSS&sub=\' +currentNowPlayingID +\'&arg1=1&rand=\' +newRandom()); // on
return false;
}
/******************************************************************************************************
* Function - Unload the Boss Button Excel Spreadsheet Image
******************************************************************************************************/
function unloadBossBtnCnt(){
play();
unmute();
if (selectedTab==\'live\') {document.getElementById(\'gamesPullDown\').style.display = \'block\';}
document.getElementById("bossBtnCnt").style.visibility = "hidden";
document.getElementById("myPlayer").style.visibility = "visible";
track_event(\'event=BOSS&sub=\' +currentNowPlayingID +\'&arg1=0&rand=\' +newRandom()); // off
return false;
}
function resetNowPlaying() {
if (currentNowPlayingID != \'\' && currentNowPlayingMedia != \'\') {
if (currentNowPlayingMedia == \'historical\' || currentNowPlayingMedia == \'live\') { // If there is currently a Now Playing Button set:
buttonContainer = \'watchNowButton-\' +currentNowPlayingID; // determine its container
buttonId = \'watch-now-button-\' +currentNowPlayingID; // determine its button id
// re-write it from Now Playing to Watch Now
if (document.getElementById(buttonContainer)) {
document.getElementById(buttonContainer).innerHTML =
\'<a id="\'
+buttonId
+\'" class="watch-now-button" onMouseOver="this.className=\'watch-now-button-hover\';"\'
+\' onMouseOut="this.className=\'watch-now-button\';"\'
+\' onclick="changeSrc(\'\' +currentNowPlayingID +\'\',\'\' + currentNowPlayingMedia +\'\'); updateNowPlaying(\'\' +currentNowPlayingID +\'\',\'\' +currentNowPlayingHome +\'\',\'\' +currentNowPlayingAway +\'\',\'\' + currentNowPlayingMedia +\'\'); play();"></a>\';
}
}
else {
var textlinkId = currentNowPlayingMedia + \'-\' + currentNowPlayingID;
YAHOO.util.Dom.replaceClass(textlinkId, \'scores-textlink-now-playing\', \'scores-textlink\');
}
}
}
function updateNowPlaying(id,home,away,type) {
var buttonContainer; var buttonId;
resetNowPlaying();
scoresDisplayController.set(id,type);
currentNowPlayingMedia = type; currentNowPlayingID = id; currentNowPlayingHome = home; currentNowPlayingAway = away;
// update Current Now Playing to the new value
if (type == \'historical\' || type == \'live\'){
buttonContainer = \'watchNowButton-\' +id;
buttonId = \'watch-now-button-\' +id;
if (document.getElementById(buttonContainer)) {
document.getElementById(buttonContainer).innerHTML = \'<a id="\' +buttonId +\'" class="now-playing-button"></a>\';
}
}
else {
var textlinkId = type + \'-\' + id;
YAHOO.util.Dom.replaceClass(textlinkId, \'scores-textlink\', \'scores-textlink-now-playing\');
}
if (type == \'live\'){liveAdType = \'none\';} // we only see one pre-roll on live video.
// Render now playing teams
var newText=\'Now Playing:<br>\';
if (away == \'\' && home == \'\') {
newText += \'<img src="',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/final4logo.jpg" width="141" height="147" border="0" alt="2009 Final Four Logo">\';
}
else {
if(away != \'\'){
newText += \'<div class="logo"><img src="',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/logos/72x72/\'+away+\'.gif" width="72" height="72" border="0"></div>\';
newText += \'<a href="http://www.cbssports.com/collegebasketball/teams/page/\'+away+\'" target="_blank">Team Page</a> <span class="divider">|</span> <a href="http://www.cbssports.com/collegebasketball/teams/board/\'+away+\'" target="_blank">Talk!</a><br>\';
newText += \'<a href="http://www.cbssports.com/collegebasketball/teams/store/\'+away+\'" target="_blank">Team Shop</a> <span class="divider">|</span> <a href="http://www.cbssports.com/collegebasketball/teams/group/\'+away+\'" target="_blank">Team Group</a><div class="spacer5"> </div>\';
}
if(home != \'\'){
newText += \'<div class="logo"><img src="',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/logos/72x72/\'+home+\'.gif" width="72" height="72" border="0"></div>\';
newText += \'<a href="http://www.cbssports.com/collegebasketball/teams/page/\'+home+\'" target="_blank">Team Page</a> <span class="divider">|</span> <a href="http://www.cbssports.com/collegebasketball/teams/board/\'+home+\'" target="_blank">Talk!</a><br>\';
newText += \'<a href="http://www.cbssports.com/collegebasketball/teams/store/\'+home+\'" target="_blank">Team Shop</a> <span class="divider">|</span> <a href="http://www.cbssports.com/collegebasketball/teams/group/\'+home+\'" target="_blank">Team Group</a><br>\';
}
}
document.getElementById("nowPlayingBox").innerHTML = newText;
return;
}
/******************************************************************************************************
* Function - Handles requests for the game selection pulldown
******************************************************************************************************/
function gamePulldownClick(value){
gDate.currentView = value; // set currently viewed date (yyyymmdd)
fetchGameDayData(value); // Ajax fetch to get scores data file for a date
}
/******************************************************************************************************
* Share Button Code
******************************************************************************************************/
function shareLinks(){};
shareLinks.prototype.allowClose = false;
shareLinks.prototype.showButtons = function() {
this.allowClose=false;
document.getElementById(\'shareBoxi\').style.visibility="visible";
}
shareLinks.prototype.shareOff = function() {
if (this.allowClose==true) {
document.getElementById(\'shareBoxi\').style.visibility="hidden";
}
}
shareLinks.prototype.hideButtons = function() {
this.allowClose=true;
setTimeout("shareLinks.prototype.shareOff()",1000);
}
function fbs_click(){
u=\'http://mmod.ncaa.com/\';
t=\'NCAA March Madness on Demand\';
window.open(\'http://www.facebook.com/sharer.php?u=\'+encodeURIComponent(u)+\'&t=\'+encodeURIComponent(t),\'sharer\',\'toolbar=0,status=0,width=626,height=436\');
return false;
}
function digg_click(){
u=\'http://mmod.ncaa.com/\';
t=\'NCAA March Madness on Demand\';
window.open(\'http://digg.com/submit?phase=2&url=\'+encodeURIComponent(u)+\'&title=\'+encodeURIComponent(t),\'sharer\',\'toolbar=1,status=1,width=626,height=436\');
return false;
}
function loadHQ(){
var idToPass = (scoresDisplayController.currGameId) ? \'&gameid=\'+scoresDisplayController.currGameId : \'\';
window.location = \'/video?player=hq\' +idToPass;
return;
}
/******************************************************************************************************
* Preventing The IE6 CSS Background Flicker
******************************************************************************************************/
try { document.execCommand(\'BackgroundImageCache\', false, true); } catch(e) {}
/******************************************************************************************************
* before unload calls
******************************************************************************************************/
function pageUnload() {
track_event(\'event=EXIT&rand=\' +newRandom());
magidLaunchSurvey(\'sd\');
}
YAHOO.util.Event.addListener(window, \'beforeunload\', pageUnload);
</script>
',
source => '/spln/src/media/mmod/video/player/script-local.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '2',
source => '/video/player/script-local',
type => 'delete_frame',
},
{ # HASH with 3 keys
frame => '1',
source => '/script',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
<link rel="SHORTCUT ICON" href="',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/ncaasports/favicon.ico">
</head>
<body>
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 5 keys
args => '',
data => 'print_ad_data',
pack => 'mmod::video::player::index',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'sub',
},
{ # HASH with 3 keys
data => '
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/ads/ncaasports/user-data',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/ads/ncaasports/user-data.pl',
pack => 'mmod::ads::ncaasports::user_data',
source => '/spln/src/media/mmod/ads/ncaasports/user-data.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => '<DIV style="position:absolute; width:1; height:1; left:-49; top:-49; z-index:4;"><table width="0" height="0" border="0" cellspacing="0" cellpadding="0"><tr><td bgcolor="#000248">
<script language="JavaScript"><!--
var adLookup="',
source => '/spln/src/media/mmod/ads/ncaasports/user-data.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'AD_LOOKUP',
source => '/spln/src/media/mmod/ads/ncaasports/user-data.html',
type => 'var',
},
{ # HASH with 3 keys
data => '";
if (!dclk_seg) {var dclk_seg=\'nonaol\';}
if (dclk_seg != \'NUL\') {vTag += \';seg=\'+dclk_seg;}
if (!document.layers) {
if (document.body.addBehavior) {
document.body.addBehavior("#default#clientCaps");
dclk_TempStr = ";ctype=" + document.body.connectionType +
";lang=" + document.body.systemLanguage +
";lang=" + document.body.userLanguage;
}
}
if (!dclk_TempStr) {var dclk_TempStr=\'NUL\';}
if (dclk_TempStr != \'NUL\') {vTag +=dclk_TempStr;}
if (!vTarget) {var vTarget=\'vt=null\';}
/* surround cookie */
var surroundC = readCookie(\'surround\');
if (surroundC > -1) {
surroundX = random % 2;
surroundC = (surroundX > 0 ) ? \'b\' : \'a\';
document.cookie=("surround="+surroundC+";domain=',
source => '/spln/src/media/mmod/ads/ncaasports/user-data.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'COOKIE_DOMAIN',
source => '/spln/src/media/mmod/ads/ncaasports/user-data.html',
type => 'var',
},
{ # HASH with 3 keys
data => ';path=/" );
vTag += ";adv="+surroundC;
}
else {
vTag += ";adv="+surroundC;
}
//-->
</script>
</td></tr></table></div>
',
source => '/spln/src/media/mmod/ads/ncaasports/user-data.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/ads/ncaasports/user-data',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/ads/ncaasports/omniture',
type => 'new_frame',
},
{ # HASH with 3 keys
data => { # HASH with 3 keys
ads_account => 'cbsncaasports',
ads_external => 'nfl,superbowl,pgatour,golfweb,sportsline',
ads_internal => 'javascript:,finalfour,ncaachampionships,ncaasports',
},
source => '/spln/src/media/mmod/ads/ncaasports/omniture.ref',
type => 'ref',
},
{ # HASH with 3 keys
data => '<DIV style="position:absolute; width:1; height:1; left:-50; top:-50; z-index:5;"><table width="0" height="0" border="0" cellspacing="0" cellpadding="0"><tr><td>
',
source => '/spln/src/media/mmod/ads/ncaasports/omniture.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '2',
source => '/ads/omniture_js',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/ads/omniture_js.pl',
pack => 'mmod::ads::omniture_js',
source => '/spln/src/media/mmod/ads/omniture_js.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => '<script language="JavaScript"><!--
/* SiteCatalyst code version: H.1. Copyright 1997-2005 Omniture, Inc. More info available at http://www.omniture.com */
/* Specify the Report Suite ID(s) to track here */
var s_account="',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'ads_account',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '"
var s_v_account="',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'ads_account',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '"
var s=s_gi(s_account)
var s_v=s_gi(s_v_account)
s_v.wds();s_v.ca();
/************************** CONFIG SECTION **************************/
if (omni_vp!=\'NUL\') s.prop20+=omni_vp;
',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'OMNITURE_CONFIG',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '
/************************* S_ACCOUNT CONFIG **************************/
/* You may add or alter any code config here. */
/* E-commerce Config */
s.currencyCode="USD"
/* Link Tracking Config */
s.trackDownloadLinks=true
s.trackExternalLinks=true
s.trackInlineStats=true
s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"
s.linkInternalFilters="',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'ads_internal',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '"
s.linkExternalFilters="',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'ads_external',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '"
s.linkLeaveQueryString=false
s.linkTrackVars="None"
s.linkTrackEvents="None"
/* WARNING: Changing the visitor namespace will cause drastic changes
to how your visitor data is collected. Changes should only be made
when instructed to do so by your account manager.*/
s.visitorNamespace="cbs"
/************************** CONFIG SECTION **************************/
/************************ S_V_ACCOUNT CONFIG ************************/
/* You may add or alter any code config here. */
/* E-commerce Config */
s_v.currencyCode="USD"
/* Link Tracking Config */
s_v.trackDownloadLinks=true
s_v.trackExternalLinks=true
s_v.trackInlineStats=true
s_v.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls"
s_v.linkInternalFilters="',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'ads_internal',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '"
s_v.linkExternalFilters="',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'ads_external',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '"
s_v.linkLeaveQueryString=false
s_v.linkTrackVars="eVar1,eVar2,eVar3,prop24,prop25,prop26,prop27,events"
s_v.linkTrackEvents="event1,event2"
/* WARNING: Changing the visitor namespace will cause drastic changes
to how your visitor data is collected. Changes should only be made
when instructed to do so by your account manager.*/
s_v.visitorNamespace="cbs"
/* Plugin Config */
s.usePlugins=true
function s_doPlugins(s) {
/* Add calls to plugins here */
/* Example: s.campaign = s.getQueryParam(\'cid\'); */
if(s.getQueryParam(\'sssdmh\')) {
s.campaign = s.getQueryParam(\'sssdmh\');
}
if(!s.campaign) {
s.campaign = s.getQueryParam(\'source\');
}
}
s.doPlugins=s_doPlugins
/************************** PLUGINS SECTION *************************/
/* You may insert any plugins you wish to use here. */
/*
* Plugin: getQueryParam 1.1 - Return query string parameter values
*/
s.getQueryParam=new Function("qp","d",""
+"var s=this,v=\'\',d=d?d:\'\',i,t;while(qp){i=qp.indexOf(\',\');i=i<0?qp.l"
+"ength:i;t=s.gcgi(qp.substring(0,i));if(t)v+=v?d+t:t;qp=qp.substring"
+"(i==qp.length?i:i+1)}return v");
s.gcgi=new Function("k",""
+"var v=\'\',s=this;if(k&&s.wd.location.search){var q=s.wd.location.sea"
+"rch.toLowerCase(),qq=q.indexOf(\'?\');q=qq<0?q:q.substring(qq+1);v=s."
+"pt(q,\'&\',\'cgif\',k.toLowerCase())}return v");
s.cgif=new Function("t","k",""
+"if(t){var s=this,i=t.indexOf(\'=\'),sk=i<0?t:t.substring(0,i),sv=i<0?"
+"\'True\':t.substring(i+1);if(sk.toLowerCase()==k)return s.epa(sv)}ret"
+"urn \'\'");
/*
* Plugin: Track Video Playback (start/stop/elapsed time played)
*/
var s_v_videoisplaying;
function s_tvp(obj,vid,e){
if(!e) e=\'start\';
if(e==\'start\'){
tvp_st = new Date();
tvp_st = tvp_st.getTime();
s_v.eVar1 = vid;
s_v.events = "event1";
s_v.tl(obj,\'o\',\'Video Start\');
s_v_videoisplaying = true;
}else if(e==\'stop\'){
if(tvp_st && tvp_st!=\'\'){
tvp_et = new Date();
tvp_et = tvp_et.getTime();
m = Math.floor(eval((tvp_et - tvp_st) / 1000 / 60));
s_v.eVar2 = (m<1 ? "<1" : m);
tvp_st = \'\';
}
s_v.eVar1 = vid;
s_v.events = "event2"
s_v.tl(obj,\'o\',\'Video Stop\');
s_v.eVar2 = \'\';
s_v_videoisplaying = false;
}
}
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_objectID;function s_c2fe(f){var x=\'\',s=0,e,a,b,c;while(1){e=
f.indexOf(\'"\',s);b=f.indexOf(\'\\',s);c=f.indexOf("\n",s);if(e<0||(b>=
0&&b<e))e=b;if(e<0||(c>=0&&c<e))e=c;if(e>=0){x+=(e>s?f.substring(s,e):
\'\')+(e==c?\'\\n\':\'\\'+f.substring(e,e+1));s=e+1}else return x
+f.substring(s)}return f}function s_c2fa(f){var s=f.indexOf(\'(\')+1,e=
f.indexOf(\')\'),a=\'\',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==\',\')
a+=\'","\';else if(("\n\r\t ").indexOf(c)<0)a+=c;s++}return a?\'"\'+a+\'"\':
a}function s_c2f(cc){cc=\'\'+cc;var fc=\'var f=new Function(\',s=
cc.indexOf(\';\',cc.indexOf(\'{\')),e=cc.lastIndexOf(\'}\'),o,a,d,q,c,f,h,x
fc+=s_c2fa(cc)+\',"var s=new Object;\';c=cc.substring(s+1,e);s=
c.indexOf(\'function\');while(s>=0){d=1;q=\'\';x=0;f=c.substring(s);a=
s_c2fa(f);e=o=c.indexOf(\'{\',s);e++;while(d>0){h=c.substring(e,e+1);if(
q){if(h==q&&!x)q=\'\';if(h==\'\\')x=x?0:1;else x=0}else{if(h==\'"\'||h=="\'"
)q=h;if(h==\'{\')d++;if(h==\'}\')d--}if(d>0)e++}c=c.substring(0,s)
+\'new Function(\'+(a?a+\',\':\'\')+\'"\'+s_c2fe(c.substring(o+1,e))+\'")\'
+c.substring(e+1);s=c.indexOf(\'function\')}fc+=s_c2fe(c)+\';return s");\'
eval(fc);return f}function s_gi(un,pg,ss){var c="function s_c(un,pg,s"
+"s){var s=this;s.wd=window;if(!s.wd.s_c_in){s.wd.s_c_il=new Array;s."
+"wd.s_c_in=0;}s._il=s.wd.s_c_il;s._in=s.wd.s_c_in;s._il[s._in]=s;s.w"
+"d.s_c_in++;s.m=function(m){return (\'\'+m).indexOf(\'{\')<0};s.fl=funct"
+"ion(x,l){return x?(\'\'+x).substring(0,l):x};s.co=function(o){if(!o)r"
+"eturn o;var n=new Object,x;for(x in o)if(x.indexOf(\'select\')<0&&x.i"
+"ndexOf(\'filter\')<0)n[x]=o[x];return n};s.num=function(x){x=\'\'+x;for"
+"(var p=0;p<x.length;p++)if((\'0123456789\').indexOf(x.substring(p,p+1"
+"))<0)return 0;return 1};s.rep=function(x,o,n){var i=x.indexOf(o),l="
+"n.length>0?n.length:1;while(x&&i>=0){x=x.substring(0,i)+n+x.substri"
+"ng(i+o.length);i=x.indexOf(o,i+l)}return x};s.ape=function(x){var s"
+"=this,i;x=x?s.rep(escape(\'\'+x),\'+\',\'%2B\'):x;if(x&&s.charSet&&s.em=="
+"1&&x.indexOf(\'%u\')<0&&x.indexOf(\'%U\')<0){i=x.indexOf(\'%\');while(i>="
+"0){i++;if((\'89ABCDEFabcdef\').indexOf(x.substring(i,i+1))>=0)return "
+"x.substring(0,i)+\'u00\'+x.substring(i);i=x.indexOf(\'%\',i)}}return x}"
+";s.epa=function(x){var s=this;return x?unescape(s.rep(\'\'+x,\'+\',\' \')"
+"):x};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.ind"
+"exOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s.m(f)?s[f](t,a):f(t,"
+"a);if(r)return r;z+=y+d.length;t=x.substring(z,x.length);t=z<x.leng"
+"th?t:\'\'}return \'\'};s.isf=function(t,a){var c=a.indexOf(\':\');if(c>=0"
+")a=a.substring(0,c);if(t.substring(0,2)==\'s_\')t=t.substring(2);retu"
+"rn (t!=\'\'&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,\',\',\'isf"
+"\',t))s.fsg+=(s.fsg!=\'\'?\',\':\'\')+t;return 0};s.fs=function(x,f){var s"
+"=this;s.fsg=\'\';s.pt(x,\',\',\'fsf\',f);return s.fsg};s.c_d=\'\';s.c_gdf=f"
+"unction(t,a){var s=this;if(!s.num(t))return 1;return 0};s.c_gd=func"
+"tion(){var s=this,d=s.wd.location.hostname,n=s.cookieDomainPeriods,"
+"p;if(d&&!s.c_d){n=n?parseInt(n):2;n=n>2?n:2;p=d.lastIndexOf(\'.\');wh"
+"ile(p>=0&&n>1){p=d.lastIndexOf(\'.\',p-1);n--}s.c_d=p>0&&s.pt(d,\'.\',\'"
+"c_gdf\',0)?d.substring(p):\'\'}return s.c_d};s.c_r=function(k){var s=t"
+"his;k=s.ape(k);var c=\' \'+s.d.cookie,i=c.indexOf(\' \'+k+\'=\'),e=i<0?i:"
+"c.indexOf(\';\',i),v=i<0?\'\':s.epa(c.substring(i+2+k.length,e<0?c.leng"
+"th:e));return v!=\'[[B]]\'?v:\'\'};s.c_w=function(k,v,e){var s=this,d=s"
+".c_gd(),l=s.cookieLifetime,t;v=\'\'+v;l=l?(\'\'+l).toUpperCase():\'\';if("
+"e&&l!=\'SESSION\'&&l!=\'NONE\'){t=(v!=\'\'?parseInt(l?l:0):-60);if(t){e=n"
+"ew Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!=\'NONE\'){s.d.cooki"
+"e=k+\'=\'+s.ape(v!=\'\'?v:\'[[B]]\')+\'; path=/;\'+(e&&l!=\'SESSION\'?\' expir"
+"es=\'+e.toGMTString()+\';\':\'\')+(d?\' domain=\'+d+\';\':\'\');return s.c_r(k"
+")==v}return 0};s.eh=function(o,e,r,f){var s=this,b=\'s_\'+e+\'_\'+s._in"
+",n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i<l.length&&n"
+"<0;i++){if(l[i].o==o&&l[i].e==e)n=i}if(n<0){n=i;l[n]=new Object}x=l"
+"[n];x.o=o;x.e=e;f=r?x.b:f;if(r||f){x.b=r?0:o[e];x.o[e]=f}if(x.b){x."
+"o[b]=x.b;return b}return 0};s.cet=function(f,a,t,o,b){var s=this,r;"
+"if(s.isie&&a.apv>=5)eval(\'try{r=s.m(f)?s[f](a):f(a)}catch(e){r=s.m("
+"t)?s[t](e):t(e)}\');else{if(s.ismac&&s.u.indexOf(\'MSIE 4\')>=0)r=s.m("
+"b)?s[b](a):b(a);else{s.eh(s.wd,\'onerror\',0,o);r=s.m(f)?s[f](a):f(a)"
+";s.eh(s.wd,\'onerror\',1)}}return r};s.gtfset=function(e){var s=this;"
+"return s.tfs};s.gtfsoe=new Function(\'e\',\'var s=s_c_il[\'+s._in+\'];s."
+"eh(window,\"onerror\",1);s.etfs=1;var c=s.t();if(c)s.d.write(c);s.e"
+"tfs=0;return true\');s.gtfsfb=function(a){return window};s.gtfsf=fun"
+"ction(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.locatio"
+"n!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return"
+" s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.et"
+"fs)s.tfs=s.cet(\'gtfsf\',s.tfs,\'gtfset\',s.gtfsoe,\'gtfsfb\')}return s.t"
+"fs};s.ca=function(){var s=this,imn=\'s_i_\'+s.fun;if(s.d.images&&s.ap"
+"v>=3&&!s.isopera&&(s.ns6<0||s.apv>=6.1)){s.ios=1;if(!s.d.images[imn"
+"]&&(!s.isns||(s.apv<4||s.apv>=5))){s.d.write(\'<im\'+\'g name=\"\'+imn+"
+"\'\" height=1 width=1 border=0 alt=\"\">\');if(!s.d.images[imn])s.ios"
+"=0}}};s.mr=function(sess,q,ta){var s=this,ns=s.visitorNamespace,unc"
+"=s.rep(s.fun,\'_\',\'-\'),imn=\'s_i_\'+s.fun,im,b,e,rs=\'http\'+(s.ssl?\'s\':"
+"\'\')+\'://\'+(ns?ns:(s.ssl?\'102\':unc))+\'.112.2O7.net/b/ss/\'+s.un+\'/1/H"
+".1-pdv-2/\'+sess+\'?[AQB]&ndh=1\'+(q?q:\'\')+(s.q?s.q:\'\')+\'&[AQE]\';if(s."
+"isie&&!s.ismac){if(s.apv>5.5)rs=s.fl(rs,4095);else rs=s.fl(rs,2047)"
+"}if(s.ios){im=s.wd[imn]?s.wd[imn]:s.d.images[imn];if(!im)im=s.wd[im"
+"n]=new Image;im.src=rs;if(rs.indexOf(\'&pe=\')>=0&&(!ta||ta==\'_self\'|"
+"|ta==\'_top\'||(s.wd.name&&ta==s.wd.name))){b=e=new Date;while(e.getT"
+"ime()-b.getTime()<500)e=new Date}return \'\'}return \'<im\'+\'g sr\'+\'c="
+"\"\'+rs+\'\" width=1 height=1 border=0 alt=\"\">\'};s.gg=function(v){v"
+"ar s=this;return s.wd[\'s_\'+v]};s.glf=function(t,a){if(t.substring(0"
+",2)==\'s_\')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=f"
+"unction(v){var s=this;s.pt(v,\',\',\'glf\',0)};s.gv=function(v){var s=t"
+"his;return s[\'vpm_\'+v]?s[\'vpv_\'+v]:s[v]};s.havf=function(t,a){var s"
+"=this,b=t.substring(0,4),x=t.substring(4),n=parseInt(x),k=\'g_\'+t,m="
+"\'vpm_\'+t,q=t,v=s.linkTrackVars,e=s.linkTrackEvents;s[k]=s.gv(t);if("
+"s.lnk||s.eo){v=v?v+\',\'+s.vl_l:\'\';if(v&&!s.pt(v,\',\',\'isf\',t))s[k]=\'\'"
+";if(t==\'events\'&&e)s[k]=s.fs(s[k],e)}s[m]=0;if(t==\'pageURL\')q=\'g\';e"
+"lse if(t==\'referrer\')q=\'r\';else if(t==\'charSet\'){q=\'ce\';if(s[k]&&s."
+"em==2)s[k]=\'UTF-8\'}else if(t==\'visitorNamespace\')q=\'ns\';else if(t=="
+"\'cookieDomainPeriods\')q=\'cdp\';else if(t==\'cookieLifetime\')q=\'cl\';el"
+"se if(t==\'visitVariableProvider\')q=\'vvp\';else if(t==\'currencyCode\')"
+"q=\'cc\';else if(t==\'channel\')q=\'ch\';else if(t==\'campaign\')q=\'v0\';els"
+"e if(s.num(x)) {if(b==\'prop\')q=\'c\'+n;else if(b==\'eVar\')q=\'v\'+n;else"
+" if(b==\'hier\'){q=\'h\'+n;s[k]=s.fl(s[k],255)}}if(s[k]&&t!=\'linkName\'&"
+"&t!=\'linkType\')s.qav+=\'&\'+q+\'=\'+s.ape(s[k]);return \'\'};s.hav=functi"
+"on(){var s=this;s.qav=\'\';s.pt(s.vl_t,\',\',\'havf\',0);return s.qav};s."
+"lnf=function(t,h){t=t?t.toLowerCase():\'\';h=h?h.toLowerCase():\'\';var"
+" te=t.indexOf(\'=\');if(t&&te>0&&h.indexOf(t.substring(te+1))>=0)retu"
+"rn t.substring(0,te);return \'\'};s.ln=function(h){var s=this,n=s.lin"
+"kNames;if(n)return s.pt(n,\',\',\'lnf\',h);return \'\'};s.ltdf=function(t"
+",h){t=t?t.toLowerCase():\'\';h=h?h.toLowerCase():\'\';var qi=h.indexOf("
+"\'?\');h=qi>=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.leng"
+"th+1))==\'.\'+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLower"
+"Case():\'\';h=h?h.toLowerCase():\'\';if(t&&h.indexOf(t)>=0)return 1;ret"
+"urn 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef="
+"s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.lo"
+"cation.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.p"
+"t(lft,\',\',\'ltdf\',h))return \'d\';if(s.trackExternalLinks&&(lef||lif)&"
+"&(!lef||s.pt(lef,\',\',\'ltef\',h))&&(!lif||!s.pt(lif,\',\',\'ltef\',h)))re"
+"turn \'e\';return \'\'};s.lc=new Function(\'e\',\'var s=s_c_il[\'+s._in+\'],"
+"b=s.eh(this,\"onclick\");s.lnk=s.co(this);s.t();s.lnk=0;if(b)return"
+" this[b](e);return true\');s.bc=new Function(\'e\',\'var s=s_c_il[\'+s._"
+"in+\'];if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;s.eo=e.srcElement?e"
+".srcElement:e.target;s.t();s.eo=0\');s.ot=function(o){var a=o.type,b"
+"=o.tagName;return (a&&a.toUpperCase?a:b&&b.toUpperCase?b:o.href?\'A\'"
+":\'\').toUpperCase()};s.oid=function(o){var s=this,t=s.ot(o),p=o.prot"
+"ocol,c=o.onclick,n=\'\',x=0;if(!o.s_oid){if(o.href&&(t==\'A\'||t==\'AREA"
+"\')&&(!c||!p||p.toLowerCase().indexOf(\'javascript\')<0))n=o.href;else"
+" if(c){n=s.rep(s.rep(s.rep(s.rep(\'\'+c,\"\\r\",\'\'),\"\\n\",\'\'),\"\\t"
+"\",\'\'),\' \',\'\');x=2}else if(o.value&&(t==\'INPUT\'||t==\'SUBMIT\')){n=o."
+"value;x=3}else if(o.src&&t==\'IMAGE\')n=o.src;if(n){o.s_oid=s.fl(n,10"
+"0);o.s_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t."
+"indexOf(\'=\'),u=e>=0?\',\'+t.substring(0,e)+\',\':\'\';return u&&u.indexOf"
+"(\',\'+un+\',\')>=0?s.epa(t.substring(e+1)):\'\'};s.rq=function(un){var s"
+"=this,c=un.indexOf(\',\'),v=s.c_r(\'s_sq\'),q=\'\';if(c<0)return s.pt(v,\'"
+"&\',\'rqf\',un);return s.pt(un,\',\',\'rq\',0)};s.sqp=function(t,a){var s="
+"this,e=t.indexOf(\'=\'),q=e<0?\'\':s.epa(t.substring(e+1));s.sqq[q]=\'\';"
+"if(e>=0)s.pt(t.substring(0,e),\',\',\'sqs\',q);return 0};s.sqs=function"
+"(un,q){var s=this;s.squ[un]=q;return 0};s.sq=function(q){var s=this"
+",k=\'s_sq\',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq["
+"q]=\'\';s.pt(v,\'&\',\'sqp\',0);s.pt(s.un,\',\',\'sqs\',q);v=\'\';for(x in s.sq"
+"u)s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?\',\':\'\')+x;for(x in s.sqq)if(x&&"
+"s.sqq[x]&&(x==q||c<2)){v+=(v?\'&\':\'\')+s.sqq[x]+\'=\'+s.ape(x);c++}retu"
+"rn s.c_w(k,v,0)};s.wdl=new Function(\'e\',\'var s=s_c_il[\'+s._in+\'],r="
+"true,b=s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i<s.d"
+".links.length;i++){o=s.d.links[i];oc=o.onclick?\"\"+o.onclick:\"\";"
+"if((oc.indexOf(\"s_gs(\")<0||oc.indexOf(\".s_oc(\")>=0)&&oc.indexOf"
+"(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return r\');s.wds=function("
+"){var s=this;if(s.apv>3&&(!s.isie||!s.ismac||s.apv>=5)){if(s.b&&s.b"
+".attachEvent)s.b.attachEvent(\'onclick\',s.bc);else if(s.b&&s.b.addEv"
+"entListener)s.b.addEventListener(\'click\',s.bc,false);else s.eh(s.wd"
+",\'onload\',0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSamplin"
+"g,g=s.visitorSamplingGroup,k=\'s_vsn_\'+s.un+(g?\'_\'+g:\'\'),n=s.c_r(k),"
+"e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=1"
+"00;if(!n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}retur"
+"n 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;retur"
+"n 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf(\'=\'):-1,n,x;if("
+"i>=0&&m){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,\',\',\'d"
+"yasmf\',m))return n}return 0};s.uns=function(){var s=this,x=s.dynami"
+"cAccountSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,"
+"i;s.un.toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLo"
+"werCase)m=\'\'+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,\';\',\'dy"
+"asf\',m);if(n)s.un=n}i=s.un.indexOf(\',\');s.fun=i<0?s.un:s.un.substri"
+"ng(0,i)};s.t=function(){var s=this,trk=1,tm=new Date,sed=Math&&Math"
+".random?Math.floor(Math.random()*10000000000000):tm.getTime(),sess="
+"\'s\'+Math.floor(tm.getTime()/10800000)%10+sed,yr=tm.getYear(),vt=tm."
+"getDate()+\'/\'+tm.getMonth()+\'/\'+(yr<1900?yr+1900:yr)+\' \'+tm.getHour"
+"s()+\':\'+tm.getMinutes()+\':\'+tm.getSeconds()+\' \'+tm.getDay()+\' \'+tm."
+"getTimezoneOffset(),tfs=s.gtfs(),ta=\'\',q=\'\',qs=\'\';s.uns();if(!s.q){"
+"var tl=tfs.location,x=\'\',c=\'\',v=\'\',p=\'\',bw=\'\',bh=\'\',j=\'1.0\',k=s.c_w"
+"(\'s_cc\',\'true\',0)?\'Y\':\'N\',hp=\'\',ct=\'\',pn=0,ps;if(s.apv>=4)x=screen."
+"width+\'x\'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){j=\'1.1\';"
+"v=s.n.javaEnabled()?\'Y\':\'N\';if(s.apv>=4){j=\'1.2\';c=screen.pixelDept"
+"h;bw=s.wd.innerWidth;bh=s.wd.innerHeight;if(s.apv>=4.06)j=\'1.3\'}}s."
+"pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?\'Y\'"
+":\'N\';j=\'1.2\';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElemen"
+"t.offsetWidth;bh=s.d.documentElement.offsetHeight;j=\'1.3\';if(!s.ism"
+"ac&&s.b){s.b.addBehavior(\'#default#homePage\');hp=s.b.isHomePage(tl)"
+"?\"Y\":\"N\";s.b.addBehavior(\'#default#clientCaps\');ct=s.b.connecti"
+"onType}}}else r=\'\'}if(s.pl)while(pn<s.pl.length&&pn<30){ps=s.fl(s.p"
+"l[pn].name,100)+\';\';if(p.indexOf(ps)<0)p+=ps;pn++}s.q=(x?\'&s=\'+s.ap"
+"e(x):\'\')+(c?\'&c=\'+s.ape(c):\'\')+(j?\'&j=\'+j:\'\')+(v?\'&v=\'+v:\'\')+(k?\'&k"
+"=\'+k:\'\')+(bw?\'&bw=\'+bw:\'\')+(bh?\'&bh=\'+bh:\'\')+(ct?\'&ct=\'+s.ape(ct):\'"
+"\')+(hp?\'&hp=\'+hp:\'\')+(p?\'&p=\'+s.ape(p):\'\')}if(s.usePlugins)s.doPlug"
+"ins(s);var l=s.wd.location,r=tfs.document.referrer;if(!s.pageURL)s."
+"pageURL=s.fl(l?l:\'\',255);if(!s.referrer)s.referrer=s.fl(r?r:\'\',255)"
+";if(s.lnk||s.eo){var o=s.eo?s.eo:s.lnk;if(!o)return \'\';var p=s.gv(\'"
+"pageName\'),w=1,t=s.ot(o),n=s.oid(o),x=o.s_oidt,h,l,i,oc;if(s.eo&&o="
+"=s.eo){while(o&&!n&&t!=\'BODY\'){o=o.parentElement?o.parentElement:o."
+"parentNode;if(!o)return \'\';t=s.ot(o);n=s.oid(o);x=o.s_oidt}oc=o.onc"
+"lick?\'\'+o.onclick:\'\';if((oc.indexOf(\"s_gs(\")>=0&&oc.indexOf(\".s_"
+"oc(\")<0)||oc.indexOf(\".tl(\")>=0)return \'\'}ta=o.target;h=o.href?o"
+".href:\'\';i=h.indexOf(\'?\');h=s.linkLeaveQueryString||i<0?h:h.substri"
+"ng(0,i);l=s.linkName?s.linkName:s.ln(h);t=s.linkType?s.linkType.toL"
+"owerCase():s.lt(h);if(t&&(h||l))q+=\'&pe=lnk_\'+(t==\'d\'||t==\'e\'?s.ape"
+"(t):\'o\')+(h?\'&pev1=\'+s.ape(h):\'\')+(l?\'&pev2=\'+s.ape(l):\'\');else trk"
+"=0;if(s.trackInlineStats){if(!p){p=s.gv(\'pageURL\');w=0}t=s.ot(o);i="
+"o.sourceIndex;if(s.gg(\'objectID\')){n=s.gg(\'objectID\');x=1;i=1}if(p&"
+"&n&&t)qs=\'&pid=\'+s.ape(s.fl(p,255))+(w?\'&pidt=\'+w:\'\')+\'&oid=\'+s.ape"
+"(s.fl(n,100))+(x?\'&oidt=\'+x:\'\')+\'&ot=\'+s.ape(t)+(i?\'&oi=\'+i:\'\')}}if"
+"(!trk&&!qs)return \'\';var code=\'\';if(trk&&s.vs(sed))code=s.mr(sess,("
+"vt?\'&t=\'+s.ape(vt):\'\')+s.hav()+q+(qs?qs:s.rq(s.un)),ta);s.sq(trk?\'\'"
+":qs);s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=\'\';return cod"
+"e};s.tl=function(o,t,n){var s=this;s.lnk=s.co(o);s.linkType=t;s.lin"
+"kName=n;s.t()};s.ssl=(s.wd.location.protocol.toLowerCase().indexOf("
+"\'https\')>=0);s.d=document;s.b=s.d.body;s.n=navigator;s.u=s.n.userAg"
+"ent;s.ns6=s.u.indexOf(\'Netscape6/\');var apn=s.n.appName,v=s.n.appVe"
+"rsion,ie=v.indexOf(\'MSIE \'),i;if(v.indexOf(\'Opera\')>=0||s.u.indexOf"
+"(\'Opera\')>=0)apn=\'Opera\';s.isie=(apn==\'Microsoft Internet Explorer\'"
+");s.isns=(apn==\'Netscape\');s.isopera=(apn==\'Opera\');s.ismac=(s.u.in"
+"dexOf(\'Mac\')>=0);if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s."
+"apv>3)s.apv=parseFloat(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.subs"
+"tring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(String.fromChar"
+"Code){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i==\'%C"
+"4%80\'?2:(i==\'%U0100\'?1:0))}s.un=un;s.uns();s.vl_l=\'charSet,visitorN"
+"amespace,cookieDomainPeriods,cookieLifetime,visitVariableProvider,p"
+"ageName,pageURL,referrer,currencyCode,purchaseID\';s.vl_t=s.vl_l+\',c"
+"hannel,server,pageType,campaign,state,zip,events,products,linkName,"
+"linkType\';for(var n=1;n<51;n++)s.vl_t+=\',prop\'+n+\',eVar\'+n+\',hier\'+"
+"n;s.vl_g=s.vl_t+\',trackDownloadLinks,trackExternalLinks,trackInline"
+"Stats,linkLeaveQueryString,linkDownloadFileTypes,linkExternalFilter"
+"s,linkInternalFilters,linkNames\';if(pg)s.gl(s.vl_g);if(!ss){s.wds()"
+";s.ca()}}",
l=window.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf(
\'MSIE \'),m=u.indexOf(\'Netscape6/\'),a,i,s;if(l)for(i=0;i<l.length;i++){
s=l[i];s.uns();if(s.un==un)return s;else if(s.pt(s.un,\',\',\'isf\',un)){
s=s.co(s);s.un=un;s.uns();return s}}if(e>0){a=parseInt(i=v.substring(e
+5));if(a>3)a=parseFloat(i)}else if(m>0)a=parseFloat(u.substring(m+10)
);else a=parseFloat(v);if(a>=5&&v.indexOf(\'Opera\')<0&&u.indexOf(
\'Opera\')<0){eval(c);return new s_c(un,pg,ss)}else s=s_c2f(c);return s(
un,pg,ss)}
var s_code=s.t();if(s_code)document.write(s_code)
//--></script>
<noscript><img src="',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'dw_protocol',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => 'ads_account',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '.112.2O7.net/b/ss/',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'ads_account',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/1/H.1--NS/0?',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'OMNI_NOSCRIPT',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'var',
},
{ # HASH with 3 keys
data => '" height="1" width="1" border="0" alt=""></noscript>
',
source => '/spln/src/media/mmod/ads/omniture_js.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '2',
source => '/ads/omniture_js',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
</td></tr></table></div>
',
source => '/spln/src/media/mmod/ads/ncaasports/omniture.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/ads/ncaasports/omniture',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/script-capabilities',
type => 'new_frame',
},
{ # HASH with 3 keys
data => '<script language="JScript" for="Player" event="ScriptCommand(scType, Param)">
scLog(scType,Param);
log(\'event > ScriptCommand > \'+scType,Param);
displayAd(Param);
</script>
<script language="JScript" for="Player" event="PlayStateChange(NewState)">
stateChange(NewState);
</script>
<script language="JScript" for="Player" event="OpenStateChange(NewState)">
openStateChange(NewState);
</script>
<script language="JScript" for="Player" event="StatusChange()">
statusChange();
</script>
<!-- Detect event support -->
<script language="JScript" for="Player" event="currentItemChange()">
log(\'event > currentItemChange\',Player.currentMedia.name);
</script>
<script language="JScript" for="Player" event="CurrentMediaItemAvailable(bstrItemName)">
log(\'event > CurrentMediaItemAvailable\',bstrItemName);
</script>
<script language="JScript" for="Player" event="CurrentPlaylistChange(change)">
log(\'event > CurrentPlaylistChange\',change);
</script>
<script language="JScript" for="Player" event="CurrentPlaylistItemAvailable(bstrItemName)">
log(\'event > CurrentPlaylistItemAvailable\',bstrItemName);
</script>
<script language="JScript" for="Player" event="MarkerHit(MarkerNum)">
log(\'event > MarkerHit\',MarkerNum);
</script>
<script language="JScript" for="Player" event="MediaChange()">
log(\'event > MediaChange\', \'yes\');
</script>
<script language="JScript" for="Player" event="MediaCollectionAttributeStringAdded(bstrAttribName, bstrAttribVal)">
log(\'event > MediaCollectionAttributeStringAdded\',bstrAttribName+\'=\'+bstrAttribVal);
</script>
<script language="JScript" for="Player" event="MediaCollectionAttributeStringChanged(bstrAttribName, bstrOldAttribVal, bstrNewAttribVal)">
log(\'event > MediaCollectionAttributeStringChanged\',bstrAttribName+\'=\'+bstrOldAttribVal+\'->\'+bstrNewAttribVal);
</script>
<script language="JScript" for="Player" event="MediaCollectionAttributeStringRemoved(bstrAttribName, bstrAttribVal)">
log(\'event > MediaCollectionAttributeStringRemoved\',bstrAttribName+\'=\'+bstrAttribVal);
</script>
<script language="JScript" for="Player" event="MediaCollectionChange()">
log(\'event > MediaCollectionChange\',null);
</script>
<script language="JScript" for="Player" event="MediaCollectionMediaAdded(pdispMedia)">
log(\'event > MediaCollectionMediaAdded\',pdispMedia);
</script>
<script language="JScript" for="Player" event="MediaCollectionMediaRemoved(pdispMedia)">
log(\'event > MediaCollectionMediaRemoved\',pdispMedia);
</script>
<script language="JScript" for="Player" event="MediaError(pMediaObject)">
log(\'event > MediaError\',pMediaObject);
</script>
<script language="JScript" for="Player" event="PlaylistChange(Playlist, change)">
var playlistChangeLabels = [\'Unknown\',\'Clear\',\'InfoChange\',\'Move\',\'Delete\',\'Insert\',\'Append\',\'Not supported\',\'NameChange\',\'Not supported\',\'Sort\'];
log(\'event > PlaylistChange > \'+Playlist,playlistChangeLabels[change]);
</script>
<script language="JScript" for="Player" event="PlaylistCollectionChange()">
log(\'event > PlaylistCollectionChange\',null);
</script>
<script language="JScript" for="Player" event="PlaylistCollectionPlaylistAdded(bstrPlaylistName)">
log(\'event > PlaylistCollectionPlaylistAdded\',bstrPlaylistName);
</script>
<script language="JScript" for="Player" event="PlaylistCollectionPlaylistRemoved(bstrPlaylistName)">
log(\'event > PlaylistCollectionPlaylistRemoved\',bstrPlaylistName);
</script>
<script language="JScript" for="Player" event="StringCollectionChange(pdispStringCollection, change, lCollectionIndex)">
var stringCollectionChangeLabels = [\'Unknown\',\'An item was inserted.\',\'The string collection changed.\',\'An item was deleted.\',\'The string collection was cleared.\',\'Bulk updates are beginning.\',\'Bulk updates have ended.\'];
log(\'event > StringCollectionChange > \'+pdispStringCollection,lCollectionIndex+\':\'+stringCollectionChangeLabels[change]);
</script>
',
source => '/spln/src/media/mmod/video/player/script-capabilities.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/script-capabilities',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/highlights',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/video/player/highlights.pl',
pack => 'mmod::video::player::highlights',
source => '/spln/src/media/mmod/video/player/highlights.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => '<div id="historical-highlights" class="highlights-box">
<ol id="carousel">
',
source => '/spln/src/media/mmod/video/player/highlights.html',
type => 'html',
},
{ # HASH with 5 keys
args => undef,
data => 'print_highlights',
pack => 'mmod::video::player::highlights',
source => '/spln/src/media/mmod/video/player/highlights.html',
type => 'sub',
},
{ # HASH with 3 keys
data => '
</ol>
</div>
<script type="text/javascript">
(function () {
var carousel;
YAHOO.util.Event.onDOMReady(function (ev) {
var carousel = new YAHOO.widget.Carousel("historical-highlights", {
firstVisible:0,
numVisible:4,
scrollIncrement:4,
isCircular: false,
animation: { speed: 0.5 }
});
carousel.CONFIG.ITEM_LOADING= "Loading...";
carousel.CONFIG.MAX_PAGER_BUTTONS=10; // maximum # pager buttons allowed beyond which drop-down instead
carousel.render(); // get ready for rendering the widget
carousel.show(); // display the widget
});
})();
</script>',
source => '/spln/src/media/mmod/video/player/highlights.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/highlights',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/scorescarousel',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/video/player/scorescarousel.pl',
pack => 'mmod::video::player::scorescarousel',
source => '/spln/src/media/mmod/video/player/scorescarousel.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => '<div id="scores" class="highlights-box scores-carousel-item"><ol id="scores-carousel"></ol></div>
',
source => '/spln/src/media/mmod/video/player/scorescarousel.html',
type => 'html',
},
{ # HASH with 5 keys
args => undef,
data => 'print_scores_carouselwidget_placeholders',
pack => 'mmod::video::player::scorescarousel',
source => '/spln/src/media/mmod/video/player/scorescarousel.html',
type => 'sub',
},
{ # HASH with 3 keys
data => '
<script type="text/javascript">
(function () {
var carousel;
YAHOO.util.Event.onDOMReady(function (ev) {
var carousel = new YAHOO.widget.Carousel("scores", {
firstVisible:0,
numVisible:4,
scrollIncrement:4,
isCircular: false,
animation: { speed: 0.5 }
});
carousel.CONFIG.ITEM_LOADING= "Loading...";
carousel.CONFIG.MAX_PAGER_BUTTONS=10; // maximum # pager buttons allowed beyond which drop-down instead
carousel.render(); // get ready for rendering the widget
carousel.show(); // display the widget
});
})();
</script>
',
source => '/spln/src/media/mmod/video/player/scorescarousel.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/scorescarousel',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/wmp',
type => 'new_frame',
},
{ # HASH with 3 keys
data => ' <div id="playerBody">
<div id="position-slider-bg" class="yui-h-slider" tabindex="-1" title="Cue Point" border="0">
<div id="position-slider-thumb" class="yui-slider-thumb"></div>
</div>
<div id="volume-slider-bg" class="yui-h-slider" tabindex="-1" title="Volume">
<div id="volume-slider-thumb" class="yui-slider-thumb"></div>
</div>
<div id="myPlayerSlate"></div>
<div id="myPlayer"></div>
<div id="myInfo">
<div id="playStateCnt"> </div>
<div id="myText"></div>
</div>
<div id="myVolumeInfo"></div>
<div id="playerControls">
<div id="playerPlayStop">
<a id="play-button" href="javascript:void(0);" onClick="play(); return false;"></a>
</div>
<div id="playerFullScreen">
<a id="fullscreen-button" href="javascript:void(0);" onClick="fullScreen(); return false;"></a>
</div>
<div id="playerMute">
<a id="mute-button" href="javascript:void(0);" onClick="mute(); return false;"></a>
</div>
</div>
<div id="performanceAlert"><a href="" target="_blank" id="alertSponsorLink" border="0"><img src="',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/spacer.gif" width="50" height="22" border="0" alt="" id="alertSponsorImg" name="alertSponsorImg"></a><span id="alertText"></span><img src="',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/spacer.gif" width="1" height="1" border="2" alt="" id="alertSponsorTracker" name="alertSponsorTracker"></div>
<div id="bossSponsor"></div>
<div id="playerButtons">
<div id="bossButton">
<a id="boss-button" href="javascript:void(0);" onClick="loadBossBtnCnt(); return false;"></a>
</div>
<div id="shareButton">
<a id="share-button"
href="/email/index?location=http://mmod.ncaa.com&title=NCAA(R)%20March%20Madness(R)%20on%20Demand&description=NCAA(R)%20March%20Madness(R)%20on Demand%20-%20Watch%20LIVE%20game%20broadcasts%20for%20FREE!" target="_blank"
onMouseOver="shareLinks.prototype.showButtons();"
onMouseOut="shareLinks.prototype.hideButtons();"></a>
</div>
<div id="shareBoxi" class="shareBoxi">
<div class="knob"></div>
<div id="shareBoxiBorder">
<a id="share-facebook" class="link" href="http://www.facebook.com/share.php?u=http://mmod.ncaa.com/"
onclick="return fbs_click()"
onMouseOver="shareLinks.prototype.showButtons(\'\');"
onMouseOut="shareLinks.prototype.hideButtons();" target="_blank"></a>
<a id="share-digg" class="link" href="http://digg.com/submit?phase=2&url=http://mmod.ncaa.com/&title=NCAA March Madness on Demand"
onClick="return digg_click()"
onMouseOver="shareLinks.prototype.showButtons(\'\');"
onMouseOut="shareLinks.prototype.hideButtons();" target="_blank"></a>
<a id="share-delicious" class="link" href="http://del.icio.us/post?v=4&noui&jump=close&url=http://mmod.ncaa.com/&title=NCAA March Madness on Demand"
onMouseOver="shareLinks.prototype.showButtons(\'\');"
onMouseOut="shareLinks.prototype.hideButtons();" target="_blank"></a>
<a id="share-yahoo" class="link" href="javascript: void(0);"
onMouseOver="shareLinks.prototype.showButtons(\'\');"
onMouseOut="shareLinks.prototype.hideButtons();"
onclick="window.open(\'http://myweb.yahoo.com/myresults/bookmarklet?t=\'+escape(\'\')+\'&u=\'+escape(\'http://mmod.ncaa.com/\'),\'popup\',\'width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50\',0);"></a>
</div>
</div>
<div id="helpButton">
<a id="help-button" href="javascript:void(0);" onClick="javascript:window.open(\'http://mmod.ncaa.com/help?referurl=/\',\'h_link\',\'width=790,height=650,menubar=no,locationbar=no,status=no,resizable=yes,scrollbars=yes\');return false;"></a>
</div>
</div>
<div id="HQButton">
</div>
<div id="nowPlayingBox">
<br>
<img src="',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/final4logo.jpg" alt="2009 Final Four Logo" width="141" height="147" border="0">
</div>
<div id="ncaaLinks">
',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'mmod/video/player/ncaa-links.html',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'insert',
},
{ # HASH with 3 keys
data => '
</div>
</div>
<script type="text/javascript">
function sliderInit(bg, thumb, valuearea, textfield, sliderName, top, bottom, sliderScale, sliderIncrement, sliderTick, sliderInitial) {
var Event = YAHOO.util.Event,
Dom = YAHOO.util.Dom,
lang = YAHOO.lang,
slider;
// The slider can move 0 pixels up
var topConstraint = top;
// The slider can move 200 pixels down
var bottomConstraint = bottom;
// Custom scale factor for converting the pixel offset into a real value
var scaleFactor = sliderScale;
// The amount the slider moves when the value is changed with the arrow
// keys
var keyIncrement = sliderIncrement;
Event.onDOMReady(function() {
slider = YAHOO.widget.Slider.getHorizSlider(bg, thumb, topConstraint, bottomConstraint);
slider.animate=1;
slider.MySliderName = sliderName;
slider.getRealValue = function() {
return Math.round(this.getValue() * scaleFactor);
}
slider.subscribe("change", function(offsetFromStart) {
var valnode = Dom.get(valuearea);
var fld = Dom.get(textfield);
// Display the pixel value of the control
valnode.innerHTML = offsetFromStart;
// use the scale factor to convert the pixel offset into a real
// value
var actualValue = slider.getRealValue();
// update the text box with the actual value
fld.value = actualValue;
// Update the title attribute on the background. This helps assistive
// technology to communicate the state change
Dom.get(bg).title = "slider value = " + actualValue;
Dom.get("NameDiv").innerHTML = this.MySliderName;
if (this.MySliderName == \'volume-slider\') {
setVolume(actualValue);
}
});
slider.subscribe("slideStart", function() {
YAHOO.log("slideStart fired", "warn");
if (this.MySliderName == \'position-slider\'){
clearInterval(timer);
}
});
slider.subscribe("slideEnd", function() {
YAHOO.log("slideEnd fired", "warn");
if (this.MySliderName == \'position-slider\'){
slider.scrubVideo();
timer = window.setInterval("runTime()",100);
}
});
slider.scrubVideo = function(){
var media = Player.controls.currentItem;
if (!media) {return false;}
var mediaParams = {};
for (var i=0;i < media.attributeCount; i++) {
mediaParams[media.getAttributeName(i)] = media.getItemInfo(media.getAttributeName(i));
}
if (Player.controls){
posX = Math.round(this.getValue());
stepSize = bottom / Player.controls.currentItem.duration;
if (mediaParams.id != \'ad\') {
Player.controls.currentPosition = posX / stepSize;
}
}
};
// set an initial value
slider.setValue(sliderInitial);
// Listen for keystrokes on the form field that displays the
// control\'s value. While not provided by default, having a
// form field with the slider is a good way to help keep your
// application accessible.
Event.on(textfield, "keydown", function(e) {
// set the value when the \'return\' key is detected
if (Event.getCharCode(e) === 13) {
var v = parseFloat(this.value, 10);
v = (lang.isNumber(v)) ? v : 0;
// convert the real value into a pixel offset
slider.setValue(Math.round(v/scaleFactor));
}
});
// Use setValue to reset the value to white:
Event.on("putval", "click", function(e) {
slider.setValue(100, false); //false here means to animate if possible
});
// Use the "get" method to get the current offset from the slider\'s start
// position in pixels. By applying the scale factor, we can translate this
// into a "real value
Event.on("getval", "click", function(e) {
YAHOO.log("Current value: " + slider.getValue() + "\n" +
"Converted value: " + slider.getRealValue(), "info", "example");
});
});
return slider;
};
//]]>
</script>
<script type="text/javascript" defer="defer">
if (window.addEventListener) {
window.addEventListener("load", init, false);
} else if (window.attachEvent) {
window.attachEvent("onload", init);
} else {
window.onload = init;
}
</script>
<div id="stateFarm"></div>
<div id="bossBtnCnt"><a href="javascript:void(0);" onClick="unloadBossBtnCnt(); return false;"><img src="',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/boss.png" width="1000" height="630" border="0" alt="Click to Resume Play"></a></div>
<div id="inactiveCheck"><a href="javascript:void(0);" onclick="InactivityClear(); return false;"><img src="',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/slate-active.jpg" alt="Click to Continue" width="640" height="360" border="0"></a></div>
<div id="sponsors"></div>
',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '2',
source => '/video/player/1x1',
type => 'new_frame',
},
{ # HASH with 3 keys
frame => '2',
source => '/video/player/1x1',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
<table width="4" border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td><img name="bossTracker" id="bossTracker" src="http://images.sportsline.com/images/spacer.gif" width="1" height="1" border="0" alt="boss button activation tracker"></td>
<td><img name="audioTracker" id="audioTracker" src="http://images.sportsline.com/images/spacer.gif" width="1" height="1" border="0" alt="audio only activation tracker"></td>
</tr></tbody></table>
',
source => '/spln/src/media/mmod/video/player/wmp.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/wmp',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
<div id="tabLabel">Previous Years</div>
<div id="tabSelect">
<div id="tabSelectLabel">Watch:</div>
<div id="tabSelectOptions">
<a id="tab-live" href="javascript:void(0);" onClick="selectTab(\'live\'); return false;">Today\'s Games</a><br>
<a id="tab-highlight" href="javascript:void(0);" onClick="selectTab(\'high\'); return false;">Previous Years</a>
</div>
</div>
<div id="adCnt">
<iframe src="',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 5 keys
args => undef,
data => 'print_ad_path',
pack => 'mmod::video::player::index',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'sub',
},
{ # HASH with 3 keys
data => '" name="compAdIframe" id="compAdIframe" width="160" height="600" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe>
</div>
<div id="gamesPullDown">
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 5 keys
args => undef,
data => 'print_games_pulldown',
pack => 'mmod::video::player::index',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'sub',
},
{ # HASH with 3 keys
data => '
</div>
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/wmp-debug',
type => 'new_frame',
},
{ # HASH with 3 keys
data => '
<div id="playerDebug">
<h3>Video Source</h3>
<div class="sources">
<div style="color: green; font-weight: bold;">NOTE: You can only view the options for live feeds from within a sandbox - viewing a live local feed from an encoder running on your computer from the production url <u>will not work</u> - the proxy messes up the generated URL for the media file.</div>
<div class="srcSelector">
<input type="radio" name="srcSelected" id="srcSelected-liveOnly"
value="liveOnly" onclick="changeSrc(eval(this.value));">
<label for="srcSelected-liveOnly">Live Feed - Encoder must be running on your pc (<span style="color:blue;">http://',
source => '/spln/src/media/mmod/video/player/wmp-debug.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'local_ip',
source => '/spln/src/media/mmod/video/player/wmp-debug.html',
type => 'var',
},
{ # HASH with 3 keys
data => ':8080</span>)</label>
</div>
<div class="srcSelector">
<input type="radio" name="srcSelected" id="srcSelected-preWithLive"
value="preWithLive"
onclick="changeSrc(eval(this.value));">
<label for="srcSelected-preWithLive">Preroll with Live Feed (<span style="color:red;">encoder must be running</span>)</label>
</div>
<div class="srcSelector">
<input type="radio" name="srcSelected" id="srcSelected-preOnly"
value="preOnly"
onclick="changeSrc(eval(this.value));"
checked>
<label for="srcSelected-preOnly">Preroll Only</label>
</div>
<div class="srcSelector">
<input type="radio" name="srcSelected" id="srcSelected-custom" value="">
<input type="text" name="srcCustom" id="srcCustom" value="Enter video URL"
onfocus="this.value=(this.value == \'Enter video URL\') ? \'\' : this.value;"
onblur="this.value=(this.value == \'\') ? \'Enter video URL\' : this.value;">
<input type="button" value="GO" id="srcCustomSend" onclick="var value = document.getElementById(\'srcCustom\').value; if ( (value != \'\') && (value != \'Enter video URL\') ) { changeSrc(value); } document.getElementById(\'srcSelected-preOnly\').checked = false; document.getElementById(\'srcSelected-liveOnly\').checked = false; document.getElementById(\'srcSelected-preWithLive\').checked = false; play(); return false; ">
</div>
</div>
<h3>Player Log <small><a href="#" onclick="document.getElementById(\'logDiv\').innerHTML = \'\'; return false;">(clear)</a></small><small class="absRight"><input type="checkbox" name="scrollLog" id="scrollLog" value="1" checked><label for="scrollLog">AutoScroll</label></small></h3>
<div id="logDiv"></div>
<h3>scriptCommand Log <small><a href="#" onclick="document.getElementById(\'scLogDiv\').innerHTML = \'\'; return false;">(clear)</a></small><small class="absRight"><input type="checkbox" name="scrollSCLog" id="scrollSCLog" value="1" checked><label for="scrollSCLog">AutoScroll</label></small></h3>
<div id="scLogDiv"></div>
<p>
Slider "<span id="NameDiv"></span>" <br>
pixel value: <span id="slider-value">0</span><br>
Volume Scaled: <input id="volume-converted-value" type="text" value="0" size="4" maxlength="4" /><br>
Position: <input id="position-converted-value" type="text" value="0" size="4" maxlength="4" />
</p>
</div> ',
source => '/spln/src/media/mmod/video/player/wmp-debug.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/wmp-debug',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
<div id="debugInfo">
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/debug',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/debug.pl',
pack => 'mmod::debug',
source => '/spln/src/media/mmod/debug.pl',
type => 'perl',
},
{ # HASH with 3 keys
frame => '1',
source => '/debug',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
</div>
<a id="cbssports-link" href="http://www.cbssports.com" target="_blank" style="position:absolute;width:140px;height:35px;top:140px;left:1px;"></a>
<a id="ncaa-logo-link" href="http://www.ncaa.com" target="_blank" style="position:absolute;width:140px;height:140px;top:1px;left:1px;"></a>
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/scores',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/video/player/scores.pl',
pack => 'mmod::video::player::scores',
source => '/spln/src/media/mmod/video/player/scores.pl',
type => 'perl',
},
{ # HASH with 3 keys
frame => '2',
source => '/timezone',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/timezone.pl',
pack => 'mmod::timezone',
source => '/spln/src/media/mmod/timezone.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => '<script>
/*These must be here because this file is used in places that do not use script.html*/
var IE_tz = (document.all) ? 1 : 0;
var MAC_tz = ((navigator.appVersion.indexOf("PPC") >0) || (navigator.appVersion.indexOf("Mac") >0)) ? 1 : 0;
var DAYS = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var days = new Array("Sun", "Mon", "Tues", "Wed", "Thurs", "Fri", "Sat");
var MONTHS = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var months = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
var tzOffset = "',
source => '/spln/src/media/mmod/timezone.html',
type => 'html',
},
{ # HASH with 5 keys
args => '',
data => 'get_tz_offset',
pack => 'mmod::timezone',
source => '/spln/src/media/mmod/timezone.html',
type => 'sub',
},
{ # HASH with 3 keys
data => '";
var tzAbbrev = \'',
source => '/spln/src/media/mmod/timezone.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'tzone_abbrev',
source => '/spln/src/media/mmod/timezone.html',
type => 'var',
},
{ # HASH with 3 keys
data => '\';
if(tzOffset.charAt(0) == "<")
tzOffset = "-1";
tzOffset = parseInt(tzOffset);
function formatTime(format, gmtTime){
gmtTime = new String(gmtTime);
if(!parseInt(gmtTime) || gmtTime.indexOf(\':\') != -1 || gmtTime.indexOf(\'.\') != -1)
return gmtTime;
var time;
var offset = 0;
if(tzOffset != -1 && tzOffset != new Date().getTimezoneOffset()){
offset = 60 * (new Date().getTimezoneOffset() - (tzOffset * 60));
}
time = new Date((parseInt(gmtTime) + parseInt(offset))*1000);
var t = \'\';
var H = time.getHours();
var M = time.getMinutes();
var S = time.getSeconds();
var d = time.getDate();
var m = time.getMonth();
var w = time.getDay();
var Y = time.getYear();
//This will need to be adjusted every year
if(MAC_tz && IE_tz && (time<Date.parse(\'Sun Oct 31 01:00:00 EDT 2004\') || time>Date.parse(\'Sun Apr 3 01:00:00 EDT 2005\')) && tzOffset != -1 && tzOffset!=4){
time = new Date(time - (60*60*1000));
var H = time.getHours();
var M = time.getMinutes();
var S = time.getSeconds();
var d = time.getDate();
var m = time.getMonth();
var w = time.getDay();
var Y = time.getYear();
}
if(Y<1900){Y+=1900;}
var y = Y % 100;
for(var i=0;i<format.length;i++){
if(format.charAt(i)==\'%\' && (i+1)<format.length){
var c = format.charAt(i+1);
switch(c){
case \'a\':{ t+=days[w]; break; }
case \'A\':{ t+=DAYS[w]; break; }
case \'b\':{ t+=months[m]; break; }
case \'B\':{ t+=MONTHS[m]; break; }
case \'d\':{ if(d<10){ t+=\'0\';} t+=new String(d); break;}
case \'D\':{ t+=new String(d); break;}
case \'H\':{ t+=new String(H); break;}
case \'I\':{ if(H>12){ t+=new String(H - 12); }else if(H==0){ t+=\'12\'; }else{ t+=new String(H); }break; }
case \'m\':{ t+=new String(m+1); break;}
case \'n\':{ if(m<9){ t+=\'0\';} t+=new String(m+1); break;}
case \'M\':{ if(M<10){ t+=\'0\';} t+=new String(M); break;}
case \'p\':{ if(H<12){ t+=\'am\';}else{ t+=\'pm\' } break;}
case \'S\':{ if(S<10){ t+=\'0\';} t+=new String(S); break;}
case \'w\':{ t+=w; break; }
case \'y\':{ if(y<10){ t+=\'0\';} t+=new String(y); break;}
case \'Y\':{ t+=new String(Y); break;}
case \'Z\':{ t+=new String(tzAbbrev); break;}
case \'%\':{ t+=\'%\'; break;}
}
i++;
}else{
t+=format.charAt(i);
}
}
return t;
}
function phhmm(gmt){
document.write(formatTime(\'%I:%M %p\',gmt));
}
function pMD(gmt){
document.write(formatTime(\'%m/%d\',gmt));
}
</script>
',
source => '/spln/src/media/mmod/timezone.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '2',
source => '/timezone',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
<script type="text/javascript">
/**
* Current date view setting
*/
var gDate = {
gameday: "',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'game_day',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => '",
currentView: null
}
/**
* DOM Utility Functions
*/
function clearChildNodes(id){
var obj = YAHOO.util.Dom.get(id);
while(obj.hasChildNodes()==true){
obj.removeChild(obj.childNodes[0]);
}
}
/**
* Sorts gamelist by chronological order using start times
*/
function byStartTime(a,b){
var gameStart1 = atl[a].start_time;
var gameStart2 = atl[b].start_time;
if (atl[a].status == "F") { return 1; }
else if (atl[b].status == "F") { return -1; }
else if (gameStart1 > gameStart2) { return 1; }
else if (gameStart1 < gameStart2) { return -1; }
return 0;
}
/**
* Performance Alert
* For March: http://ad.doubleclick.net/ad/ncaasports/;adid=212256764;sz=1x1;ord=\'+random+\'?
* For April: http://ad.doubleclick.net/ad/ncaasports/;adid=212256763;sz=1x1;ord=\'+random+\'?
*/
var leagueAlert = {
isSponsored: false,
message: null,
currSponsorID: null,
DomDivElement: YAHOO.util.Dom.get(\'performanceAlert\'),
DomLinkElement: YAHOO.util.Dom.get(\'alertSponsorLink\'),
DomImgElement: YAHOO.util.Dom.get(\'alertSponsorImg\'),
Dom1x1Element: YAHOO.util.Dom.get(\'alertSponsorTracker\'),
DomHTMLElement: YAHOO.util.Dom.get(\'alertText\'),
//no sponsor
trackerLink: \'\',
trackerImg: \'',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/spacer.gif\',
//Pontiac
linkSponsor1: \'http://ad.doubleclick.net/clk;212256764;31708918;l?http://ad.doubleclick.net/clk;212536360;33538056;a\',
imgSponsor1: \'',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/alert-logo-pontiac.gif\',
dclk1x1Sponsor1: \'http://ad.doubleclick.net/ad/ncaasports/;adid=xxx;adid=212256764;sz=1x1;ord=\',
//Exxon
linkSponsor2: \'http://ad.doubleclick.net/clk;211833098;31708918;l?http://ad.doubleclick.net/clk;212478077;33787968;c\',
imgSponsor2: \'',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'IMAGE_SERVER',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => '/images/mmod/video/player/alert-logo-exxon.gif\',
dclk1x1Sponsor2: \'http://ad.doubleclick.net/ad/ncaasports/;adid=xxx;adid=211833098;sz=1x1;ord=\',
setSponsorStatus: function(flag) {
this.isSponsored = (flag == \'1\' || flag == \'2\') ? true : false;
this.currSponsorID = flag;
},
getRandomNumber: function() {
var ran_number= Math.random() + \'\';
ran_number = ran_number.substring(2, ran_number.length);
return ran_number;
},
handleMsg: function(msg) {
//if the message is the same, don\'t do anything
if (msg == \'\' || msg == leagueAlert.message) {
return;
}
//hide message
else if (msg == \'-1\') {
this.hideMsg();
this.message = \'\';
}
//evaluate msg and write contents
else {
this.writeMsg(msg);
this.message = msg;
}
},
writeMsg: function(msg) {
var msgParts = msg.split(\'|\');
var alert_text = msgParts[0];
alert_text = alert_text.replace(/´/g, "\'");
var randomNum = this.getRandomNumber();
var sponsorship_flag = msgParts[1];
this.setSponsorStatus(sponsorship_flag);
//sponsored
if (this.isSponsored) {
if (this.currSponsorID == \'1\') {
this.DomImgElement.src = this.imgSponsor1;
this.DomLinkElement.href = this.linkSponsor1;
this.Dom1x1Element.src = this.dclk1x1Sponsor1 + randomNum + \'?\';
this.DomLinkElement.style.display = \'inline\';
}
else if (this.currSponsorID == \'2\') {
this.DomImgElement.src = this.imgSponsor2;
this.DomLinkElement.href = this.linkSponsor2;
this.Dom1x1Element.src = this.dclk1x1Sponsor2 + randomNum + \'?\';
this.DomLinkElement.style.display = \'inline\';
}
}
//no sponsor
else {
this.DomImgElement.src = this.trackerImg;
this.DomLinkElement.href = this.trackerLink;
this.DomLinkElement.style.display = \'none\';
}
this.DomHTMLElement.innerHTML = alert_text;
this.displayMsg();
},
displayMsg: function(){
this.DomDivElement.style.display = \'block\';
},
hideMsg: function(){
this.DomDivElement.style.display = \'none\';
}
}
/**
* MM Edge Analysis links
*/
var mmEdgeLinks = {
showIfActive: ',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'show_pregame_analysis_link',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => ',
regionTeams: ',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'team_to_region_map',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => ',
byDate: {},
mapDatesToType: function() {
var sel = YAHOO.util.Dom.get(\'games_pulldown_option\');
var selOptionsLength = sel.length;
for (var i=0; i < selOptionsLength; i++) {
var date = sel.options[i].value;
var label = sel.options[i].text;
mmEdgeLinks.byDate[date] = {};
if (label.match(/(Final Four|Championship)/)) {
this.byDate[date].analysisURL = \'finalfour\';
}
else if (label.match(/(Elite|Sweet|Round 1|Round 2)/)) {
this.byDate[date].analysisURL = \'region\';
}
}
},
buildLink: function(date, awayabbr, homeabbr){
var type = this.byDate[date].analysisURL;
var link = false;
if (!awayabbr || !homeabbr) {
return false;
}
if (typeof(type) == "undefined") {
return false;
}
else if ( (type == \'region\') && (typeof(this.regionTeams[homeabbr]) != "undefined") ) {
var region = this.regionTeams[homeabbr];
region = region.toLowerCase();
link = "http://www.cbssports.com/collegebasketball/mayhem/edge/" + region + "/" + homeabbr + "/" + awayabbr;
}
else if (type == \'finalfour\') {
link = "http://www.cbssports.com/collegebasketball/mayhem/edge/finalfour/" + homeabbr + "/" + awayabbr;
}
return link;
}
}
/**
* Game order object
*/
var atlGameOrder = {};
function gameOrder(date){
this.date = date;
this.data = null;
this.gamelist = [];
this.init = false;
}
gameOrder.prototype.parseData = function(datastr) {
var games = datastr.split(\'~\');
var size = games.length;
for (var i=0; i<size; i++) {
var gamearr = games[i].split(\'|\');
var gid = gamearr[0];
this.gamelist.push(gid);
}
this.init = true;
this.data = datastr;
}
/**
* ATL Object
*/
var atl = {};
function parseATL(datastr, gamedate){
//if not date specified, default to gameday
if (typeof(gamedate) == "undefined") {
gamedate = gDate.gameday;
}
var games=datastr.split(\'~\');
for (var i in games) {
var gamearr = games[i].split(\'|\');
var gid = gamearr[0];
if ( typeof(atl[gid])=="undefined" ) atl[gid] = new ATL(gid, gamedate);
atl[gid].parseData(gamearr);
}
if (typeof(atlGameOrder[gamedate]) == "undefined") {
atlGameOrder[gamedate] = new gameOrder(gamedate);
atlGameOrder[gamedate].parseData(datastr);
atlGameOrder[gamedate].gamelist = atlGameOrder[gDate.currentView].gamelist.sort(byStartTime);
}
}
function ATL(gid, gamedate){
this.gid = gid;
this.gamedate = gamedate || null;
this.init = false;
this.data = null;
this.liveStreamAvailable = false;
this.USTimezone = \'ET\';
this.gcBaseUrl = \'http://www.cbssports.com/collegebasketball/gamecenter/\';
this.edge_link = false;
}
ATL.prototype.parseData = function(data){
if (!this.init) {
this.data = data;
}
var updateGame = 0; //trigger render of game
var updateGameState = 0; //trigger reorder
var size = data.length - 1;
for (var i=size; i>0; i--) {
//atl game initialized, handling updates... ignore blank fields
if (this.init && (data[i] == \'\' || data[i] == this.data[i])) {
continue;
}
var x = this.data[i] = data[i];
switch (i) {
case 1: this.gameabbr = x; break;
case 2: this.awaynick = this.formatTeamName(x); break;
case 3: this.homenick = this.formatTeamName(x); break;
case 4: this.awayabbr = x; break;
case 5: this.homeabbr = x; break;
case 6: this.gamecenter_link = (x == 1) ? true : false; updateGame = 1; break;
case 9: this.preview_link = (x == 1) ? true : false; updateGame = 1; break;
//case 10: this.recap_link //
case 11:
if (x == "F") {
if (this.init && this.status != x) {
updateGameState = 1;
}
this.liveStreamAvailable = false;
}
this.status = x;
updateGame = 1;
break;
case 12: this.statusstr = x; updateGame = 1; break;
case 13: this.periodstr = x; updateGame = 1; break;
case 14: this.awayscore = x; updateGame = 1; break;
case 15: this.homescore = x; updateGame = 1; break;
case 19: this.periodnum = Number(x); updateGame = 1; break;
case 26: this.start_time = x; updateGame = 1; break;
case 41: this.away_medium_name = this.formatTeamName(x); break;
case 42: this.home_medium_name = this.formatTeamName(x); break;
case 51:
this.live_video_id = (x == -1 || x == \'\') ? false : x;
if (this.live_video_id) {
this.liveStreamAvailable = (this.status != "F") ? true : false;
}
updateGame = 1;
break;
case 52: this.archived_video_id = (x == -1 || x == \'\') ? false : x; updateGame = 1; break;
case 53: this.highlights_video_id = (x == -1 || x == \'\') ? false : x; updateGame = 1; break;
case 54: this.buzzer_beater_id = (x == -1 || x == \'\') ? false : x; updateGame = 1; break;
case 55:
this.live_audio_id = (x == -1 || x == \'\') ? false : x;
if (this.live_audio_id) {
this.liveStreamAvailable = (this.status != "F") ? true : false;
}
updateGame = 1;
break;
case 56: this.archived_audio_id = (x == -1 || x == \'\') ? false : x; updateGame = 1; break;
}
}
// Only rerender when active gameday, else from initializeGames()
if ( updateGame && (this.gamedate == gDate.gameday) && (!gLpsBackupMode) && (typeof(atlGameOrder[this.gamedate]) != "undefined") ) {
this.renderGame();
if (updateGameState) {
carouselWidgetsManager.setupReorderQueue(this.gid, this.gamedate);
}
}
if (!this.init) {
if ( (this.status != "F" || this.status != "P") && mmEdgeLinks.showIfActive ) {
this.edge_link = mmEdgeLinks.buildLink(this.gamedate, this.awayabbr, this.homeabbr);
}
this.init = true;
}
}
/**
* Individual Game Rendering
*/
ATL.prototype.renderGame = function(){
var gameid = this.gid;
var awayabbr = this.awayabbr;
var homeabbr = this.homeabbr;
var itemId = \'g\' + this.gid;
var itemIdFound = YAHOO.util.Dom.get(itemId);
var li;
//ELEM FOUND
if (itemIdFound) {
clearChildNodes(itemId);
li = itemIdFound;
}
//ELEM NOT FOUND - NEW CAROUSEL WIDGET
else {
li = document.createElement(\'li\');
}
li.id = \'g\' + gameid;
//STATUS
var div = document.createElement(\'div\');
div.className = \'scores-gamestatus\';
var span = document.createElement(\'span\');
span.className = \'left\';
if (this.status == "S") {
span.innerHTML = formatTime(\'%I:%M %p\', this.start_time) + \' \' + this.USTimezone;
}
else if (this.status == "F") {
var gstatus = this.statusstr;
//OT
if (this.periodnum > 2) {
gstatus += (this.periodnum == 3) ? " | OT" : " | " + this.periodstr;
}
span.innerHTML = gstatus;
}
else {
if (this.periodnum == 1 && this.statusstr == \'0.0\') {
span.innerHTML = "Halftime";
}
else {
var gstatus = this.statusstr + " ";
if (this.statusstr != "TBA") {
gstatus += (this.periodnum == 3) ? "OT" : this.periodstr + " Half";
}
span.innerHTML = gstatus;
}
}
div.appendChild(span);
//POSTGAME GAMECENTER LINK
if (this.status == "F" && this.gamecenter_link) {
span = document.createElement(\'span\');
span.className = \'right\';
span.innerHTML = " <a href=\"" + this.gcBaseUrl + "live/" + this.gameabbr + "\" target=\"_blank\" class=\"scores-textlink\">GameCenter</a>";
div.appendChild(span);
}
li.appendChild(div);
div = document.createElement(\'div\');
div.className = \'floatClear\';
li.appendChild(div);
//TEAMS
var div = document.createElement(\'div\');
div.className = \'scores-team\';
div.innerHTML = this.away_medium_name + "<br>" + this.home_medium_name;
li.appendChild(div);
//SCORE
var div2 = document.createElement(\'div\');
if ( (this.status != "F") && (scoresDisplayController.isGameStreaming(this)) || (this.status == "S") ) {
div2.className = \'scores-score-hide\';
}
else {
div2.className =\'scores-score\';
}
div2.innerHTML = this.awayscore + "<br>" + this.homescore;
li.appendChild(div2);
li.appendChild(div);
div = document.createElement(\'div\');
div.className = \'floatClear\';
li.appendChild(div);
//INGAME LINKS: LIVE GAME AUDIO | STATS
// in cases where the feed may come in before the game starts
if (this.status != "F") {
//AUDIO LINK
if (this.live_audio_id || this.gamecenter_link) {
var channelId = this.live_audio_id;
var div3 = document.createElement(\'div\');
var links = [];
if (this.live_audio_id) {
var aId = \'audio-\' + channelId;
var currClass = (channelId == currentNowPlayingID) ? \'scores-textlink-now-playing\' : \'scores-textlink\';
var link = \'<a id="\' + aId + \'" class="\' + currClass + \'" onclick="changeSrc(\' + \'\'\' +channelId + \'\',\' + \'\'audio\'); updateNowPlaying(\'\' + channelId + \'\',\'\' + homeabbr + \'\',\'\' + awayabbr + \'\', \'audio\'); play();">Game Audio</a>\';
links.push(link);
}
if (this.gamecenter_link) {
var link = \'<a class="scores-textlink" href="\' + this.gcBaseUrl + \'live/\' + this.gameabbr + \'" target="_blank">Stats</a>\';
links.push(link);
}
if (links.length > 0) {
div3.innerHTML = links.join(" | ");
div3.className = \'scores-links\';
}
li.appendChild(div3);
}
//VIDEO BUTTON
if (this.live_video_id){
var channelId = this.live_video_id;
var div4 = document.createElement(\'div\');
div4.className = "watchNowButton";
div4.id = "watchNowButton-" + channelId;
if (channelId != currentNowPlayingID) {
div4.innerHTML = \'<a id="watch-now-button-\' + channelId
+ \'" class="watch-now-button"\'
+ \' onmouseover="this.className=\'watch-now-button-hover\';"\'
+ \' onmouseout="this.className=\'watch-now-button\';"\'
+ \' onclick="changeSrc(\'\' + channelId + \'\', \'live\'); \'
+ \' updateNowPlaying(\'\'
+ channelId + \'\',\'\'
+ awayabbr + \'\',\'\'
+ homeabbr + \'\',\'
+ \'\'live\'\'
+\');play();"></a>\';
}
else {
div4.innerHTML = \'<a id="watch-now-button-\' + channelId + \'" class="now-playing-button"></a>\';
}
li.appendChild(div4);
}
//PREGAME LINKS: PREVIEW | ANALYSIS
else if (this.status == "S") {
var links = [];
if (this.preview_link) {
links.push("<a href=" + this.gcBaseUrl + \'preview/\' + this.gameabbr + \' target="_blank" class="scores-textlink">Preview</a>\');
}
if (this.edge_link) {
links.push(\'<a href="\' + this.edge_link + \'" class="scores-textlink" target="_blank">Analysis</a>\');
}
if (links.length > 0) {
HTML = links.join(" | ");
var div = document.createElement(\'div\');
div.innerHTML = HTML;
li.appendChild(div);
}
}
}
//POSTGAME LINKS:
else if (this.status == "F") {
// HIGHLIGHTS | BUZZER BEATER
var HTML = \'\';
var links = [];
if (this.highlights_video_id) {
var channelId = this.highlights_video_id;
var currClass = (channelId == currentNowPlayingID) ? \'scores-textlink-now-playing\' : \'scores-textlink\';
links.push("<a id=\"highlights-" + channelId + "\" class=\"" + currClass + "\" onclick=\"changeSrc\(\'" + channelId + "\', \'highlights\'\); updateNowPlaying\(\'" + channelId + "\',\'" + homeabbr + "\',\'" + awayabbr + "\', \'highlights\'\);play\(\);\">Highlights</a>");
}
if (this.buzzer_beater_id) {
var channelId = this.buzzer_beater_id;
var currClass = (channelId == currentNowPlayingID) ? \'scores-textlink-now-playing\' : \'scores-textlink\';
links.push("<a id=\"buzzerbeater-" + channelId + "\" class=\"" + currClass + "\" onclick=\"changeSrc\(\'" + channelId + "\', \'buzzerbeater\'\); updateNowPlaying\(\'" + channelId + "\',\'" + homeabbr + "\',\'" + awayabbr + "\', \'buzzerbeater\'\);play\(\);\">Buzzer Beater</a>");
}
if (links.length > 0) {
HTML = links.join(" | ");
HTML += "<br>";
}
// AUDIO | VIDEO
links = [];
if (this.archived_video_id) {
var channelId = this.archived_video_id;
var currClass = (channelId == currentNowPlayingID) ? \'scores-textlink-now-playing\' : \'scores-textlink\';
links.push("<a id=\"fullgame-" + channelId + "\" class=\"" + currClass + "\" onclick=\"changeSrc\(\'" + channelId + "\', \'fullgame\'\); updateNowPlaying\(\'" + channelId + "\',\'" + homeabbr + "\',\'" + awayabbr + "\', \'fullgame\'\);play\(\);\">Video</a>");
}
if (this.archived_audio_id) {
var channelId = this.archived_audio_id;
var currClass = (channelId == currentNowPlayingID) ? \'scores-textlink-now-playing\' : \'scores-textlink\';
links.push("<a id=\"fullgameaudio-" + channelId + "\" class=\"" + currClass + "\" onclick=\"changeSrc\(\'" + channelId + "\', \'fullgameaudio\'\); updateNowPlaying\(\'" + channelId + "\',\'" + homeabbr + "\',\'" + awayabbr + "\', \'fullgameaudio\'\); play\(\);\">Audio</a>");
}
if (links.length > 0) {
HTML += "Replay: " + links.join(" | ");
}
var div = document.createElement(\'div\');
div.className = \'scores-links\';
div.innerHTML = HTML;
li.appendChild(div);
}
if (!itemIdFound) {
var containerDiv = (gDate.gameday == this.gamedate)
? \'scores-carousel\'
: \'scores-carousel-\' + this.gamedate;
var ol = YAHOO.util.Dom.get(containerDiv);
if (ol) {
ol.appendChild(li);
}
}
}
/**
* Format team names to shorter versions and catch HTML character entities
*/
ATL.prototype.formatTeamName = function(name){
switch (name) {
case "Central Connecticut State": name = "Central Connecticut St."; break;
case "Texas A&M-Corpus Christi": name = "Texas A&M-CC"; break;
case "Mississippi Valley State": name = "Mississippi Valley St."; break;
case "Maryland-Baltimore County": name = "UMBC"; break;
case "Virginia Commonwealth": name = "VCU"; break;
case "": name = "TBA"; break;
}
if ( (name.indexOf("&") > -1)
&& (name.indexOf("´") == -1)
&& (name.indexOf("&") == -1) ){
name = name.replace("&", "&");
}
return name;
}
/**
* Show & Hide scores for live audio/video streams
*/
var scoresDisplayController = {
currGameId: null,
currChannelId: null,
isGameStreaming: function(obj) {
if (obj.live_video_id == this.currChannelId) {
return true;
}
if (obj.live_audio_id == this.currChannelId) {
return true;
}
return false;
},
set: function(channelId, mediaGroup){
if (this.currGameId) {
this.showScores(this.currGameId);
}
this.currChannelId = channelId;
var gid = this.getGameId(channelId, mediaGroup);
if (gid) {
this.hideScores(gid)
}
this.currGameId = gid;
},
showScores: function(gid){
if ((typeof(atl[gid]) != "undefined") && (atl[gid].status != "S")) {
var e = YAHOO.util.Dom.getElementsByClassName(\'scores-score-hide\', \'div\', \'g\' + gid);
if (e) {
YAHOO.util.Dom.replaceClass(e, \'scores-score-hide\', \'scores-score\');
}
}
},
hideScores: function(gid){
if ((typeof(atl[gid]) != "undefined") && (atl[gid].status != "F")) {
var e = YAHOO.util.Dom.getElementsByClassName(\'scores-score\', \'div\', \'g\' + gid);
if (e) {
YAHOO.util.Dom.replaceClass(e, \'scores-score\', \'scores-score-hide\');
}
}
},
getGameId: function(channelId, mediaGroup){
var gid = null;
switch (mediaGroup) {
case "live": gid = channelId.replace(/m/, \'\'); break;
case "fullgame": gid = channelId.replace(/1m/, \'\'); break;
case "highlights": gid = channelId.replace(/2m/, \'\'); break;
case "buzzerbeater": gid = channelId.replace(/3m/, \'\'); break;
case "audio": gid = channelId.replace(/4m/, \'\'); break;
case "fullgameaudio": gid = channelId.replace(/5m/, \'\'); break;
}
return gid;
}
}
/**
* Selection Show Obj
*/
var selectionShow = {
id: null,
title: "NCAA Men\'s Basketball Championship Selection Show",
date: \'',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'selectionshow_date',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => '\',
requestUrl: \'',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'selectionshow_xml',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => '\',
DEVrequestUrl: \'/selection_show.xml\',
intervalTime: 90000,
live_video_id: false,
archive_video_id: false,
inLiveMode: false,
inArchiveMode: false,
parseXML: function(xmlObj) {
var root = xmlObj;
var seasonNode = root.getElementsByTagName(\'selection_show\');
var season = seasonNode[0].attributes.getNamedItem(\'season\').nodeValue;
var showNode = root.getElementsByTagName(\'show\');
var showId = showNode[0].attributes.getNamedItem(\'id\').nodeValue;
this.id = showId;
var showStartTime = showNode[0].attributes.getNamedItem(\'start_time\').nodeValue;
var showStatus = showNode[0].attributes.getNamedItem(\'status\').nodeValue;
var livevideoNode = root.getElementsByTagName(\'livevideo\');
var livevideoId = livevideoNode[0].attributes.getNamedItem(\'id\').nodeValue;
this.live_video_id = livevideoId;
var livevideoOn = livevideoNode[0].attributes.getNamedItem(\'on\').nodeValue;
this.inLiveMode = (livevideoOn == "yes") ? true : false;
var fullvideoNode = root.getElementsByTagName(\'fullarchivedgame\');
var fullvideoId = fullvideoNode[0].attributes.getNamedItem(\'id\').nodeValue;
this.archive_video_id = fullvideoId;
var fullvideoOn = fullvideoNode[0].attributes.getNamedItem(\'on\').nodeValue;
this.inArchiveMode = (fullvideoOn == "yes") ? true : false;
// stop polling for selection show data
if (this.inArchiveMode && (gDate.gameday != this.date)) {
clearInterval(gSelectionShowTimer);
}
this.render();
},
render: function(){
var channelId = (this.inLiveMode) ? this.live_video_id : (this.inArchiveMode) ? this.archive_video_id : false;
var itemId = \'g\' + this.id;
var itemIdFound = YAHOO.util.Dom.get(itemId);
var li;
if (itemIdFound) {
clearChildNodes(itemId);
li = itemIdFound;
}
else {
li = document.createElement(\'li\');
}
li.id = \'g\' + this.id;
li.appendChild(document.createTextNode(this.title));
if (this.inLiveMode) {
var channelId = this.live_video_id;
var div = document.createElement(\'div\');
div.className = "watchNowButton";
div.id = "watchNowButton-" + channelId;
if (channelId != currentNowPlayingID) {
div.innerHTML = \'<a id="watch-now-button-\' + channelId
+ \'" class="watch-now-button"\'
+ \' onmouseover="this.className=\'watch-now-button-hover\';"\'
+ \' onmouseout="this.className=\'watch-now-button\';"\'
+ \' onclick="changeSrc(\'\' + channelId + \'\', \'live\'); \'
+ \' updateNowPlaying(\'\'
+ channelId + \'\',\'\'
+ \'\' + \'\',\'\'
+ \'\' + \'\',\'
+ \'\'live\'\'
+\');play();"></a>\';
}
else {
div.innerHTML = \'<a id="watch-now-button-\' + channelId + \'" class="now-playing-button"></a>\';
}
li.appendChild(div);
}
else if (this.inArchiveMode) {
var channelId = this.archive_video_id;
var currClass = (channelId == currentNowPlayingID) ? \'scores-textlink-now-playing\' : \'scores-textlink\';
var div = document.createElement(\'div\');
div.className = \'scores-links\';
div.innerHTML = "<a id=\"fullgame-" + channelId + "\" class=\"" + currClass + "\" onclick=\"changeSrc\(\'" + channelId + "\', \'fullgame\'\); updateNowPlaying\(\'" + channelId + "\',\'" + \'\' + "\',\'" + \'\' + "\', \'fullgame\'\);play\(\);\">Replay</a>";
li.appendChild(div);
}
if (!itemIdFound){
var containerDiv =(gDate.gameday == this.date)
? \'scores-carousel\'
: \'scores-carousel-\' + this.date;
var ol = YAHOO.util.Dom.get(containerDiv);
if (ol) {
ol.appendChild(li);
}
}
}
}
/**
* Render games from baked data, object, pulldown or tab state change
*/
function initializeGames(gameday, datastr){
if (gDate.currentView == null) {
gDate.currentView = gDate.gameday;
}
// create new game order object for date - static data
if (typeof(atlGameOrder[gDate.currentView]) == "undefined") {
parseATL(datastr, gDate.currentView);
}
// iterate through ordered gamelist
if (atlGameOrder[gDate.currentView].init) {
var n = atlGameOrder[gDate.currentView].gamelist.length;
for (var i=0; i<n; i++) {
var gid = atlGameOrder[gDate.currentView].gamelist[i];
atl[gid].renderGame();
}
}
}
/**
* GENERIC Lps setState and update callbacks
*/
function setState(info, topic, event){
if(topic.indexOf(\'index\') > -1){
state=1;
parseATL(info, gDate.gameday);
}
else if(topic.indexOf(\'leaguevideoalert\') > -1){
leagueAlert.handleMsg(info);
}
}
function update(info, topic, event){
if(topic.indexOf(\'index\') > -1){
state=0;
parseATL(info, gDate.gameday);
}
else if(topic.indexOf(\'leaguevideoalert\') > -1){
leagueAlert.handleMsg(info);
}
}
/**
* Non-LPS fallback
*/
var scoresLpsFallbackCallback = {
success: function(o) {
if (o.responseText != "undefined") {
parseATL(o.responseText);
initializeGames(gDate.gameday, o.responseText);
}
},
timeout: 15000
}
/**
* HTTP Request for other days besides gameday to load client side only by user interaction
* 1. Define obj gamedates reference and create new instance of carousel widget
* 2. Toggle widget display
*/
var scoresCallback = {
success: function(o) {
if (o.responseText != "undefined" ) {
if (typeof atlGameOrder[gDate.currentView] == "undefined") {
carouselWidgetsManager.instantiate();
parseATL(o.responseText, gDate.currentView);
initializeGames(gDate.currentView, o.responseText);
}
else {
carouselWidgetsManager.toggleDisplay();
var datastr = atlGameOrder[gDate.currentView].data;
initializeGames(gDate.currentView, datastr);
}
}
},
timeout: 15000
}
function fetchGameDayData(date){
var dataURL = null;
//selection show carousel render
if (date == selectionShow.date) {
var widgetExists = YAHOO.widget.Carousel.getById(\'scores-\' + date);
if (!widgetExists) {
carouselWidgetsManager.instantiate();
//var request = YAHOO.util.Connect.asyncRequest(\'GET\', selectionShow.DEVrequestUrl, selectionShowCallback); //DEV
var request = YAHOO.util.Connect.asyncRequest(\'GET\', selectionShow.requestUrl, selectionShowCallback) //QA
}
else {
carouselWidgetsManager.toggleDisplay();
}
}
else if ( typeof(atlGameOrder[date]) == "undefined" ) {
var request = YAHOO.util.Connect.asyncRequest(\'GET\', \'/data/scores/\' + date, scoresCallback);
}
//gameday scores data already inited, toggle view only
else {
carouselWidgetsManager.toggleDisplay();
}
}
/**
* Carousel manager:
* 1. Instantiates new widget from selected date pulldown.
* 2. Toggle between widgets
* 3. Reorder games 5 mins after Final
*/
var carouselWidgetsManager = {
timeoutDuration: (60000 * 5),
instantiate: function(){
YAHOO.util.Event.onContentReady("scores-"+gDate.currentView, function (ev) {
var carousel = new YAHOO.widget.Carousel("scores-" + gDate.currentView, {
firstVisible:0,
numVisible:4,
scrollIncrement:4,
isCircular: false,
animation: { speed: 0.5 }
});
carousel.CONFIG.ITEM_LOADING= "Loading...";
carousel.CONFIG.MAX_PAGER_BUTTONS=10;
carousel.render();
carousel.show();
carouselWidgetsManager.toggleDisplay();
});
},
writeLabelText: function(text){
var el = YAHOO.util.Dom.get(\'tabLabel\');
if (el) {
el.innerHTML = text;
}
},
toggleDisplay: function(){
var showDefaultDiv = false;
var sel = YAHOO.util.Dom.get(\'games_pulldown_option\');
if (!sel) {
return;
}
var selOptionsLength = sel.length;
for (var i=0; i < selOptionsLength; i++) {
var date = sel.options[i].value;
var label = sel.options[i].text;
if ((selectedTab != \'high\') && (date == gDate.currentView)) {
var id = \'scores-\' + gDate.currentView;
//Today\'s Games
if (date == gDate.gameday) {
id = \'scores\';
label = (date == selectionShow.date) ? "Selection Show" : "Today\'s Games";
showDefaultDiv = true;
}
if (!YAHOO.widget.Carousel.getById(id)) {
continue;
}
YAHOO.util.Dom.setStyle(id, \'display\', \'block\');
this.writeLabelText(label);
}
else {
var id = \'scores-\' + date;
if (!YAHOO.widget.Carousel.getById(id)) {
continue;
}
YAHOO.util.Dom.setStyle(id, \'display\', \'none\');
}
}
if (!showDefaultDiv) {
YAHOO.util.Dom.setStyle(\'scores\', \'display\', \'none\');
}
},
setupReorderQueue: function(gid, gamedate) {
setTimeout("carouselWidgetsManager.reorderGames(\"" + gid + "\",\"" + gamedate +"\");", this.timeoutDuration);
},
reorderGames: function(gid, gamedate){
var carouselId = (gamedate == gDate.gameday) ? \'scores\' : \'scores-\' + gamedate;
var carousel = YAHOO.widget.Carousel.getById(carouselId);
var itemIndex = carousel.getItemPositionById(\'g\' + gid);
var itemElem = carousel.getItem(itemIndex);
//get innerHTML of most recent content because API returns initial loaded HTML
var liElem = YAHOO.util.Dom.get(\'g\'+gid);
carousel.removeItem(itemIndex);
carousel.addItem(liElem);
}
}
/**
* Initialize selection show content if not past show date
*/
var gSelectionShowTimer = 0;
var selectionShowCallback = {
success: function(o) {
var xmlObj = o.responseXML;
selectionShow.parseXML(xmlObj);
},
failure: function(o) {
}
}
function getSelectionShowXML(){
//var request = YAHOO.util.Connect.asyncRequest(\'GET\', selectionShow.DEVrequestUrl, selectionShowCallback); //DEV
var request = YAHOO.util.Connect.asyncRequest(\'GET\', selectionShow.requestUrl, selectionShowCallback); //QA
}
/**
* LPS backup polling mechanism
*/
function checkLpsInit(){
if (typeof(gHaveSocketConnection) == "undefined" || gHaveSocketConnection) {
clearInterval(gLpsCheckTimer);
}
else {
gLpsBackupMode = true;
var request = YAHOO.util.Connect.asyncRequest(\'GET\', \'/data/scores/\' + gDate.gameday, scoresLpsFallbackCallback);
}
}
var gLpsBackupMode = false;
var gBackupPollSecs = \'120000\';
var gLpsCheckTimer = setInterval("checkLpsInit();", gBackupPollSecs);
/**
* Initialize games for active gameday
* Selection Show - fetch XML if active gameday (no scores)
*/
if (',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'historical_mode_only',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => ' == 1) {
var tabOptionsEl = YAHOO.util.Dom.get(\'tabSelectOptions\');
if (tabOptionsEl) {
tabOptionsEl.innerHTML = \'<a id="tab-live" href="javascript:void(0);"></a><a id="tab-highlight" class="currentTab" href="javascript:void(0);">Previous Years</a>\';
}
}
else if (',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'selectionshow_mode_only',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => ' == 1) {
getSelectionShowXML();
gSelectionShowTimer = setInterval("getSelectionShowXML();", selectionShow.intervalTime);
}
else if (gDate.gameday == selectionShow.date) {
getSelectionShowXML();
gSelectionShowTimer = setInterval("getSelectionShowXML();", selectionShow.intervalTime);
}
else {
mmEdgeLinks.mapDatesToType();
if ((currentNowPlayingID != \'\') && (currentNowPlayingID != \'none\') && (currentNowPlayingMedia == \'\')) {
currentNowPlayingMedia = \'live\';
scoresDisplayController.currGameId = currentNowPlayingID.replace(/m/, \'\');
scoresDisplayController.currChannelId = currentNowPlayingID;
}
initializeGames("',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'game_day',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => '", "',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'atl_state',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
data => '");
}
</script>
',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'lps_subscriber',
source => '/spln/src/media/mmod/video/player/scores.html',
type => 'var',
},
{ # HASH with 3 keys
frame => '1',
source => '/video/player/scores',
type => 'delete_frame',
},
{ # HASH with 3 keys
frame => '1',
source => '/ads/omniture-hangtime',
type => 'new_frame',
},
{ # HASH with 5 keys
base => undef,
file => '/spln/src/media/mmod/ads/omniture-hangtime.pl',
pack => 'mmod::ads::omniture_hangtime',
source => '/spln/src/media/mmod/ads/omniture-hangtime.pl',
type => 'perl',
},
{ # HASH with 3 keys
data => '<!-- <div id="debugbox" style="position:absolute; top:0; left:775px; width:260px; height:300; padding:10px; border:1px dashed #999999; background-color: #f0f0f0; overflow:auto;"></div> -->
<script type="text/javascript">
function debug22( title, text, clear ){
box = document.getElementById(\'debugbox\');
if( clear ) box.innerHTML = \'\';
div = \'<div class="spacer5"> </div>\';
text = ( text ) ? \': \' + text : text = \'\';
box.innerHTML += \'<b>\' + title + \'</b>\' + text + div;
return;
}
</script>
<script type="text/javascript">
var OmnitureTime=new Object();
OmnitureTime.intervalMinutes=20;
OmnitureTime.gameName="',
source => '/spln/src/media/mmod/ads/omniture-hangtime.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'arena',
source => '/spln/src/media/mmod/ads/omniture-hangtime.html',
type => 'var',
},
{ # HASH with 3 keys
data => ' ',
source => '/spln/src/media/mmod/ads/omniture-hangtime.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'feature',
source => '/spln/src/media/mmod/ads/omniture-hangtime.html',
type => 'var',
},
{ # HASH with 3 keys
data => ' ',
source => '/spln/src/media/mmod/ads/omniture-hangtime.html',
type => 'html',
},
{ # HASH with 3 keys
data => 'content_id',
source => '/spln/src/media/mmod/ads/omniture-hangtime.html',
type => 'var',
},
{ # HASH with 3 keys
data => '";
OmnitureTime.trackStart = function() {
var s=s_gi(s_account);
s.linkTrackVars="events,products";
s.linkTrackEvents="event4";
s.events="event4";
s.products=";"+this.gameName;
s.tl(true,\'o\',this.gameName);
// debug22( \'Tracking :\' +this.gameName +\'<br>\',\'Begin\' ,0 );
setInterval("OmnitureTime.trackMinutes()", 60000*this.intervalMinutes);
}
OmnitureTime.trackMinutes = function() {
var s=s_gi(s_account);
s.linkTrackVars="events,products";
s.linkTrackEvents="event5";
s.events="event5";
s.products=";"+this.gameName+";;;event5="+this.intervalMinutes;
s.tl(true,\'o\',this.gameName);
// debug22(\'\', \'Continue\', 0 );
}
OmnitureTime.trackEnd = function() {
var s=s_gi(s_account);
s.linkTrackVars="events,products";
s.linkTrackEvents="event6";
s.events="event6";
s.products=";"+this.gameName;
s.tl(true,\'o\',this.gameName);
// debug22(\'\', \'End\', 0 );
// alert(\'recording page exit\');
}
if (!IE) {
this.oldOnload = window.onload;
if (this.oldOnload) {this.oldOnload();}
window.onload = OmnitureTime.trackStart();
this.oldOnunload = window.onunload;
if (this.oldOnunload) {this.oldOnunload();}
window.onunload = OmnitureTime.trackEnd;
}
</script>
<script for="window" event="onload">
if (IE) {OmnitureTime.trackStart();}
</script>
<script for="window" event="onunload">
if (IE) {OmnitureTime.trackEnd();}
</script>
',
source => '/spln/src/media/mmod/ads/omniture-hangtime.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '1',
source => '/ads/omniture-hangtime',
type => 'delete_frame',
},
{ # HASH with 3 keys
data => '
<script type="text/javascript" src="http://dw.com.com/js/dw.js"></script>
<script type="text/javascript">
DW.pageParams = {
siteid: \'188\',
onid: \'19539\',
ptid: \'6856\',
ctype: \'feature\',
cval: \'media;ncaasports;other;reg;free;mmod_player\',
title: \'/mmod/video\'
};
DW.clear();
</script>
</body>
</html
',
source => '/spln/src/media/mmod/video/player/index.html',
type => 'html',
},
{ # HASH with 3 keys
frame => '0',
source => '/video/player/index',
type => 'delete_frame',
},
],
|