var TubePressSoloPlayer=(function(){var b=TubePressEvents,d=jQuery(document),c=TubePressThumbs,a=jQuery,e=function(){a("a[id^='tubepress_']").each(function(){var g=a(this),f=g.attr("rel").split("_"),j,h,k,i;i=c.getGalleryIdFromRelSplit(f);if(TubePressGallery.getPlayerLocationName(i)!=="solo"){return}h=c.getVideoIdFromIdAttr(g.attr("id"));j=c.getCurrentPageNumber(i);k=a.query.set("tubepress_video",h).set("tubepress_page",j).toString();g.attr("href",k);g.unbind("click")})};a.getScript(getTubePressBaseUrl()+"/sys/ui/static/players/solo/lib/jQuery.query.js",e,true);d.bind(b.NEW_THUMBS_LOADED,e)}());