$(document).ready(function(){
	
	// TARGET _blank
	$('a[rel=blank]').click(function(){
		window.open(this.href);
		return false;
	});
	
	// LIGHTBOX
	$("a[rel^='lightbox']").prettyPhoto({theme:'facebook'});
	
	// RODAPÉ
	$('#rodape li[class!=ultimo]').append('&nbsp;|&nbsp;');
	
	// HOVERs HOME
	$('.noticia-home').mouseenter(function(){
		$(this).find('p').find('a').css('color','#FFF');
	}).mouseleave(function(){
		$(this).find('p').find('a').css('color','#E3171F');
	}).click(function(){
		window.location = $(this).find('p').find('a').attr('href');
	}).css('cursor','pointer');
	$('.produto-home').mouseenter(function(){
		$(this).find('.desc').css('color','#FFF');
	}).mouseleave(function(){
		$(this).find('.desc').css('color','#E3171F');
	}).click(function(){
		window.location = $(this).find('.desc').attr('href');
	}).css('cursor','pointer');
	
}); //end document.ready

// formblur.js
function ajustaTextoFocus(campo, texto) {
	if(campo.value == texto)
		campo.value = "";
}
function ajustaTextoBlur(campo, texto) {
	if(campo.value == "")
		campo.value = texto;
}
