jQuery.noConflict();

jQuery(document).ready(function(){

	var max_height = $(".hidden_div").css("height");
	$(".hidden_div").css("height", "97px");

	$("a[id=button]").click(function()
	{
		if ($(".hidden_div").attr("id")=='div1')
		{
			$("a[id=button]").html("Скрыть");
			$(".hidden_div").attr("id", "div2");
			$(".hidden_div").animate({"height":"100%"}, "slow");
			//$(".hidden_div").css("height", max_height);
		}
		else
		{
			$("a[id=button]").html("Подробнее");
			$(".hidden_div").attr("id", "div1");
			$(".hidden_div").animate({"height":"97px"}, "slow");
		}
	});	 


//     $("span.mfancy a").fancybox({
//          'hideOnContentClick': true,
//          'overlayShow': true
//     });
});
