//	inizio funzioni di debug
debug_msg = false;
function toDebug(string)
{
	if (debug_msg)
	{
		if((typeof window.console=="undefined")) {alert(string);}
		else {
			console.error();
			console.group(string);
			console.trace();
			console.groupEnd();
		}
	}
}
function toConsole(string)
{
	if((typeof window.console=="undefined")) {alert(string);}
	else console.log(string);
}

function $j(argument)
{
	var result = jQuery(argument);
	if (result.length == 0) return null;
	else return result;
}

$(document).ready(function()
{
		$('#logocliente').ifixpng();
		$('#div#offerta_bottom').ifixpng();		
		$("div.mceContentBody table tbody tr:even").addClass("even");
		$("div.mceContentBody table tbody tr:odd").addClass("odd");
		jQuery('#chat').chatOnLine({user:'paramChat'});
		
		CaricaDate();
		
});

$(window).load(function()
{
	showNewsletter();
});
