

/** 
* @filepath: breakingnews,schedule-page,feplayer,textmessage,browsercheck
* @created: Mon, 26 Jul 10 07:14:37 -0700
*/


/** 
* @filepath: /breakingnews/breakingnews.js
* @created: Sat, 24 Jul 10 01:40:53 -0700
*/

$(function(){if($.cookie(ABCBreakingNewsCookie)){$('div#alertBar').hide();}
var setCookie=function(){$.cookie(ABCBreakingNewsCookie,'true',{path:'/',domain:'go.com'});}
var fadeAlertBar=function(){$('div#alertBar').fadeTo('normal',0,function(){$(this).remove();});setCookie();}
$('a#alertCloseBtn').click(fadeAlertBar);});

/** 
* @filepath: /schedule/schedule-page.js
* @created: Sat, 24 Jul 10 01:40:53 -0700
*/

$(document).ready(function(){var defaults={viewingNextWeek:false,thisWeeksHTML:"",nextWeeksHTML:"",minScheduleHeight:parseInt($('div.schedule').css('height'))};var slideLeft=function(slideMultiple){var amtToSlide=slideMultiple*810;var container=$('div.slidingPanel');var totalWidth=6480;if((!container.is(':animated'))&&(parseInt(container.css('left'))+totalWidth)>810){if($('div.detailsBig').is(':visible')){hideDetailsBox();}
container.animate({left:"-="+amtToSlide+"px"},250,'linear',setupMainScheduleArrows);}};var slideRight=function(slideMultiple){var amtToSlide=slideMultiple*810;var container=$('div.slidingPanel');if((!container.is(':animated'))&&parseInt(container.css('left'))<0){if($('div.detailsBig').is(':visible')){hideDetailsBox();}
container.animate({left:"+="+amtToSlide+"px"},250,'linear',setupMainScheduleArrows);}};var setupMainScheduleArrows=function(){var todayLI=$('div.scheduleLeft ul li.today');var todayOffset=todayLI.offset();var todayWidth=parseInt($(todayLI).css('width'));var leftOfSchedule=todayOffset.left+todayWidth;var rightOfSchedule=leftOfSchedule+810;$('div.scheduleRow ul li').each(function(){var thisLeft=$(this).offset().left;var thisRight=thisLeft+(parseInt($(this).css('width')));if((thisLeft<leftOfSchedule)&&(thisRight>leftOfSchedule)){if($(this).children('span.scheduleArrowLeft').length<1){$(this).prepend('<span class="scheduleArrowLeft"></span>');}
$(this).children('p').css('left',(leftOfSchedule-thisLeft+20)+"px");$(this).children('span.scheduleArrowLeft').css('left',(leftOfSchedule-thisLeft+3)+"px").ifixpng();}else{if((thisLeft<rightOfSchedule)&&(thisRight>rightOfSchedule)){if($(this).children('span.scheduleArrowRight').length<1){$(this).append('<span class="scheduleArrowRight"></span>');}
$(this).children('p').css('left',"10px");$(this).children('span.scheduleArrowRight').css('left',(rightOfSchedule-thisLeft-20)+"px").ifixpng();}}});setupTodaysScheduleArrows();};var setupTodaysScheduleArrows=function(){var todayLI=$('div.scheduleLeft ul li.today');var todayOffset=todayLI.offset();var todayWidth=parseInt($(todayLI).css('width'));var leftOfSchedule=todayOffset.left+todayWidth;var rightOfSchedule=leftOfSchedule+810;$('div.scheduleTodayPix ul li').each(function(){var thisLeft=$(this).offset().left;var thisRight=thisLeft+(parseInt($(this).css('width')));if((thisLeft<leftOfSchedule)&&(thisRight>leftOfSchedule)){if($(this).children('span.scheduleGradientArrowLeft').length<1){$(this).prepend('<span class="scheduleGradientArrowLeft"></span>');}
$(this).children('p').css('left',(leftOfSchedule-thisLeft+20)+"px");$(this).children('span.scheduleGradientArrowLeft').css('left',(leftOfSchedule-thisLeft)+"px").ifixpng();}else{if((thisLeft<rightOfSchedule)&&(thisRight>rightOfSchedule)){if($(this).children('span.scheduleGradientArrowRight').length<1){$(this).append('<span class="scheduleGradientArrowRight"></span>');}
$(this).children('p').css('left',"10px");$(this).children('span.scheduleGradientArrowRight').css('left',(rightOfSchedule-thisLeft-68)+"px").ifixpng();}}});};var goToPrimeTime=function(){setScheduleModal();if(defaults.viewingNextWeek){defaults.nextWeeksHTML=$('div.schedule').html();$('div.schedule').html(defaults.thisWeeksHTML);instantiateRollovers();observeDetailSelection();observeImageSelection();defaults.viewingNextWeek=false;if($('div.detailsBig').is(':visible')){hideDetailsBox();}}
var container=$('div.slidingPanel');var curLeft=(parseInt(container.css('left'))/-810);if(curLeft>6){slideRight(1);}else{slideLeft(6-curLeft);}
unsetScheduleModal();};var instantiateRollovers=function(){$('div.rollOverBigBtn').each(function(){$(this).hover(function(){$(this).css('z-index',10);$(this).next('div.rollOverBox').show();},function(){$(this).css('z-index',5);$(this).next('div.rollOverBox').hide();});});};var deinstantiateRollovers=function(){$('div.rollOverBigBtn').each(function(){$(this).unbind('mouseenter mouseleave');});};var setLocalTime=function(){setScheduleModal();if(defaults.viewingNextWeek){defaults.nextWeeksHTML=$('div.schedule').html();$('div.schedule').html(defaults.thisWeeksHTML);instantiateRollovers();observeDetailSelection();observeImageSelection();defaults.viewingNextWeek=false;if($('div.detailsBig').is(':visible')){hideDetailsBox();}}
var container=$('div.slidingPanel');var curLeft=(parseInt(container.css('left'))/-810);var today=new Date();var thisHour=today.getHours();var slideMultiple=0;switch(thisHour)
{case 2:case 3:case 4:break;case 5:case 6:case 7:slideMultiple=1;break;case 8:case 9:case 10:slideMultiple=2;break;case 11:case 12:case 13:slideMultiple=3;break;case 14:case 15:case 16:slideMultiple=4;break;case 17:case 18:case 19:slideMultiple=5;break;case 20:case 21:case 22:slideMultiple=6;break;case 23:case 0:case 1:slideMultiple=7;break;}
if(curLeft>0){slideMultiple-=curLeft;}
if(slideMultiple>0){slideLeft(slideMultiple);}else{slideRight(0-slideMultiple);}
unsetScheduleModal();};var observeImageSelection=function(){$('div.scheduleTodayPix ul li').each(function(){$(this).click(function(){$("div.rollOverBox").hide();instantiateRollovers();if($(this).hasClass('selected')){$(this).removeClass('selected');$('div.rollOverBigBtn').css('z-index',5);hideDetailsBox();instantiateRollovers();}else{if($('div.detailsBig').is(':visible')&&$('div.scheduleTodayPix ul li.selected')){deinstantiateRollovers();$("div.rollOverBox").hide();$(this).children("div.rollOverBox").show();$('div.rollOverBigBtn').css('z-index',5);$(this).children('div.rollOverBigBtn').css('z-index',10);$('div.scheduleTodayPix ul li.selected').removeClass('selected');$(this).addClass('selected');if(!$('div.detailsBig').is(':animated')){showDetailsBox($(this),19);}}else{if($('div.detailsBig').is(':visible')){$('div.rollOverBigBtn').css('z-index',5);hideDetailsBox();instantiateRollovers();}else{deinstantiateRollovers();$(this).children("div.rollOverBox").show();$('div.rollOverBigBtn').css('z-index',5);$(this).children('div.rollOverBigBtn').css('z-index',10);$(this).addClass('selected');if(!$('div.detailsBig').is(':animated')){growSchedule();showDetailsBox($(this),19);}}}}});});};var observeDetailSelection=function(){$('div.scheduleRow ul li').each(function(){$(this).click(function(){if($(this).hasClass('selected')){$(this).removeClass('selected');hideDetailsBox();}else{if($('div.detailsBig').is(':visible')&&$('div.scheduleRow ul li.selected')){$('div.scheduleRow ul li.selected').removeClass('selected');$('div.rowPadding').removeClass('rowPadding');$('li.rowPadding').removeClass('rowPadding');if(!$('div.detailsBig').is(':animated')){showDetailsBox($(this),0);}}else{if($('div.detailsBig').is(':visible')){hideDetailsBox();}else{if(!$('div.detailsBig').is(':animated')){growSchedule();showDetailsBox($(this),0);}}}}});});};var shrinkSchedule=function(){var detailDivHeight=parseInt($('div.detailsBig').css('height'));var scheduleHeight=parseInt($('div.schedule').css('height'));if(scheduleHeight>defaults.minScheduleHeight){$('div.schedule').css('height',(scheduleHeight-detailDivHeight)+"px");}};var growSchedule=function(){var detailDivHeight=parseInt($('div.detailsBig').css('height'));var scheduleHeight=parseInt($('div.schedule').css('height'));$('div.schedule').css('height',(detailDivHeight+scheduleHeight)+"px");};var showDetailsBox=function(obj,offsetTop){var tmpId=obj.attr('id');var showId=tmpId.split("_");$(obj).addClass('selected');var thisDivIndex=$('div.scheduleRow').index($(obj).closest('div.scheduleRow'));if(defaults.viewingNextWeek){var sourceLI=$('div.scheduleLeft ul li').eq((thisDivIndex+1));}else{var sourceLI=$('div.scheduleLeft ul li').eq((thisDivIndex+2));}
var LIoffset=sourceLI.offset();sourceLI.addClass('rowPadding');$('div.detailsBig').css('left',$('div.schedule').offset().left);var sourceTop=$(obj).offset();var thisHeight=parseInt($(obj).css('height'));$('div.detailsBig').css('top',(parseInt(sourceTop.top)+thisHeight+offsetTop)+'px');$(obj).closest('div.clearfix').next('div.clearfix').addClass('rowPadding');$('div.detailsBig').slideDown(250);$.get("/schedule?getEpisode="+showId[1],function(response){$('div.detailsBig').html(response);$('a.close').click(hideDetailsBox).ifixpng();});};var hideDetailsBox=function(){if(!$('div.detailsBig').is(':animated')){$('div.scheduleRow ul li.selected').removeClass('selected');$('div.rowPadding').removeClass('rowPadding');$('li.rowPadding').removeClass('rowPadding');$('div.detailsBig').slideUp(250);shrinkSchedule();instantiateRollovers();}};var getNextWeek=function(){if($('div.detailsBig').is(':visible')){hideDetailsBox();}
if(defaults.nextWeeksHTML!==""){setScheduleModal();$('div.schedule').html(defaults.nextWeeksHTML);defaults.viewingNextWeek=true;observeDetailSelection();unsetScheduleModal();}else{if(!defaults.viewingNextWeek){setScheduleModal();$.get("/schedule?nextWeek=true&noLayout=true",function(response){var curLeft=parseInt($('div.slidingPanel').css('left'));defaults.thisWeeksHTML=$('div.schedule').html();defaults.viewingNextWeek=true;$('div.schedule').html(response);$('div.slidingPanel').css('left',curLeft+"px");observeDetailSelection();unsetScheduleModal();});}}};var getThisWeek=function(){setScheduleModal();if(defaults.thisWeeksHTML!=""){defaults.nextWeeksHTML=$('div.schedule').html();$('div.schedule').html(defaults.thisWeeksHTML);observeDetailSelection();}else{if(defaults.viewingNextWeek){$.get("/schedule?noLayout=true",function(response){defaults.nextWeeksHTML=$('div.schedule').html();defaults.viewingNextWeek=false;$('div.schedule').html(response);observeDetailSelection();});}}
unsetScheduleModal();};var setScheduleModal=function(){$('div.modalDiv').show();var scheduleDiv=$('div.schedule');var cssObj={'top':scheduleDiv.offset().top,'left':scheduleDiv.offset().left,'height':scheduleDiv.css('height'),'width':scheduleDiv.css('width'),'opacity':0.8};$('div.modalDiv').css(cssObj);};var unsetScheduleModal=function(){$('div.modalDiv').fadeOut(200);};var setLiWidth=function(){$('div.rollOverBigBtn').each(function(){var parentLiWidth=$(this).parent().css('width');$(this).css('width',parentLiWidth);$(this).next('div.rollOverBox').css('width',(parseInt(parentLiWidth))+"px");});};var initSchedule=function(){$('a.nextBtn').click(function(){slideLeft(1);});$('a.prevBtn').click(function(){slideRight(1);});$('#nextWeekButton').click(function(){$('li a.active').removeClass('active');$(this).addClass('active');getNextWeek();});$('#tonightButton').click(function(){$('li a.active').removeClass('active');$(this).addClass('active');goToPrimeTime();});$('#nowButton').click(function(){$('li a.active').removeClass('active');$(this).addClass('active');setLocalTime();});$('.rollOverSmall').hide();$('.rollOverBig').hide();observeDetailSelection();observeImageSelection();instantiateRollovers();setLocalTime();setLiWidth();};initSchedule();});

/** 
* @filepath: /feplayer/lightfep.js
* @created: Sat, 24 Jul 10 01:40:54 -0700
*/

if(typeof abcdm==="undefined"){abcdm={};}
if(typeof abcdm.abc==="undefined"){abcdm.abc={};}
if(typeof abcdm.abc.com==="undefined"){abcdm.abc.com={};}
if(typeof abcdm.abc.com.utils==="undefined"){abcdm.abc.com.utils={};}
abcdm.abc.com.utils.lightfep={_openWindows:{},newWindow:function(url,windowName,windowWidth,windowHeight,windowScrollable,windowResizeable,left,top,restrictOneWindow){var popupWidth=windowWidth||1000;var popupHeight=windowHeight||675;var ifScrollBar=windowScrollable||0;var windowLeftPosition=left||0;var windowTopPosition=top||0;var isResizeable=windowResizeable||0;var win=null;var winObj=this._openWindows[windowName];var windowExists=function(windowName){if(typeof winObj=="undefined"||winObj==null||winObj.closed||!winObj.location){return false;}
return true;};if((typeof(screen.availHeight)!="undefined"&&screen.availHeight<popupHeight+49)||(typeof(screen.availWidth)!="undefined"&&screen.availWidth<popupWidth+10)){ifScrollBar=1;}
var popupParams="height="+popupHeight+",width="+popupWidth+",toolbar=0,scrollbars="+ifScrollBar+",location=0,statusbar=0,menubar=0,resizable="+isResizeable+",top="+windowTopPosition+",left="+windowLeftPosition;if(typeof restrictOneWindow!="undefined"&&restrictOneWindow==true){var openWindow=windowExists();if(openWindow){this._openWindows[windowName].focus();this._openWindows[windowName].location.href=url;}else{if(url)win=window.open(url,windowName,popupParams);this._openWindows[windowName]=win;}}
else{if(url)win=window.open(url,windowName,popupParams);}},launch:function(show,video,collectionitem,collectionvideo){burl='http://fep.abc.go.com/fep/player';burl+='?src=abccomjs';if(show!=null)burl+=('&show='+show);if(video!=null)burl+=('&episode='+video);if(collectionitem!=null)burl+=('&collectionitem='+collectionitem);if(collectionvideo!=null)burl+=('&video='+collectionvideo);if(location.search.substring(1)!='')burl=burl+"&"+location.search.substring(1);rr=abcdm.abc.com.utils.lightfep.newWindow(burl,'player_window',1000,675,1,1,(screen.availWidth/2)-500,(screen.availHeight/2)-337.5,true);if(rr!=null){try{rr.focus();}catch(e){}};return rr;}};

/** 
* @filepath: /textmessage/textmessage.js
* @created: Sat, 24 Jul 10 01:40:54 -0700
*/

var abcdm=abcdm||{};abcdm.abccom=abcdm.abccom||{};abcdm.abccom.Textmessage=abcdm.abccom.Textmessage||{};(function(){abcdm.abccom.Textmessage.init=function(formid){$(abcdm.abccom.Utils.formid+' #texterror').removeClass('erroractive').html('');$(abcdm.abccom.Utils.formid+' input').ifixpng();$(abcdm.abccom.Utils.formid+' div#signupPhone input').val('');abcdm.abccom.Utils.createOverlay(300,200,formid,true);abcdm.abccom.Utils.formid=formid;if(window.location.href.indexOf('http://cdn.abc')===0){$(abcdm.abccom.Utils.formid+' #submitform').val($(abcdm.abccom.Utils.formid+' #submitform').val().replace('http://abc','http://cdn.abc'));$(abcdm.abccom.Utils.formid+' #documentRoot').val($(abcdm.abccom.Utils.formid+' #documentRoot').val().replace('http://abc','http://cdn.abc'));}
jQuery(formid+' #p1').autotab({target:'p2',format:'numeric'});jQuery(formid+' #p2').autotab({target:'p3',format:'numeric',previous:'p1'});jQuery(formid+' #p3').autotab({previous:'p2',format:'numeric'});return false;};}());(function($){$.fn.autotab=function(options){var defaults={format:'all',maxlength:2147483647,uppercase:false,lowercase:false,nospace:false,target:null,previous:null};$.extend(defaults,options);var check_element=function(name){var val=null;var check_id=$('#'+name)[0];var check_name=$('input[name='+name+']')[0];if(check_id!==undefined){val=$(check_id);}else if(check_name!==undefined){val=$(check_name);}
return val;};var key=function(e){if(!e){e=window.event;}
return e.keyCode;};if(typeof defaults.target==='string'){defaults.target=check_element(defaults.target);}
if(typeof defaults.previous==='string'){defaults.previous=check_element(defaults.previous);}
var maxlength=$(this).attr('maxlength');if(defaults.maxlength===2147483647&&maxlength!==2147483647){defaults.maxlength=maxlength;}else if(defaults.maxlength>0){$(this).attr('maxlength',defaults.maxlength);}else{defaults.target=null;}
if($.browser.msie){this.keydown(function(e){if(key(e)===8){var val=this.value;if(val.length===0&&defaults.previous){defaults.previous.focus();}}});}
return this.keypress(function(e){if(key(e)===8){var val=this.value;if(val.length===0&&defaults.previous){defaults.previous.focus();}}}).keyup(function(e){var val=this.value;switch(defaults.format){case'text':var pattern=new RegExp('[0-9]+','g');var val=val.replace(pattern,'');break;case'alpha':var pattern=new RegExp('[^a-zA-Z]+','g');var val=val.replace(pattern,'');break;case'number':case'numeric':var pattern=new RegExp('[^0-9]+','g');var val=val.replace(pattern,'');break;case'alphanumeric':var pattern=new RegExp('[^0-9a-zA-Z]+','g');var val=val.replace(pattern,'');break;case'all':default:break;}
if(defaults.nospace){pattern=new RegExp('[ ]+','g');val=val.replace(pattern,'');}
if(defaults.uppercase){val=val.toUpperCase();}
if(defaults.lowercase){val=val.toLowerCase();}
this.value=val;var keys=[8,9,16,17,18,19,20,27,33,34,35,36,37,38,39,40,45,46,144,145];var string=keys.toString();if(string.indexOf(key(e))===-1&&val.length===defaults.maxlength&&defaults.target){defaults.target.focus();}});};}(jQuery));function closeReg(){$('div#signupPhone input').val("");setTimeout($('#abc-overlay').trigger("closebox"),800);}
function submitReg(){var MESSAGETOOSHORT='Please enter your full ten digit phone number';$(abcdm.abccom.Utils.formid+' #texterror').removeClass('erroractive').html('');$(abcdm.abccom.Utils.formid+' #signupPhone input').removeClass('inputfailure');abcdm.abccom.Utils.subframename='submitframe'+Math.floor(Math.random()*10000);$(abcdm.abccom.Utils.formid+' #phoneNumber').val($(abcdm.abccom.Utils.formid+' div#signupPhone #p1').val()+
$(abcdm.abccom.Utils.formid+' div#signupPhone #p2').val()+
$(abcdm.abccom.Utils.formid+' div#signupPhone #p3').val());if($(abcdm.abccom.Utils.formid+' #phoneNumber').val().length<10){$(abcdm.abccom.Utils.formid+' #texterror').addClass('erroractive').html(MESSAGETOOSHORT).fadeOut(200).fadeIn(500);$(abcdm.abccom.Utils.formid+' #signupPhone input').addClass('inputfailure');$('#abc-overlay').trigger('autoheight');return false;}else{$('<iframe name="'+abcdm.abccom.Utils.subframename+'" id="submitframe" src="'+$(abcdm.abccom.Utils.formid+' #submitform').val()+'?action='+
($(abcdm.abccom.Utils.formid+' #mobileSignupForm').attr("action"))+'&amp;phonenumber='+$(abcdm.abccom.Utils.formid+' #phoneNumber').val()+'&amp;docroot='+($(abcdm.abccom.Utils.formid+' #documentRoot').val())+'&amp;provider='+$(abcdm.abccom.Utils.formid+' #provider').val()+'"></iframe>').appendTo($(abcdm.abccom.Utils.formid));$('#abc-overlay').unbind("showloadbox");$('#abc-overlay').bind("showloadbox",{coversrc:$('#loadingsrc').val(),oHeight:$('#abc-iframe').height(),oWidth:$('#abc-iframe').width()},abcdm.abccom.Utils.coverBox);$('#abc-overlay').trigger("showloadbox");$('#abc-overlay').unbind("showsuccessbox");$('#abc-overlay').bind("showsuccessbox",{coversrc:$('#successsrc').val(),oHeight:$('#abc-iframe').height(),oWidth:$('#abc-iframe').width()},abcdm.abccom.Utils.coverBox);$('#abc-overlay').unbind("showerrorbox");$('#abc-overlay').bind("showerrorbox",{coversrc:$('#errorsrc').val(),oHeight:$('#abc-iframe').height(),oWidth:$('#abc-iframe').width()},abcdm.abccom.Utils.coverBox);abcdm.abccom.Utils.checkIframeResults=function(){var results;try{results=$.trim($(eval(abcdm.abccom.Utils.subframename).document.body).html());}catch(e){}
if(results==="success"){clearInterval(abcdm.abccom.Utils.iframeChecker);clearTimeout(abcdm.abccom.Utils.frameTimeout);$('#submitframe').remove();$('#abc-overlay').trigger("showsuccessbox");setTimeout(function(){$('#abc-overlay').trigger('closebox');},6000);}else if(results==="error"){$('#abc-overlay').trigger("showerrorbox");clearInterval(abcdm.abccom.Utils.iframeChecker);clearTimeout(abcdm.abccom.Utils.frameTimeout);$('#submitframe').remove();}};abcdm.abccom.Utils.iframeChecker=setInterval(function(){abcdm.abccom.Utils.checkIframeResults();},1500);abcdm.abccom.Utils.frameTimeout=setTimeout(function(){$('#abc-overlay').trigger('showerrorbox');clearInterval(abcdm.abccom.Utils.iframeChecker);},30000);return false;}}

/** 
* @filepath: /abcdm/abccom/browsercheck.js
* @created: Sat, 24 Jul 10 01:40:54 -0700
*/

var abcdm=abcdm||{},s_gi=s_gi||function(){},s_account=s_account||'';abcdm.abccom=abcdm.abccom||{};abcdm.abccom.prefs=abcdm.abccom.prefs||{};(function($){$(document).ready(function(){var browser,version,btable,ugDiv,s=s_gi(s_account);abcdm.abccom.prefs.minBrowserVer=abcdm.abccom.prefs.minBrowserVer||{'Firefox':3,'FirefoxLink':'http://www.getfirefox.com','Internet Explorer':7,'Internet ExplorerLink':'http://www.microsoft.com/windows/downloads/ie/','Safari':3,'SafariLink':'http://www.apple.com/safari/download/','checkSnooze':1};if((typeof abcdm==="object")&&(typeof abcdm.abccom==="object")&&(typeof abcdm.abccom.Utils==="object")&&(typeof abcdm.abccom.Utils.BrowserDetect==="object")&&(typeof abcdm.abccom.Utils.BrowserDetect.init==="function")&&(typeof abcdm.abccom.Utils.createOverlay==="function")&&(typeof abcdm.abccom.prefs==="object")&&(typeof $.cookie==="function")&&(typeof abcdm.abccom.prefs.minBrowserVer==="object")&&(abcdm.abccom.prefs.browserCheckDisable!==true)){if($.cookie('browserUpgrade')){}else{$.cookie('browserUpgrade','checked',{path:'/',domain:'go.com'});abcdm.abccom.Utils.BrowserDetect.init();browser=abcdm.abccom.Utils.BrowserDetect.browser;version=abcdm.abccom.Utils.BrowserDetect.version;btable=abcdm.abccom.prefs.minBrowserVer;if(typeof browser==="string"&&typeof version==="number"&&typeof btable[browser]==="number"&&typeof btable[browser+'Link']==="string"){if(version<btable[browser]){$('body').append('<div id="upgrade" class="overlaycontainer"><div class="signInPopup clearfix overlaycontents"></div></div>');ugDiv=$('#upgrade > div:first');ugDiv.append('<h6>Got Upgrade?</h6>');ugDiv.append('<p>So, it looks like you\'re using an older version of '+'<span title="'+browser+' - '+version+'">'+browser+'</span>'+' which means you may be missing out on some pretty cool features. '+'Upgrade to the latest version right now to get in on all the action.</p>');ugDiv.append('<p class="download"><a href="'+btable[browser+'Link']+'" target="_blank" title="upgrade please">Click here</a> '+'to get the latest version of your browser.</p>');ugDiv.append('<p class="nothanks"><a href="#">No thanks.</a></p>');$('#upgrade p.download a').click(function(){s.tl($(this),'o','upgraded_'+browser+'_'+version+'_'+btable[browser+'Link']);$('#abc-overlay').trigger("closebox");});$('#upgrade p.nothanks').click(function(){$('#abc-overlay').trigger("closebox");return false;});setTimeout(function(){abcdm.abccom.Utils.createOverlay(550,350,'#upgrade',false);$('#abc-overlay').unbind("closebox");$('#abc-overlay').bind("closebox",function(){$.cookie('browserUpgrade','checked',{'expires':abcdm.abccom.prefs.minBrowserVer.checkSnooze,'path':'/','domain':'go.com'});s.tl($(this),'o','noThanks_'+browser+'_'+version+'_'+btable[browser+'Link']);abcdm.abccom.Utils.closeOverlay();$('#upgrade').remove();});},800);}else{}}else{}}}else{}});}(jQuery));