﻿
function showFooterNavItem(id) {
	
	$('#footerBlackNavBar .content .contentItem').hide(); 
	$('#contentItem-'+ id).show();
	
	$('#footerBlackNavBar ul li').removeClass('on');
	$('#tabItem-'+ id).addClass('on');
	
}



var curPhotoGalleryId = 1;

function movePhotoGalleryDown() {
	
	if (curPhotoGalleryId > 1) {
		curPhotoGalleryId--;
		changePhotoGalleryBlock();
	}
	
}

function movePhotoGalleryUp() {
	
	if (curPhotoGalleryId < curPhotoGalleryMaxCount) {
		curPhotoGalleryId++;
		changePhotoGalleryBlock();
	}
	
}

function changePhotoGalleryBlock() {
	
	$('#photoGallery .galleryBlock').hide(); 
	$('#galleryBlock-'+ curPhotoGalleryId).show();
	
}
