// Used for the mini navigation
var widgetid_4053_mini_nav = {
container: "widgetid_4053_nav_links",
active: "active",
inactive: "inactive",
selector_prefix: 'div#widgetid_4053 span#widgetid_4053_nav_links a.'
};
function toggleTimer(el, obj, play, pause) {
if (obj.timer_on) {
obj.stopTimer();
el.className = play;
} else {
obj.startTimer();
el.className = pause;
}
}
var widgetid_4053_singleitems = [];
widgetid_4053_singleitems[0] = {
preroll_url: null,
preroll_title: null,
preroll_id: null,
id: '49145',
cutline: '\x3Cp\x3E\x3Cspan style\x3D\x22color: #000000\x3B\x22\x3E\x3Cspan style\x3D\x22font\x2Dfamily: Verdana,Helvetica,Arial,sans\x2Dserif,Geneva\x3B font\x2Dstyle: normal\x3B font\x2Dvariant: normal\x3B letter\x2Dspacing: normal\x3B line\x2Dheight: 15px\x3B orphans: 2\x3B text\x2Dalign: start\x3B text\x2Dindent: 0px\x3B text\x2Dtransform: none\x3B white\x2Dspace: normal\x3B widows: 2\x3B word\x2Dspacing: 0px\x3B background\x2Dcolor: #ffffff\x3B display: inline ! important\x3B float: none\x3B\x22\x3E\x3Cspan style\x3D\x22font\x2Dfamily: verdana,geneva\x3B\x22\x3EU.S. gymnasts, top left to right, Jordyn Wieber, Gabrielle Douglas, McKayla Maroney, Alexandra Raisman and Kyla Ross raise their hands on the podium during the medal ceremony during the Artistic Gymnastic women\x27s team final at the 2012 Summer Olympics on Tuesday in London. Team U.S. won the gold.\x3C/span\x3E\x3C/span\x3E\x3Cspan style\x3D\x22font\x2Dfamily: Verdana,Helvetica,Arial,sans\x2Dserif,Geneva\x3B font\x2Dsize: 10px\x3B font\x2Dstyle: normal\x3B font\x2Dvariant: normal\x3B letter\x2Dspacing: normal\x3B line\x2Dheight: 15px\x3B orphans: 2\x3B text\x2Dalign: start\x3B text\x2Dindent: 0px\x3B text\x2Dtransform: none\x3B white\x2Dspace: normal\x3B widows: 2\x3B word\x2Dspacing: 0px\x3B background\x2Dcolor: #ffffff\x3B display: inline ! important\x3B float: none\x3B\x22\x3E\x3Cbr style\x3D\x22font\x2Dfamily: Verdana,Helvetica,Arial,sans\x2Dserif,Geneva\x3B font\x2Dsize: 10px\x3B font\x2Dstyle: normal\x3B font\x2Dvariant: normal\x3B letter\x2Dspacing: normal\x3B line\x2Dheight: 15px\x3B orphans: 2\x3B text\x2Dalign: start\x3B text\x2Dindent: 0px\x3B text\x2Dtransform: none\x3B white\x2Dspace: normal\x3B widows: 2\x3B word\x2Dspacing: 0px\x3B background\x2Dcolor: #ffffff\x3B display: inline ! important\x3B float: none\x3B\x22 /\x3E\x3C/span\x3E\x3Cspan style\x3D\x22font\x2Dfamily: Verdana,Helvetica,Arial,sans\x2Dserif,Geneva\x3B font\x2Dsize: 10px\x3B font\x2Dstyle: normal\x3B font\x2Dvariant: normal\x3B letter\x2Dspacing: normal\x3B line\x2Dheight: 15px\x3B orphans: 2\x3B text\x2Dalign: start\x3B text\x2Dindent: 0px\x3B text\x2Dtransform: none\x3B white\x2Dspace: normal\x3B widows: 2\x3B word\x2Dspacing: 0px\x3B background\x2Dcolor: #ffffff\x3B display: inline ! important\x3B float: none\x3B\x22\x3E\x3C/span\x3E\x3C/span\x3E\x3C/p\x3E'.substring(0, 350),
title: 'NBC research undercuts assumptions over tape delay ',
link: 'http://www.signalscv.com/archives/71991/',
file: 'http://media.morristechnology.com/mediafilesvr/upload/santa_clarita/article/2012/08/03/0803_gymnastics.jpg',
thumbnail: 'http://media.morristechnology.com/mediafilesvr/upload/santa_clarita/article/2012/08/03/0803_gymnastics.jpg',
type: 'Image',
author: '',
author2: '',
larger_url:'/player/archives/49145/'
};
function widgetid_4053_itemPopup() {
var media_object = widgetid_4053_rotator.media_object[widgetid_4053_rotator.list_position];
if (media_object.type == 'Image' || media_object.type == 'Audio' || media_object.type == 'Flash' || media_object.type == 'Doc') {
if(media_object.larger_url){
window.open([media_object.larger_url], 'LargerImage', 'height=750,width=850,scrollbars=yes');
}
else{
window.open(['/player/article/', media_object.id, '/'].join(''), 'LargerImage', 'height=750,width=850,scrollbars=yes');
}
} else if (media_object.type == 'f' || media_object.type == 'w' || media_object.type == 'a' || media_object.type == 'm') {
// video
window.location.href = media_object.link;
}
}
var widgetid_4053_containers = {
image: document.getElementById('widgetid_4053_bigimage'),
cutline: document.getElementById('widgetid_4053_cutline'),
title: document.getElementById('widgetid_4053_title'),
overflow: document.getElementById('widgetid_4053_overflow')||null,
credit: document.getElementById('widgetid_4053_credit')||null,
overlay_background: document.getElementById('widgetid_4053_overlay_background')||null,
video:document.getElementById('widgetid_4053_vc')
};
var widgetid_4053_change_callback;
var widgetid_4053_change_callback = function() {
var nav = widgetid_4053_mini_nav||null,
pos = this.getCurrentPosition();
if (!nav) {
throw "nav is undefined!";
}
if (!nav.container || !nav.active || !nav.inactive) {
throw "Missing the navigation container, active, or inactive names.";
}
var nav_span = document.getElementById(nav.container);
if (nav_span) {
var nav_array = nav_span.getElementsByTagName('a'),
active = nav.active,
inactive = nav.inactive,
selector_prefix = nav.selector_prefix||'a.';
for (var i=0, len=nav_array.length; i1),
rotate_time: 5000,
link_image: false,
link_title: false,
link_cutline: false
});