var root = "/";

$(window).load(function() {
	$('#slider').nivoSlider({
		directionNav:false,
		controlNav:false,
		animSpeed:1000,
		pauseTime:5000,
		pauseOnHover:false,
		effect: 'fold'
	});
});

Shadowbox.init({
    language: 'en',
    players:  ['img'],
	overlayOpacity: 0.9,
	continuous: true,
	overlayColor: '#000',
	displayCounter: true
});

$(document).ready(function(){
//////
//////MEDIA ROLLOVERS
//////
	$(".mediathumb a").hover(function(){
		$(this).parent().parent().children(".mediatitel").css({"color": "#CCC"});
	}, function(){
		$(this).parent().parent().children(".mediatitel").css({"color": "#8b8b8b"});
	})
//////
//////SPOLIGHT ROLLOVERS
//////
	$(".thumbwrap a").hover(function(){
		$(this).children("img").animate({"opacity": "0.85"}, "fast");
	}, function(){
		$(this).children("img").animate({"opacity": "1"}, "fast");
	})

		
});
