$(document).ready(function() {
	
	$('#GadgetTitle').css('color','#fff');
	$('#GadgetTitle').css('font-family','sans-serif');
	$('#GadgetTitle').css({'font-size':'18px','font-weight':'bold'});
	$('#GadgetTitle').html('Beoordeling Rivage Verhuur');
	
	$('#avgScore').css('color','#ffffff');
	$('#layerLitScore').css('color','#ffffff');
	$('#noOfTestimonials').css('color','#ffffff');
	
	$('#ZOOVER table, #ZOOVER table tr td').css('background','none');
	$('#ZOOVER table').css('background-image',$('#content_r').css('background-image'));
	
	$('#ZOOVER div span').css({'background':'none','color':'#ffffff'})
	
	//'background-image':$('#content_r').css('background-image')}
	$('#ReadTestimonials').css('color','#fff');
	$('#AddTestimonial').css('color','#fff');
	$('#AddTestimonial').html('Beoordeel Ons');

	
	$("#slider2").easySlider({
		auto: true, 
		continuous: true,
		numeric:false,
		controlsShow: false
	});

	$("a#Fancybox").fancybox({
		'width'				: '75%',
		'height'			: '75%',
		'autoScale'			: false,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
	
	$("a[class*='Fancybox']").fancybox({
		'width'				: '75%',
		'height'			: '75%',
		'autoScale'			: false,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
			
	$("a[rel=fancybox]").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'titlePosition' 	: 'over',
		'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
		return '<span id="fancybox-title-over">Afbeelding ' + (currentIndex + 1) + ' / ' + currentArray.length + '</span>';}
	});
			
	$("a.iframeFancybox1").fancybox({
		'width'				: '75%',
		'height'			: '75%',
		'overlayOpacity'	 :	'0.1',
		'overlayColor'		 :	'#fff',
		'hideOnContentClick' :   false,
		'autoScale'     	 :   false,
   		'transitionIn'		 :   'elastic',
   		'scrolling' 		:	'yes',
		'transitionOut'	 :   'elastic',
		'type'			 :   'iframe'});
	});
		
	$(window).resize(function() {	
  		$('#bgImage').attr("width", $(window).width());
		$('#bgImage').attr("height", $(window).height());  			
	});

