//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//** ADICIONAR A FAVORITOS **//////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    function add_bookmark() {
        var browsName = navigator.appName;
        if (browsName == "Microsoft Internet Explorer") {
        window.external.AddFavorite('http:www.rittv.com.br/saboroso','Hummm! Saboroso' );
        } else if (browsName == "Netscape") {
        alert ("Para adicionar .::Hummm! Saboroso::. CTRL+D");
    }
    }
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//** FUNÇÃO  ALTERA TAMANHO DA FONTE **//
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Altera Tamanho da Fonte Home
//////////////////////////////////////
   var tam=12;
    function mudaFonte(tipo,elemento){
	if (tipo=="mais") {
		if(tam<19) tam+=1;
		createCookie('texto',tam,365);
	} else {
		if(tam>10) tam-=1;
		createCookie('texto',tam,365);
	}
	document.getElementById('main_cont').style.fontSize = tam+'px';
	// document.getElementById('mudaFoto').style.fontSize = tam+'px';
}
// Altera Tamanho da Fonte Receita--------Bebida
/////////////////////////////////////////////////
   var tam=12;
    function mudaFonte_bebida(tipo,elemento){
	if (tipo=="mais") {
		if(tam<19) tam+=1;
		createCookie('texto',tam,365);
	} else {
		if(tam>10) tam-=1;
		createCookie('texto',tam,365);
	}
	document.getElementById('receitas_cont_txt').style.fontSize = tam+'px';
}
// Altera Tamanho da Fonte Receita-----Alimento
////////////////////////////////////////////////
   var tam=12;
    function mudaFonte_alimento(tipo,elemento){
	if (tipo=="mais") {
		if(tam<19) tam+=1;
		createCookie('texto',tam,365);
	} else {
		if(tam>10) tam-=1;
		createCookie('texto',tam,365);
	}
	document.getElementById('txtdoce').style.fontSize = tam+'px';
}
// Altera Tamanho da Fonte Apresentadora
/////////////////////////////////////////////////
   var tam=12;
    function mudaFonte_apresentadora(tipo,elemento){
	if (tipo=="mais") {
		if(tam<19) tam+=1;
		createCookie('texto',tam,365);
	} else {
		if(tam>10) tam-=1;
		createCookie('texto',tam,365);
	}
	document.getElementById('txtdoce').style.fontSize = tam+'px';
}

    function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	} else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++)
	{
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

var undefined;
function isUndefined(property) {
	return (typeof property == 'undefined');
}