$(document).ready(function() {
		$('#cat').click(function() {
			$('#catdivs').css('display', 'block');
			
			$('#catdivs').animate({
				width: '600'
			  }, 400, function() {
				$('#catdivs td').animate({
						width: '150'
			  		}, 400, function() {
				 		});
				
				
			  });
		});
});


 function togg_c1()
    {$("#c1").toggle(500);}
 function togg_c2()
    {$("#c2").toggle(500);}
     function togg_c3()
    {$("#c3").toggle(500);}
    
$(document).ready(function(){
				$("a[rel^='prettyPhoto']").prettyPhoto();
});

function getDocHeight() {
    var D = document;
    return Math.max(
        Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
        Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
        Math.max(D.body.clientHeight, D.documentElement.clientHeight)
    );
}


