// JavaScript Document

jQuery(document).ready(function(){
				   
		Cufon.replace('h1,h2,h3,.intro p,.btn-medium span, .slideinfo p');
			   
		// jQuery('img,html,li,a,*').pngFix( );
			
		 
			jQuery(".thumbnailwrap img, .ngg-gallery-thumbnail img").hover(function(){
			jQuery(this).stop().fadeTo("medium", 0.5); // This should set the opacity to 100% on hover
			},function(){
			jQuery(this).stop().fadeTo("slow", 1.0); // This should set the opacity back to 60% on mouseout
			});
				
		 
			jQuery(".thumbnailwrap_top img").hover(function(){
			jQuery(this).stop().fadeTo("medium", 0.5); // This should set the opacity to 100% on hover
			},function(){
			jQuery(this).stop().fadeTo("slow", 1.0); // This should set the opacity back to 60% on mouseout
			});
			
			
			jQuery(".weiterlesen span").hover(function(){
			jQuery(this).animate({ paddingLeft: '40px' }, 200);
			}, function() {
			jQuery(this).animate({ paddingLeft: '30px' }, 200);
			});
		
		
			jQuery("#sidebar li").hover(function(){
			jQuery(this).animate({ paddingLeft: '30px', backgroundPosition: '16px 12px' }, 200);
			}, function() {
			jQuery(this).animate({ paddingLeft: '20px', backgroundPosition: '6px 12px' }, 200);
			});

			jQuery(".button").hover(function(){
			jQuery(this).animate({ paddingLeft: '26px', backgroundPosition: '16px 8px' }, 200);
			}, function() {
			jQuery(this).animate({ paddingLeft: '16px', backgroundPosition: '6px 8px' }, 200);
			});	
			
			jQuery(".button-memberarea").hover(function(){
			jQuery(this).animate({ paddingLeft: '26px', backgroundPosition: '16px 8px' }, 200);
			}, function() {
			jQuery(this).animate({ paddingLeft: '16px', backgroundPosition: '6px 8px' }, 200);
			});	

			jQuery("#lwa_wp-submit").hover(function(){
			jQuery(this).animate({ paddingLeft: '26px', backgroundPosition: '16px 8px' }, 200);
			}, function() {
			jQuery(this).animate({ paddingLeft: '16px', backgroundPosition: '6px 8px' }, 200);
			});			
		
	});
	
function hoverbutton(){
jQuery(".btn-large, .btn-medium, #searchsubmit").hover(function(){
jQuery(this).stop().fadeTo("medium", 0.6);
},function(){
jQuery(this).stop().fadeTo("slow", 1.0);
});
}

function hoverbuttonReverse(){
jQuery(".clearborder").hover(function(){
jQuery(this).stop().fadeTo("fast", 1);
},function(){
jQuery(this).stop().fadeTo("medium", 0.7);
});
}
