}
});
});
+ $('body').click(function(e) {
+ if ($current == null) return;
+ var p = $(e.target);
+ while (p.length) {
+ if (p == $current)
+ return;
+ if (p.hasClass('hidden-box-trigger'))
+ return;
+ p = p.parent();
+ }
+ $current.hide('fast');
+ $current = null;
+ });
})();
+
event.preventDefault();
window.open($(this).attr('href'),
'player',
- 'width=420, height=500'
+ 'width=422, height=500'
);
});
return false;
});
+ $(function(){
+ $("#search").search();});
});
})(jQuery)