	
	Cufon.replace('ul.sf-menu a, h3, h1, a.btn, .cufon, .content h1, .content h2, .content h3, .content h4, .content h5, .content h6, #footer h4',{hover: true});
	
	
	$(function () {
		$('.image_load img').hide();
	});

	var i = 0;
	var int=0;
	$(window).bind("load", function() {
		var int = setInterval("doThis(i)",500);
	});

	function doThis() {
		var images = $('.image_load img').length;
		if (i >= images) {
			clearInterval(int);
		}
		$('.image_load img:hidden').eq(0).fadeIn(500);
		i++;
	}
	
$(document).ready(function() { 
		
		
        $('ul.sf-menu').superfish({ 
            delay:       300,                             
            animation:   {height:'show'},   
            speed:       'fast',                           
            autoArrows:  false,                            
            dropShadows: false,                             
        }); 

		
		$('#coin-slider').coinslider({ width: 445, height: 241, navigation: true, opacity: 1 });
		
		$('input.sidetext, .sidebar input, input.large, input.medium, input.small, input.extra_small').focus(function() {
			$(this).addClass("input_hover");
    	});

		$('input.sidetext, input.large, input.medium, input.small, input.extra_small').blur(function() {
			$(this).removeClass("input_hover");
    	});
		
		$('input.green').focus(function() {
			$(this).addClass("green_hover");
    	});
		
		$('input.green').blur(function() {
			$(this).removeClass("green_hover");
    	});
		
		$('input.red').focus(function() {
			$(this).addClass("red_hover");
    	});
		
		$('input.red').blur(function() {
			$(this).removeClass("red_hover");
    	});
		
		$('input.yellow').focus(function() {
			$(this).addClass("yellow_hover");
    	});
		
		$('input.yellow').blur(function() {
			$(this).removeClass("yellow_hover");
    	});

		$('input.large, input.medium, input.small, input.extra_small').blur(function() {
			$(this).removeClass("input_hover");
    	});
		
		
		$('#email').focus(function() {
			$('.input_small').removeClass("input_small").addClass("input_small_highlight");
    	});
		
		
    	$('#email').blur(function() {
    		$('.input_small_highlight').removeClass("input_small_highlight").addClass("input_small");
    	});
		
		
		$(".submit").hover(function () {
			$(this).addClass("submit_hover");
	  		}, 
	  		function () {
			$(this).removeClass("submit_hover");
	  		}
		);
		
		$('#cycle').cycle({ 
			fx:      'fade', 
			speed:    500, 
			timeout:  5000 
		});
}); 
