
	
	Cufon.replace('.header-home h1, .archerbook', { fontFamily: 'Archer Book' });
	Cufon.replace('.archermedium, .blogbox li, label', { fontFamily: 'Archer Medium' });
	Cufon.replace('.archermedium, .news-item, .blogbox li, label', { fontFamily: 'Archer Medium' });
	
	
	$(document).ready(function()
	{
		
	  	$('#heroes-fabriclive').cycle({ 
		    fx:    'fade', 
		    speed:  2000,
			timeout:  4000 
		 });		
		$('#heroes-fabric').cycle({ 
		    fx:    'fade', 
		    speed:  2000,
			timeout:  4000 
		 });
		 
		 $('.rotate-banners').cycle({ 
		    fx:    'fade', 
		    speed:  2000,
			timeout:  9999 
		 });
		 
		
		jQuery("#eflyer-loading2").hide(); 
		jQuery('.button-eflyer2').click(function(e) {
		e.preventDefault(); // stop the link from working
		jQuery("#eflyer-form2").submit();
		jQuery("#eflyer-loading2").fadeIn('slow');
		return false;
		}); 

		jQuery('#eflyer-form2').ajaxForm(function(data) { 
	
		if (data==1){ 
			jqalert('Cool. You are now signed up to receive our weekly listings email.');
			jQuery("#eflyer-loading2").hide();
		} 
		else if (data==2){ 
			jqalert('Sorry, there was a problem. Perhaps you are signed up already?');
			jQuery("#eflyer-loading2").hide();
		}
		else if (data==3){ 
			jqalert('Hey now, you have to type your email address in the box if you want to signup!');
			jQuery("#eflyer-loading2").hide();
		}
	
		}); 
	

	
		 
		 if(document.location.hash=='#birthday')
		 {
		 	
		 }
		
	}
	
	
	);

