// JavaScript Document
 $(document).ready(function () {
	 $(".thumbs ul li img").css({
	 	"width":"56px",
		"height":"56px"
	 });
     $(".thumbs ul li").hoverIntent(function () {
            $(this).css({
                "z-index": "99"
            });
            $(this).find("img").addClass("hover").stop().animate({
                marginTop: "-110px",
                marginLeft: "-110px",
                top: "50%",
                left: "50%",
                width: "145px",
                height: "104px",
				padding: "0"
            }, 100)
        }, function () {
            $(this).css({
                "z-index": "0"
            });
            $(this).find("img").removeClass("hover").stop().animate({
                marginTop: "0",
                marginLeft: "0",
                top: "0",
                left: "0",
                width: "56px",
                height: "56px",
				padding: "0"
            }, 100)
        });
/*		$(".thumbs ul li a .text").css({"opacity":"0"}).hide();
*/        $(".thumbs ul li a").click(function () {
            var a = $(this).attr("href");
			var iAlt = $(this).find('img').attr('alt');
			var iDesc = $(this).find('.text').html();
			var iHigh = $('.slideShow').find('.text').height();
			
            $(".slideShow img").attr({
                src: a
            });
			
				$('.slideShow .text').stop().animate({
					opacity: 0,
					marginBottom: -iHigh
					
					},250, function(){
						$('.slideShow .text').html(iDesc).stop().animate({
							opacity: 0.85,
							marginBottom: "0"
						}, 250);
						
					});
			
			
			
            return false
        });
		
    });
