var $=jQuery;$(document).ready(function(){if($("#feature-box").length){$("#feature-box #features").cycle({fx:"scrollHorz",speed:500,fastOnEvent:200,timeout:5000,next:"#feature-next",prev:"#feature-previous"});$("#feature-box #features").fadeIn("slow")}});function playerReady(b){if(b.id){var a=getPlayerInstance(b.id);JWaddListeners(a)}}function getPlayerInstance(a){var b=document.getElementById(a);return b}function JWaddListeners(a){if(a){a.addModelListener("STATE","JWstateListener")}else{setTimeout("JWaddListeners(obj)",100)}}function JWstateListener(c){var a=c.oldstate;var b=c.newstate;currentState=c.newstate;if(currentState=="COMPLETED"){jQuery(".section-tv-lead h3").fadeIn()}if(currentState=="PLAYING"){jQuery(".section-tv-lead h3").fadeOut()}if(currentState=="PAUSED"){jQuery(".section-tv-lead h3").fadeIn()}}$(function(){$("#section-spy ul, .breakout-community-digest").simpleSpy()});function triggerSpy(){$("#section-spy ul, .breakout-community-digest").simpleSpy()};