/**
 * @author Mikhail Kozlov
*/
		$(document).ready(function(){
			$(".zoomBox a").fancybox();
			$("#alphabet a").click(function(){
				$link = $(this);
				$("#alphabet a").removeClass("current");
				$(this).addClass("current");
				if($(this).attr("href") == "#alphabet"){
					$(".pIndex div").fadeIn(200);
				}else{
					$(".pIndex div").fadeOut(200,function(){
						if($($link.attr("href")+" a").html() == null){
							$(".pIndex p").show();
						}else{
							$(".pIndex p").hide();
							$($link.attr("href")).fadeIn(200);
						}
					});
				}
				return false;
			});
			
		});