// JavaScript Document
// Copyright (c) 2008. FortKnoxShield.Net is a registered trademark of Awakening Insight LLC.

function FKSshowSeal(sealType) {
	
	if( window.FKS_customer_id )
	{
		FortKnoxShield.verification_parameters = '?' + FortKnoxShield.id_parameter_name + '=' + escape( FKS_customer_id );
		if( window.location.href )
		{
			FortKnoxShield.current_url = window.location.href;
		}
		else if( document.URL )
		{
			FortKnoxShield.current_url = document.URL;
		}
	
		if( FortKnoxShield.current_url )
		{
			FortKnoxShield.verification_parameters += '&' + FortKnoxShield.url_parameter_name + '=' + escape( FortKnoxShield.current_url );
		}
	
		if( !FortKnoxShield.no_click )
		{
			document.write( '<a ' );
			document.write( 'href="' + FKSVerifyURL  + FortKnoxShield.verification_parameters + '" ' );
			if( !FortKnoxShield.debug )
			{
				document.write( 'onMouseOver="window.status=\'' + FortKnoxShield.display_url + '\'; return true;" ' );
				document.write( 'onMouseOut="window.status=\'\'; return true;" ' );
				document.write( 'onClick="window.open(\'' + FKSVerifyURL + FortKnoxShield.verification_parameters + '\',\'FortKnoxShieldVerification\',\'' );
				document.write( 'width=' + FortKnoxShield.new_window_width );
				document.write( ',height=' + FortKnoxShield.new_window_height );
				document.write( ',dependent=yes,resizable=yes,scrollbars=yes' );
				document.write( ',menubar=no,toolbar=no,status=no,directories=no' );
				if( FortKnoxShield.display_location )
				{
					document.write( ',location=yes' );
				}
				document.write( '\'); return false;" ' );
			}
			document.write( 'target="_blank"' );
			document.writeln( '>' );
		}
	

			if(sealType == 'IP')
			{
				document.writeln( '<img src="' + FortKnoxShield.seal_image_file + 'FortKnoxShield2_150w.png" width="150" border="0" alt="' + FortKnoxShield.seal_alt_text + '">' );
			}
			if(sealType == 'AS')
			{
				document.writeln( '<img src="' + FortKnoxShield.seal_image_file + 'FortKnoxShield-AS2_150w.png" width="150" border="0" alt="' + FortKnoxShield.seal_alt_text + '">' );
			}
			if(sealType == 'PG')
			{
				document.writeln( '<img src="' + FortKnoxShield.seal_image_file + 'FortKnoxShield-PG2_150w.png" width="150" border="0" alt="' + FortKnoxShield.seal_alt_text + '">' );
			}
			if(sealType == 'CM')
			{
				document.writeln( '<img src="' + FortKnoxShield.seal_image_file + 'FortKnoxShield-CM_150w.png" width="150" border="0" alt="' + FortKnoxShield.seal_alt_text + '">' );
			}
		//document.writeln( '<img src="' + FortKnoxShield.seal_image_file + '" width="' + FortKnoxShield.seal_width + '" height="' + FortKnoxShield.seal_height + '" border="0" alt="' + FortKnoxShield.seal_alt_text + '">' );
	
		if( !FortKnoxShield.no_click )
		{
			document.writeln( '</a>' );
		}
	}
}