$(document).ready(function() {
	
	if ($.browser.msie) {
			
	}else {
		$('.opaciter').animate({ opacity: 0.7 });
		$('.opaciter').mouseenter(function(){
			$(this).stop().animate({ opacity: 1 });
		});
		$('.opaciter').mouseleave(function(){
			$(this).stop().animate({ opacity: 0.7 });
		});
	}
		
		
	$('#btn_up').click(function() {
		$('html,body').animate({scrollTop: 0}, 'slow');
	});
		 
	$(window).scroll(function(){
		if($(window).scrollTop()<300){
			$('#btn_up').fadeOut();
		}else{
			$('#btn_up').fadeIn();
		}
	});
	
	$(".image_hover").thumbPopup({
		imgSmallFlag: "_s",
		imgLargeFlag: "_l",
		loadingHtml: "<span style='padding:5px;'>Loading</span>"
	});
	
});

