
/***********************/
/* sbrown@symantec.com */
/* version 0.5-9       */
/***********************/


/* defaults */
var symBORDcolor = '888888';
var symBACKcolor = 'white';
var symFONTcolor = 'black';
var symLINKcolor = 'black';

var symLmax = 6;
var symRmax = 5;
var symAmax = 5;

var symTshow = 1;
var symSshow = 1;

var symHbase = 'http://securityresponse.symantec.com/avcenter/graphics/jslogo/';
var symLbase = 'http://securityresponse.symantec.com/avcenter/venc/data/';
var symLmore = 'http://securityresponse.symantec.com/avcenter/vinfodb.html';
var symRbase = 'http://securityresponse.symantec.com/avcenter/venc/data/';
var symRmore = 'http://securityresponse.symantec.com/avcenter/tools.list.html';
var symAbase = 'http://securityresponse.symantec.com/avcenter/security/Content/';
var symAmore = 'http://securityresponse.symantec.com/avcenter/security/Advisories.html';
var symFmore = 'http://securityresponse.symantec.com/avcenter/cgi-bin/syndicate.cgi';


function symDisplay() {

	var p_style = 'style="font-size:80%;"';
	var b_style = 'style="font-size:80%; font-weight:bold;"';
	var a_style = 'target="_blank" style="font-size:80%;"';

	var r_common = 'font-size:80%; color:'+symBACKcolor+'; font-weight:bold; border-width:1px; border-style:solid; border-color:'+symFONTcolor+';';

	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('<h2>web security information</h2>');
     document.writeln(' <p>We take web security seriously.  The following data is provided as a service for your information.  Contact us today for more information on ensuring your web surfing experience is secure.</p>  ');
     
     
	/* latest threats */
     
	document.writeln(' <div style="float: left; margin-right: 1em;"><h3 style="margin-bottom: 0em;">latest threats</h3>  ');
	if ( symLmax > 0 ) {

		for ( i=0; i<symLmax; i++ ) {
          
          
			var full_url = symLbase+symLurls[i];

			document.writeln('    <table style="width: 220px;"><tr>');
			document.writeln('     <td align=center width=12><p '+r_style[symLrisks[i]]+'>&nbsp;'+symLrisks[i]+'&nbsp;</p></td>');
			document.writeln('     <td align=center nowrap><p '+p_style+'>'+symLdates[i]+'</p></td>');
			document.writeln('     <td align=left><p><a '+a_style+' href="'+full_url+'">'+symLnames[i]+'</a></p></td>');
			document.writeln('    </tr>');

		}

		document.writeln('    <tr>');
		document.writeln('     <td></td>');
		document.writeln('     <td></td>');
		document.writeln('     <td align=left><p><a '+a_style+' href="'+symLmore+'">more...</a></p></td>');
		document.writeln('    </tr></table></div>');

	}

     	/* top threats */
	if ( symTshow > 0 ) {

		document.writeln(' <div style="float: right;"><h3 style="margin-bottom: 0em;">top threats</h3>');
          
		for ( i=0; i<(symTurls.length-1); i++ ) {

			var full_url = symLbase+symTurls[i];

			document.writeln('    <table style="width: 220;"><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></table>');
               document.writeln('</div>');
		}

	}


     /* hoaxes */
     document.writeln(' <div style="clear: left;"><h3 style="margin-bottom: 0em;">security hoaxes</h3>');
		document.writeln(' <p style="margin-top: 0em;">Symantec maintains a comprehensive list of Hoax Viruses; before deleting anything or forwarding on that latest <strong>URGENT EMAIL</strong> regarding a possible infection, check first to be sure you&#39;re not being duped: <a href="http://www.symantec.com/avcenter/hoax.html">www.symantec.com</a></p></div>');
     
     
	/* removal tools */
	if ( symRmax > 0 ) {

		document.writeln('<h3 style="margin-bottom: 0em;">virus removal tools by symantec</h3>');

		for ( i=0; i<symRmax; i++ ) {

			var full_url = symRbase+symRurls[i];

			document.writeln('<ul>');
			document.writeln('<li style="margin-bottom: -1em;"><a '+a_style+' href="'+full_url+'">'+symRnames[i]+'</a></li>');
               document.writeln(' </ul>');
		}
          
          document.writeln('<ul>');
		document.writeln('<li style="margin-bottom: -1em;"><a '+a_style+' href="'+symRmore+'">More...</li>');
		document.writeln(' </ul>');

	}

     
	/* advisories */
	if ( symAmax > 0 ) {

		document.writeln(' <h3 style="margin-bottom: 0em;">security advisories</h3>');
		for ( i=0; i<symAmax; i++ ) {

			var full_url = symAbase+symAurls[i];

			document.writeln('<ul>');
			document.writeln('<li style="margin-bottom: -1em;"><a '+a_style+' href="'+full_url+'">'+symAnames[i]+'</a></p></td>');
			document.writeln(' </ul>');
		}
          
          document.writeln('<ul>');
		document.writeln('<li><a '+a_style+' href="'+symAmore+'">More...</a></li>');
		document.writeln(' </ul>');

	}

	/* search box
	if ( symSshow > 0 ) {

		document.writeln('<h3>Search Symantec&#39;s Threat Database</h3>');


		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>');


	} */

	/* footer */


	document.writeln('<p style="font-size: 90%">');
     
	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 = symHbase+logo_url;
	document.writeln('      <a target="_blank" href="http://securityresponse.symantec.com/"><img src="'+full_url+'" width=130 height=48 style="float: right; margin-left: 5px; border: none;"></a>Security information provided by Symantec, a global leader in information security, and home to the Norton line of web security products.</p></div>');



}
