<!--
function item_over(obj) 
{
	document.getElementById(obj).style.display = "block";
	document.getElementById(obj).style.position = "absolute";
	document.getElementById(obj).style.top = "16px";
}

function item_out(obj)
{
	document.getElementById(obj).style.display = "none";
}

$(document).ready(function () {
	$(document).scroll(function () {
		var offset = $(document).scrollTop();
		$('.menu-main').animate({top: offset}, 1);
	})
	
	$("a[rel=photo]").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'titlePosition' 	: 'over',
		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
			return '<span id="fancybox-title-over">Фото ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
		}
	});
})
-->
