$(function () {
	for (i = 1; i <= 4; i++) {
		var seed = Math.floor(Math.random() * 576) + 1;
		$.get('features', {
			seed:seed
		},
		function (data) {
			$('#features') .append(data);
			$(function () {
				$('.jqueryLightbox') .lightBox({
					fixedNavigation: true,
					imageLoading: 'images/lightbox-ico-loading.gif',
					imageBtnClose: 'images/lightbox-btn-close.gif',
					imageBtnPrev: 'images/lightbox-btn-prev.gif',
					imageBtnNext: 'images/lightbox-btn-next.gif'
				});
			});
		});
	}
});