/*
Adapted by Nicolas Bregenzer
*/


jQuery(document).ready(function() 
{
	
	var FvF = {
		
		resize:function(){
			var width_size = 750;
			//jQuery("#slide-top #prevBtn").width((jQuery(document).width()-width_size)/2);
			//jQuery("#slide-top #prevBtn a").width((jQuery(document).width()-width_size)/2);
			//jQuery("#slide-top #nextBtn").width((jQuery(document).width()-width_size)/2);
			//jQuery("#slide-top #nextBtn a").width((jQuery(document).width()-width_size)/2);
			
			jQuery("#slide-top #prevBtn").width(220);
			jQuery("#slide-top #prevBtn a").width(220);
			jQuery("#slide-top #nextBtn").width((jQuery(document).width()-(width_size+220)));
			jQuery("#slide-top #nextBtn a").width((jQuery(document).width()-(width_size+220)));
			
		}
	
	}
		
	FvF.resize();
	
	jQuery(window).resize(function(){
			FvF.resize();
	});
	
	
    jQuery("#slider").easySlider({
        auto: true, 
        continuous: true,
        numeric: false,
        controlsShow: true,
        speed:400,
        pause:5000
      });
		

});


