$(document).ready(function(){

	$(document).pngFix(); 
		
	$('.thumb_container').infiniteCarousel();
	
    $('ul#navigation').superfish(); 


  $("#primary .contract li img").mouseover(function ()
  {
    $(this).stop().animate({"opacity": "0.5"}, "slow");
  });

  $("#primary .contract li img").mouseout(function ()
  {
    $(this).stop().animate({"opacity": "1"}, "slow");
  });

   	  
$("#primary .thumb_container li img").hover(
function() {
$(this).stop().animate({"opacity": "0"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
});

$("#primary .inner_thumb_container li img").hover(
function() {
$(this).stop().animate({"opacity": "0"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
});


$("#sidebar li img").hover(
function() {
$(this).stop().animate({"opacity": "0"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
});

$("#sidebar li img").hover(
function() {
$(this).stop().animate({"opacity": "0"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
});

$("#sidebar .sidebar-img li img").hover(
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
});

$("#sidebar .sidebar-image-containers-2 li img").hover(
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
});



    $('#news_module').cycle({
        delay: 3000,
        speed: 1000,

    });


});




