var TubePressShadowboxPlayer=(function(){var e=TubePressEvents,d="shadowbox",a=jQuery,h=a(document),c=getTubePressBaseUrl()+"/sys/ui/static/players/shadowbox/",f=function(){if(typeof Shadowbox==="undefined"){setTimeout(f,400);return}Shadowbox.path=c+"lib/";Shadowbox.init({initialHeight:160,initialWidth:320,skipSetup:true,players:["html"],useSizzle:false});Shadowbox.load()},b=function(m,l,k,j,i){Shadowbox.open({player:"html",height:i,width:j,content:"&nbsp;"})},g=function(n,o,j,i,k,m,l){if(!a("#sb-player").length){setTimeout(function(){g(n,o,j,i,k,m,l)},200);return}a("#sb-player").html(j)};jQuery.getScript(c+"lib/shadowbox.js",function(){},true);TubePressCss.load(c+"lib/shadowbox.css");f();h.bind(e.PLAYER_INVOKE+d,b);h.bind(e.PLAYER_POPULATE+d,g)}());
