$(document).ready(function(){
	
$("a[href^='http://']").attr('target','_blank').addClass('ext');

$('#wrapper').wrap('<div id="wrap"></div>');


Cufon.replace('h1,h2');
/**NAVi**/

	
	});
	
	
	
	
var newYear = new Date(); 
newYear = new Date(newYear.getFullYear() + 1, 1 - 1, 1); 
$('#start-countdown').countdown({until: newYear}); 
 
$('#removeCountdown').toggle(function() { 
        $(this).text('Re-attach'); 
        $('#defaultCountdown').countdown('destroy'); 
    }, 
    function() { 
        $(this).text('Remove'); 
        $('#defaultCountdown').countdown({until: newYear}); 
    });
	
	
$(function(){
 $('#slider') // Demo 2 code, using FX base effects
  .anythingSlider({
  delay               : 10000,      // How long between slideshow transitions in AutoPlay mode (in milliseconds)
  animationTime       : 2000,  
  resizeContents      : true,
  autoPlay            : true,     // If true, the slideshow will start running; replaces "startStopped" option
  autoPlayDelayed     : false,     // If true, starting a slideshow will delay advancing slides; if false, the slider will immediately advance to the next slide when slideshow starts
  pauseOnHover        : true, 
  buildArrows         : false,      // If true, builds the forwards and backwards buttons
  buildNavigation     : false,      // If true, builds a list of anchor links to link to each panel
  buildStartStop      : false,    
  })
  .anythingSliderFx({
    // base FX definitions
    // '.selector' : [ 'effect(s)', 'size', 'time', 'easing' ]
    // 'size', 'time' and 'easing' are optional parameters, but must be kept in order if added
    '.quoteSlide:first *' : [ 'grow', '24px', '400', 'easeInOutCirc' ],
    '.quoteSlide:last'    : [ 'top', '500px', '400', 'easeOutElastic' ],
    '.expand'             : [ 'expand', '10%', '400', 'easeOutBounce' ],
    '.textSlide h3'       : [ 'top fade', '200px', '500', 'easeOutBounce' ],
    '.textSlide img,.fade': [ 'fade' ],
    '.textSlide li'       : [ 'listLR' ]
  });
});	
