
function resetText(elem, defaultText) 
{ 
	if(elem.value == "")
	{
		elem.value = defaultText;
	}
}

function clearText(elem, defaultText) 
{ 
	if(elem.value == defaultText)
		elem.value = ""; 
}


$(document).ready(function(){

	Cufon.replace('.aller', { color: 'white', fontFamily: 'Aller Light' });  
	Cufon.replace('h1, h2, h3', { fontFamily: 'Myriad Pro', textShadow: '1px 1px 1px #000'});
	Cufon.replace('#slider h2', { fontFamily: 'Myriad Pro', textShadow: '1px 1px 1px #000' });
	Cufon.now();	
	
	$(".close").click(function(){
		$(this).fadeTo(400, 0, function(){
			$(this).slideUp(400);
		});
		
		return false;
	});
});

