$(document).ready(function() {
	// form text
	if ($('#name')) {
		$('#name').focus(function() {
			var input = $('#name');
			if (input.val() == 'Full Name') { input.val('');	}
		});
	}
	if ($('#email')) {
		$('#email').focus(function() {
			var input = $('#email');
			if (input.val() == 'Email Address') { input.val(''); }
		});
	}
	if ($('#question')) {
		$('#question').focus(function() {
			var input = $('#question');
			if (input.val() == 'Write your question here...') { input.val(''); }
		});
	}
	
	// fancybox for bureaus
	$('.fancybox').each(function() {
		$(this).fancybox();
	});
	
	// top links hover
	$('#top a.follow').hover(
		function() {
			$('#top').css('background-position', '751px -16px');
		},
		function() {
			$('#top').css('background-position', '751px 0');
		}
	);
	$('#top a.blog').hover(
		function() {
			$('#top').css('background-position', '751px -32px');
		},
		function() {
			$('#top').css('background-position', '751px 0');
		}
	);
	$('#top a.contact').hover(
		function() {
			$('#top').css('background-position', '751px -48px');
		},
		function() {
			$('#top').css('background-position', '751px 0');
		}
	);
});

Cufon.replace('h3', { fontFamily: 'Bodoni' });
Cufon.replace('h4', { fontFamily: 'Bodoni' });
Cufon.replace('h5', { fontFamily: 'DIN' });
Cufon.replace('h6', { fontFamily: 'Bodoni' });
Cufon.replace('a.footer-text', { fontFamily: 'Bodoni' });
Cufon.replace('#home-text', { fontFamily: 'Bodoni' });
