// 3v Nav menu
jQuery(document).ready(function($){
	
if (viewportwidth<=1152){	
	$(".home a img").hover(function(){
		$(this).attr("src","images/1024/hover_home.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/1024/button_home.png").stop().animate({"opacity": "1"}, "normal");
					}
		);	
	$(".whois a img").hover(function(){
		$(this).attr("src","images/1024/hover_whois.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/1024/button_whois.png").stop().animate({"opacity": "1"}, "normal");
					}
		);			
	$(".webdesign a img").hover(function(){
		$(this).attr("src","images/1024/hover_webdesign.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/1024/button_webdesign.png").stop().animate({"opacity": "1"}, "normal");
					}
		);
	$(".ecommerce a img").hover(function(){
		$(this).attr("src","images/1024/hover_ecommerce.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/1024/button_ecommerce.png").stop().animate({"opacity": "1"}, "normal");
					}
		);	
	$(".cms a img").hover(function(){
		$(this).attr("src","images/1024/hover_cms.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/1024/button_cms.png").stop().animate({"opacity": "1"}, "normal");
					}
		
		);	
	$(".portfolio a img").hover(function(){
		$(this).attr("src","images/1024/hover_portfolio.png").stop().animate({"opacity": "0.80"}, "normal");
		},function(){
					$(this).attr("src","images/1024/portfolio-button.png").stop().animate({"opacity": "1"}, "normal");
					}
		
		);	

}else{	
	
	$(".home a img").hover(function(){
		$(this).attr("src","images/hover_home.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/button_home.png").stop().animate({"opacity": "1"}, "normal");
					}
		);	
	$(".whois a img").hover(function(){
		$(this).attr("src","images/hover_whois.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/button_whois.png").stop().animate({"opacity": "1"}, "normal");
					}
		);			
	$(".webdesign a img").hover(function(){
		$(this).attr("src","images/hover_webdesign.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/button_webdesign.png").stop().animate({"opacity": "1"}, "normal");
					}
		);
	$(".ecommerce a img").hover(function(){
		$(this).attr("src","images/hover_ecommerce.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/button_ecommerce.png").stop().animate({"opacity": "1"}, "normal");
					}
		);	
	$(".cms a img").hover(function(){
		$(this).attr("src","images/hover_cms.png").stop().animate({"opacity": "0.50"}, "normal");
		},function(){
					$(this).attr("src","images/button_cms.png").stop().animate({"opacity": "1"}, "normal");
					}
		
		);	
	$(".portfolio a img").hover(function(){
		$(this).attr("src","images/hover_portfolio.png").stop().animate({"opacity": "0.80"}, "normal");
		},function(){
					$(this).attr("src","images/portfolio-button.png").stop().animate({"opacity": "1"}, "normal");
					}
		
		);	
}
	
});
