$(document).ready(function(){
    $("#navigation LI").hover(function(){
            if($(this).parents().eq(1).attr('id')!='navigation'){
                $(this).parents().eq(1).find('A:first').addClass('nav1active');
            }
		},function(){
			$(this).parents().eq(1).find('A:first').removeClass('nav1active');
		});
    $("#navigation LI").click(function(){
            document.location=$(this).find('A:first').attr('href');
 		});
    $("#navigation UL").hover(function(){
            if($(this).parents().eq(0).attr('id')!='navigation'){
                $(this).parents().eq(0).find('A:first').addClass('nav1active');
            }
		},function(){
			$(this).parents().eq(0).find('A:first').removeClass('nav1active');
		});
	
    $("ul.thumb li").hover(function() {
        $(this).css({'z-index' : '10'}); 
        $(this).find('img').addClass("hover").stop()
            .animate({
                marginTop: '-107px',
                marginLeft: '-84px',
                top: '50%',
                left: '50%',
                width: '152px', 
                height: '214px', 
                padding: '0px'
            }, 200); 

	} , function() {
        $(this).css({'z-index' : '0'}); 
        $(this).find('img').removeClass("hover").stop()  
            .animate({
                marginTop: '0',
                marginLeft: '0',
                top: '0',
                left: '0',
                width: '97px',
                height: '137px', 
                padding: '0px'
            }, 400);
            });
    


	//jQuery('.img2').zoomImgRollover();

	//$(".img2").animate({"height": 240}, { duration: "fast" });
	/*$(".img2").toggle(function(){
		$(this).animate({"height": 321}, { duration: "slow" });
		},
		function(){
		$(this).animate({"height": 240}, { duration: "slow" });
		});*/
		/*$(".img2").toggle(function(){
			$(this).clone(true).appendTo($(this));
			$(this).find('.img2').addClass('img3');
			$('.img3').removeClass('img2');
			$('.img3').css('z-index',1000);
			$('.img3').css('height',321);
			$('.img3').css('left',0);
			$('.img3').css('top',0);
			//$(this).find('IMG').animate({"height": 321,display:"inline"}, { duration: "slow" });
		},
		function(){
			$('.img3').remove();
			//$(this).animate({"height": 240}, { duration: "slow" });
		});*/
	/*	$("ul.thumb li").hover(function() {
	$(this).css({'z-index' : '10'}); 
		$(this).find('img').addClass("hover").stop() 
		.animate({
			marginTop: '-107px', 
			marginLeft: '-76px',
			top: '50%',
			left: '50%',
			width: '152px', 
			height: '214px', 
			padding: '0px'
		}, 200); 

	} , function() {
	$(this).css({'z-index' : '0'}); 
	$(this).find('img').removeClass("hover").stop()  
		.animate({
			marginTop: '0', 
			marginLeft: '0',
			top: '0',
			left: '0',
			width: '76px', 
			height: '107px', 
			padding: '0px'
		}, 400);
});*/
	});

