$(document).ready(function() 
{
	//Cufon.replace('#mainNav li', {fontFamily: 'Recovery' });
	
	if(!$.browser.safari)
	{
		/*	For some reason webkit engine does not position #right correctly 
		  	so its moved 1px to the left then it really should be (for all browsers)
			This way if user has different browser and have JS support it will 
			be adjusted
		*/
		//margin = parseInt($('#chair').css('margin-left')) + 1 + 'px';
		//$('#chair').css('margin-left', margin);
	}
	
	var txt = 'Your email'
	$('#newsletter_email')
	.each( function(){
		if($(this).val() == '' || $(this).val() == txt){
			$(this).css('font-style', 'italic');
			$(this).val(txt);
		}
	})
	.blur( function(){
		if($(this).val() == ''){
			$(this).css('font-style', 'italic');
			$(this).val(txt);
		}
		else if($(this).val() != txt){
			$(this).css('font-style', 'normal');
		}
	})
	.focus( function(){
		if($(this).val() == txt){
			$(this).css('font-style', 'normal');
			$(this).val('');
		}
	})
});	

if (!($.browser.msie && $.browser.version=="6.0"))
{
//	document.write('<link rel="stylesheet" type="text/css" href="styles/fonts.css" />');
}
