/****************************/
/* VIRUS DISPLAY			*/
/* version 0.6 modified by  */
/* Bozzini Fabrizio			*/
/****************************/
/* PARAMETRI DI DEFAULT */
var symBORDcolor = '#FFFFFF';
var symBACKcolor = '#FFFFFF';
var symFONTcolor = '#000000';
var symLINKcolor = '#000000';
var symLmax = 6;
var symRmax = 0;
var symAmax = 0;
var symTshow = 1;
var symSshow = 1;
function symDisplay() {
	var p_style = 'style="font-family:Trebouchet MS, verdana; font-size:10px; color:'+symFONTcolor+';"';
	var b_style = 'style="font-family:Trebouchet MS, verdana; font-size:10px; color:'+symFONTcolor+'; font-weight:bold;"';
	var a_style = 'target="_blank" style="font-family:Trebouchet MS, verdana; font-size:10px; color:'+symLINKcolor+';"';
	var r_common = 'font-family:Trebouchet MS, verdana; font-size:10px; color:'+symBACKcolor+'; font-weight:bold;';
	r_style = new Array(6);
	r_style[1] = 'style="'+r_common+' background:#4444dd;"';
	r_style[2] = 'style="'+r_common+' background:#00cc00;"';
	r_style[3] = 'style="'+r_common+' background:#ddaa00;"';
	r_style[4] = 'style="'+r_common+' background:#dd6600;"';
	r_style[5] = 'style="'+r_common+' background:#dd0000;"';
/* HEADER */
	//document.writeln(' <tr bgcolor='+symBACKcolor+'>');
	//document.writeln('  <td align=center valign=middle>');
	var logo_url = 'symc_logo_white.gif';
	if ( symBACKcolor == 'white' ) logo_url = 'symc_logo_white.gif';
	if ( symBACKcolor == 'black' ) logo_url = 'symc_logo_black.gif';
	var full_url = 'http://securityresponse.symantec.com/avcenter/graphics/jslogo/'+logo_url;
/* ULTIMI ALLARMI VIRUS */
	if ( symLmax > 0 ) {
	for ( i=0; i<symLmax; i++ ) {
	var full_url = 'http://securityresponse.symantec.com/avcenter/venc/data/'+symLurls[i];
		//document.writeln('    <tr>');
		document.writeln('     <a class=linkpdf href="'+full_url+'" target=_blank><img border=0 src=ico/arrow2.gif align=absmiddle>'+symLnames[i]+'</a><br>'); //</div></td>');
		//document.writeln('	<td height=16><div><p '+r_style[symTrisks[i]]+'>&nbsp;'+symTrisks[i]+'&nbsp;</p>&nbsp;<a '+a_style+' href="'+full_url+'">'+symLnames[i]+'</a></p></div></td>');
		//document.writeln('    </tr>');
		}
	}
/* TOPTEN VIRUS */
	if ( symTshow > 0 ) {
		document.writeln('    <tr>');
		document.writeln('     <td><p '+b_style+'>Top Threats</p></td>');
		document.writeln('    </tr>');
		for ( i=0; i<(symTurls.length-1); i++ ) {
			var full_url = 'http://securityresponse.symantec.com/avcenter/venc/data/'+symTurls[i];
			document.writeln('    <tr>');
			document.writeln('     <td align=center width=12><p '+r_style[symTrisks[i]]+'>&nbsp;'+symTrisks[i]+'&nbsp;</p></td>');
			document.writeln('     <td align=center nowrap><p '+p_style+'>'+symTdates[i]+'</p></td>');
			document.writeln('     <td align=left><p><a '+a_style+' href="'+full_url+'">'+symTnames[i]+'</a></p></td>');
			document.writeln('    </tr>');
		}
	}
/* REMOVAL TOOLS */
	if ( symRmax > 0 ) {
		document.writeln('    <tr>');
		document.writeln('     <td><br><p '+b_style+'>Tool di rimozione</p></td>');
		document.writeln('    </tr>');
		for ( i=0; i<symRmax; i++ ) {
			var full_url = 'http://securityresponse.symantec.com/avcenter/venc/data/'+symRurls[i];
			document.writeln('    <tr>');
			document.writeln('     <td align=center valign=top width=12><img border=0 src=images/ico/tit1.gif></td>');
			document.writeln('     <td colspan=2 align=left><p><a '+a_style+' href="'+full_url+'">'+symRnames[i]+'</a></p></td>');
			document.writeln('    </tr>');
		}
		document.writeln('    <tr>');
		document.writeln('     <td></td>');
		document.writeln('     <td colspan=2 align=left><p><a '+a_style+' href="http://securityresponse.symantec.com/avcenter/tools.list.html">Altri...</a></p></td>');
		document.writeln('    </tr>');
	}
/* MICROSOFT ADVISORY */
	if ( symAmax > 0 ) {
		//document.writeln('    <tr>');
		//document.writeln('     <td height=18><div><p '+b_style+'>&nbsp;<font style=color:#555555;>SECURITY ADVISORY</font></p></div></td>');
		//document.writeln('    </tr>');
		for ( i=0; i<symAmax; i++ ) {
			var full_url = 'http://securityresponse.symantec.com/avcenter/security/Content/'+symAurls[i];
			document.writeln('    <tr>');
			document.writeln('    <div style=margin-top:3px>');
			//document.writeln('     <td align=center width=12><img border=0 src=ico/block.gif></td>');
			document.writeln('     <td align=left><p>&nbsp;<img border=0 src=ico/block.gif>&nbsp;<a '+a_style+' href="'+full_url+'">'+symAnames[i]+'</a></p></td></div>');
			document.writeln('    </tr>');
		}
	}
/* BOX RICERCA */
	if ( symSshow > 0 ) {
		document.writeln('    <tr>');
		document.writeln('     <td><br><p '+b_style+'>Search Threat Database</p></td>');
		document.writeln('    </tr>');
		document.writeln('    <tr>');
		document.writeln('     <td>');
		document.writeln('      <form style="margin-bottom:0;" action="http://search.symantec.com/custom/us/query.html" method="POST" target="_blank">');
		document.writeln('      <input type="hidden" name="lk" value="1">');
		document.writeln('      <input type="hidden" name="rf" value="0">');
		document.writeln('      <input type="hidden" name="qp" value="url:http://securityresponse.symantec.com/avcenter/venc/data url:/avcenter/venc/auto/index url:/avcenter/security/Content">');
		document.writeln('      <p '+p_style+'>&nbsp;<input type=text name="qt" size=12>&nbsp;<input type=submit value="go"></p>');
		document.writeln('      </form>');
		document.writeln('     </td>');
		document.writeln('    </tr>');
	}
/* FOOTER */
	document.writeln('  </td>');
	document.writeln(' </tr>');
}