        var CodaSlider_1 = false;
        
			$(document).ready(function() {
				$("#twitter").getTwitter({
					userName: "RemcoUltee",
					numTweets: 2,
					loaderText: "Loading tweets...",
					slideIn: true,
					slideDuration: 800,
					showHeading: true,
					headingText: "&nbsp;&nbsp;",
					showProfileLink: false,
					showTimestamp: true
				});

			
		$("a#Fancybox").fancybox({
				'width'				: '75%',
				'height'			: '80%',
				'autoScale'			: true,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'scrolling'		: 'yes',
				'overlayShow'		: true
			})
			
		 $("a.iframeFancybox1").fancybox({
		'width'				: '75%',
		'height'			: '75%',
		'overlayOpacity'	 :	'0.1',
		'overlayColor'		 :	'#fff',
		'hideOnContentClick' :   false,
		'autoScale'     	 :   false,
   		'transitionIn'		 :   'elastic',
   		'scrolling' 		:	'yes',
		'transitionOut'	 :   'elastic',
		'type'			 :   'iframe'
	});
	
			 $("a.popup").fancybox({
		'width'				: '75%',
		'height'			: '90%',
		'overlayOpacity'	 :	'0.1',
		'overlayColor'		 :	'#fff',
		'hideOnContentClick' :   true,
		'autoScale'     	 :   true,
   		'transitionIn'		 :   'elastic',
   		'scrolling' 		:	'yes',
		'transitionOut'	 :   'elastic',
		'type'			 :   'iframe'
	});
		
    
    /*$('#coda-slider-1').codaSlider({
		autoSlide: true,
		autoSlideInterval: 5000,
		autoHeightEaseDuration: 2500,
		autoHeightEaseFunction: "easeInOutElastic",
		slideEaseDuration: 2500,
		slideEaseFunction: "easeInOutElastic",
		autoHeight: false
	});*/
    
    
	
	$("#slider2").easySlider({
		loop: true,                           // Looping
		orientation: 'fade',                  // Fading
		autoplayDuration: 2000,               // Autoplay with 1 second intervals
		autogeneratePagination: true,         // Automatically generate pagination links
		restartDuration: 2500,                // In case of user interaction, restart the autoplay after 2.5 seconds
		nextId: 'next',
		prevId: 'prev',
		pauseable: false                       // Pause by hovering over the image!  Then restart after 2.5 seconds (see above)
	});
	
		$("#slider3").easySlider({
		loop: true,                           // Looping
		orientation: 'fade',                  // Fading
		autoplayDuration: 2000,               // Autoplay with 1 second intervals
		autogeneratePagination: true,         // Automatically generate pagination links
		restartDuration: 2500,                // In case of user interaction, restart the autoplay after 2.5 seconds
		nextId: 'next',
		prevId: 'prev',
		pauseable: false                       // Pause by hovering over the image!  Then restart after 2.5 seconds (see above)
	});
	
			$("#slider4").easySlider({
		loop: true,                           // Looping
		orientation: 'fade',                  // Fading
		autoplayDuration: 2000,               // Autoplay with 1 second intervals
		autogeneratePagination: true,         // Automatically generate pagination links
		restartDuration: 2500,                // In case of user interaction, restart the autoplay after 2.5 seconds
		nextId: 'next',
		prevId: 'prev',
		pauseable: false                       // Pause by hovering over the image!  Then restart after 2.5 seconds (see above)
	});
			


	$(".btn-slide").click(function(){
	  $("#panelweb").slideToggle("slow");
	  $(this).toggleClass("active");
      if(CodaSlider_1 == false) {
        $('#coda-slider-1').codaSlider({
    		dynamicArrows: true,
    		dynamicTabs: false,
    		autoHeight: false,
    		firstPanelToLoad: 1
	   });
        CodaSlider_1 = true;
      }
	  $("#panelapps").hide();
	  $("#panelpress").hide();
	});
	
	$(".btn-slideapps").click(function(){
	  $("#panelapps").slideToggle("slow");
	  $(this).toggleClass("active");
	  $("#panelweb").hide();
	  $("#panelpress").hide();
	});
	
		$(".btn-slidepress").click(function(){
	  $("#panelpress").slideToggle("slow");
	  $(this).toggleClass("active");
	  $("#panelweb").hide();
	  $("#panelapps").hide();
	  
	});
	
	$(".disablepanels").click(function(){
	  	   $("#panelweb").hide();
	  	   $("#panelapps").hide();
	  	   $("#panelpress").hide();
	});
	

	$('#stpn_panel').codaSlider({
		dynamicArrows: false,
    		dynamicTabs: false,
    		autoHeight: false,
    		crossLinking: true,
    		firstPanelToLoad: 1
	   });
	   


});
