// JavaScript Document
Cufon.replace('h1,h2,h3,h4,#header p');  
Cufon.replace('.button_1 a,.button_2 a,.back a',{textShadow: '0px 1px 0px #e80000'}); 

//Countdown
$(function () {
	jQuery('#defaultCountdown').countdown({
	until: new Date(2011, 10 - 1, 22, 0, 0, 0), 
	format: 'DHMS',
	layout: '<div id="vals">'+
	'<font style="color:#c8c8c8;line-height:1em;font-weight:normal;font-size:26px;padding-bottom:15px;">{dnn}</font>'+
	'<font style="color:#73cbd8;line-height:1em;font-weight:normal;font-size:16px;padding-bottom:20px;margin-right: 10px;"> days</font>'+
	'<font style="color:#c8c8c8;line-height:1em;font-weight:normal;font-size:26px;padding-bottom:20px;">{hnn}</font>'+
	'<font style="color:#73cbd8;line-height:1em;font-weight:normal;font-size:16px;padding-bottom:15px;margin-right: 10px;"> hours</font>'+
	'<font style="color:#c8c8c8;line-height:1em;font-weight:normal;font-size:26px;padding-bottom:20px;">{mnn}</font>'+
	'<font style="color:#73cbd8;line-height:1em;font-weight:normal;font-size:16px;padding-bottom:15px;margin-right: 10px;"> minutes</font>'+
	'<font style="color:#c8c8c8;line-height:1em;font-weight:normal;font-size:26px;padding-bottom:20px;">{snn}</font>'+
	'<font style="color:#73cbd8;line-height:1em;font-weight:normal;font-size:16px;padding-bottom:15px;"> seconds to go</font>'+
	'</div>'
});
	Cufon.replace('#defaultCountdown', { fontFamily: 'Qlassik Bold'});   // this will replace everything in the defaultCountdown div with your font	
});
   
$(document).ready(function() {

//More info page on click
$(function () {
$(".info").click(function () {
					$("#wrapper").fadeOut("slow", function () {
						$(".info_page").fadeIn("slow");				
					});
				});
				$(".back").click(function () {
					$(".info_page").fadeOut("slow", function () {
						$("#wrapper").fadeIn("slow");				
					});
				});
});

//Nivo slider
$('#slider').nivoSlider({
        effect:'fade', // Specify sets like: 'fold,fade,sliceDown'
        slices:15, // For slice animations
        boxCols: 8, // For box animations
        boxRows: 4, // For box animations
        animSpeed:500, // Slide transition speed
        pauseTime:2000, // How long each slide will show
		pauseOnHover:false,
       directionNav:false, // Next & Prev navigation
        directionNavHide:false, // Only show on hover
        controlNav:false // 1,2,3... navigation
});


});	//document ready closed
	

