$(document).ready(function() {
	// TheMixBlackCaps
	// TheMixBoldCaps
	// TheMixItalic
	// TheMixLightCaps
	Cufon.replace('.tmBlackCaps',  { fontFamily: 'TheMixBlackCaps' });
	Cufon.replace('.tmBoldCaps',  { fontFamily: 'TheMixBoldCaps' });
	Cufon.replace('.tmItalic',  { fontFamily: 'TheMixItalic' });
	Cufon.replace('.tmLightCaps',  { fontFamily: 'TheMixLightCaps' });
	
	Cufon.replace('#nav ul li a',  { fontFamily: 'TheMixBlackCaps', color: '#fff', textShadow: '#ff6f00 1px 1px' });
	
	Cufon.replace('#phone p',  { fontFamily: 'TheMixItalic', color: '#fff', textShadow: '#ff6f00 1px 1px' });
	
	// Cufon.replace('#nav-produtos ul li a',  { fontFamily: 'Shelley', color: '#c69c6d', textShadow: '#000 1px 1px', hover: {color: '#8c6239'} });
	// 	Cufon.replace('#nav-produtos ul li.current a',  { fontFamily: 'Shelley', color: '#8c6239', textShadow: '#000 1px 1px', hover: {color: '#8c6239'} });
	// 	Cufon.replace('h1',  { fontFamily: 'Shelley', color: '#c69c6d', textShadow: '#000 1px 1px' });
	// 	Cufon.replace('h2',  { fontFamily: 'Shelley' });
	// 	Cufon.replace('h3',  { fontFamily: 'Shelley', color: '#c69c6d', textShadow: '#000 1px 1px' });
	// 	Cufon.replace('#telefones',  { fontFamily: 'Shelley', textShadow: '#000 1px 1px' });
	
	// Código abaixo referente a criação de inputs utilizando o Cufón.
	$(function() {
		$('.button').each(function(){
			$(this).after(unescape('%3Cspan class="button"%3Eaa%3C/span%3E'));
			$(this).hide();
			$(this).next('span.button').text($(this).val()).click(function(){
				$(this).prev('input.button').click();
			});
		});
		Cufon.replace('.button',  { fontFamily: 'Shelley' });
	});
});
