$(function() {

	// Focusin e focusout nos campos do formulario de contato
	var $input = $('.form_contato :input');
	$input.focusin(function() {
		if ($(this).val() == $(this)[0].defaultValue)
			$(this).val('');
	});
	$input.focusout(function() {
		if (!$(this).val().length)
			$(this).val($(this)[0].defaultValue);
	});

});

function removeSpaces(string) {
	var tstring = "";
	string = '' + string;
	splitstring = string.split(" ");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];
	return tstring;
}


