$(document).ready(function() {

	$("body").addClass("js");
	
	// cufon
	Cufon.replace("h1, h2, p.flo strong, .profile-details .cfn, .hero .strap h3");
	
	/*
	Cufon.replace('#header li a, #food li a, .button, .feature h2, #nav h2', { fontFamily: 'Cauldron', hover: true, textShadow: '#ffe450 0px 0px' });
	Cufon.replace('#hero h1', { fontFamily: 'James Fajardo', textShadow: '#000 2px 2px' });
	Cufon.replace('#content h1, .h2 #content h2', { fontFamily: 'James Fajardo', textShadow: 'rgba(0,0,0,0.2) 1px 1px' });
	Cufon.replace('.story #content h2, .story #content a', { fontFamily: 'James Fajardo', hover: true });
	*/
	
	// empty search field
	$("#search").focus(function() {
		if($(this).val()=="Enter keyword(s)") {
			$(this).val("");
		}
	});
	
	$("#username").focus(function() {
		if($(this).val()=="Username") {
			$(this).val("");
		}
	});
	$("#password").focus(function() {
		if($(this).val()=="Password") {
			$(this).val("");
		}
	});
	
});
