$(document).ready(function() { $('#top').allenMenu(); $('#slide').allenSlide(); $('a[name=need_lightbox]').lightBox(); });