function printContent(id){
	
	if (id == "-1"){
		id = "print_div1"
	}
	
	testatastr="<table style='width:100%;' cellspacing='3' cellpadding='5' border='0'><tr><td align='left'><img src='img/prt_forte.gif' border='0'></td></tr></table><br><hr style:'border: 0; width: 80%; color: #485A67; height: 1px; text-align:center'><br>"
	
	str=document.getElementById(id).innerHTML
	newwin=window.open('','printwin','left=100,top=100,width=400,height=400')
	newwin.document.write('<HTML>\n<HEAD>\n')
	newwin.document.write('<TITLE>Fondo For.Te - Stampa</TITLE>\n')
	newwin.document.write('<script>\n')
	newwin.document.write('function chkstate(){\n')
	newwin.document.write('if(document.readyState=="complete"){\n')
	newwin.document.write('window.close()\n')
	newwin.document.write('}\n')
	newwin.document.write('else{\n')
	newwin.document.write('setTimeout("chkstate()",2000)\n')
	newwin.document.write('}\n')
	newwin.document.write('}\n')
	newwin.document.write('function print_win(){\n')
	newwin.document.write('window.print();\n')
	newwin.document.write('chkstate();\n')
	newwin.document.write('}\n')
	newwin.document.write('<\/script>\n')
	newwin.document.write('<link rel="stylesheet" href="css/stampa.css" type="text/css">\n')
	newwin.document.write('</HEAD>\n')
	newwin.document.write('<BODY onload="print_win()">\n')
	newwin.document.write(testatastr)
	newwin.document.write(str)
	newwin.document.write('</BODY>\n')
	newwin.document.write('</HTML>\n')
	newwin.document.close()
}


function galleria(nome){
    var go = "FondoFortegallery.asp?area="+ nome
    window.open(go,'Galleria','toolbar=no,menubar=no,status=no,resizable=yes,scrollbars=yes,top=10,left=10,width=800,height=562');
}

function rosso(){
    document.getElementById('lampeggio').style.color='red';
    setTimeout("giallo()",300);
}
function giallo(){
    document.getElementById('lampeggio').style.color='#4C5D67';
    setTimeout("rosso()",300);
}

