jQuery.noConflict();

function imageFade() { 

	$(function() {
			   
		$(".fade_img").css("opacity","0.5");
				
		$(".fade_img").hover(function () {
												  
		$(this).stop().animate({
		opacity: 1.0
		}, "slow");
		},
				
		function () {			
		$(this).stop().animate({
		opacity: 0.5
		}, "slow");
		});
		
	});

} 

function newsRoom() { 

	$('.contentbox a').click(function(){
    $('#news_text').load('news/text-' + $(this).attr('href'),function() {$('#news_text').hide().fadeIn(400)});
      return false;
    });

} 

var $ = jQuery.noConflict();

jQuery(document).ready(function()
{	

		jQuery(" #nav ul ").css({display: "none"}); // Opera Fix
		jQuery(" #nav li").hover(function(){
		jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown(400);
		},function(){
		jQuery(this).find('ul:first').css({visibility: "hidden"});
		});

		$('#slideshow').cycle({
			timeout: 10000,
			fx:      'fade',           
			pause:   0,
			cleartypeNoBg: true,
			pauseOnPagerHover: 0
		});

		newsRoom();
		imageFade();
	
});




