//funzione per stampare (esempio: <div id='printable_zone'>testo da stampare</div id='printable_zone'>)
function print_zone(obj) 

{
	var content = document.getElementById('printable_zone').innerHTML;
	var print_window = window.open("", "ZoneImpr", "height=250, width=400, toolbar=0, menubar=0, scrollbars=1, resizable=1, status=0, location=0, left=10, top=10");
	
	print_window.document.body.style.color = '#000000';
	print_window.document.body.style.backgroundColor = '#FFFFFF';
	print_window.document.body.style.padding = "10px";
	print_window.document.title = 'TRACE';
	print_window.document.body.innerHTML += " " + content + " ";
	print_window.window.print();
	print_window.window.close();
	return true;
} 
