jQuery(document).ready(function(){


	/*
	$('#thumb > div').hide()

	$('#thumb').css('opacity','0')
	var imgs = $('.colDx img')
	imgs.css({'cursor':'pointer','opacity':'0.5'})

	imgs.each(function(){ 
		$(this).hover(function(){
			$(this).not('.active').stop().animate({opacity: '1'},"slow")
		},function(){
			$(this).not('.active').stop().animate({opacity: '0.5'},"slow") 
		})
		
		$(this,'#thumb').click(function(){
			if($(this).hasClass('active')){
				$(this).removeClass('active')
				$('#thumb').stop().animate({opacity: '0'},"slow")
				imgs.css('opacity','0.5').removeClass('active')
			}else{
				$('#thumb > div').hide()
				imgs.css('opacity','0.5').removeClass('active')
				$(this).css('opacity','1').addClass('active')
				
				var idImg = '.'+$(this).attr('id')
				$(idImg).show()
				$('#thumb').stop().animate({opacity: '1'},"slow")
			}
		})
	})
	*/
	
	$(".vini img").each(function(){
		if($(this).parent('a').hasClass('active')){
			$(this).css('opacity','0')
		}else{
			$(this).hover(function(){
				$(this).stop().animate({opacity: '0'})
			},function(){
				$(this).stop().animate({opacity: '1'})
			})
		}
	})
	
	$(".blank").click(function(){
		var href = $(this).attr("href")
		window.open(href)
		return false
	})
})
