if( hq == undefined ) {
	var hq = {};
}


hq.nextgenUtil = {
	init : function() {
	
//		myLightbox.initialize();

//		shutterReloaded.init();		
		$j('#hq_idx_content').find('.slideshowlink').hide();
		$j('#hq_idx_content').find('.piclenselink').hide();	
		$j('#hq_idx_content').find('#postContent').find('a:has(img)').removeClass('evtBound').attr('rel', "lightbox").unbind('click'); 
		$j('#hq_idx_content').find('#postContent').find('img').height(53).width(70);
		$j('#hq_idx_content').find('.slideshow').width('100%');
		$j('#hq_idx_content').find('.ngg-gallery-thumbnail').css('margin', 0);
		var permalink = $j('#hq_idx_content').find('#postPermalink').val();
		if(permalink)
		$j('.ngg-album').find('a').attr('rel', '').attr('href', permalink).attr('newWnd', 1).addClass('evtBound');

	}
};

$j( document ).ready( toolbox.delegate( hq.nextgenUtil.init, hq.nextgenUtil ) );

$j('body').bind('paneProcessed', toolbox.delegate(hq.nextgenUtil.init, hq.nextgenUtil));

