function TopofEntry()
{  	document.write('<!--  START of Header -->');

	document.write('<table align="center" width="741" border="0" cellspacing="0" cellpadding="0">');
    document.write('<tr><td colspan="4" bgcolor="000066"><img src="spacer.gif" width="1" height="1"></td></tr>');
    document.write('<tr>');     document.write('<td width="1" bgcolor="#000066"><img src="spacer.gif" width="1" height="1"></td>');
    document.write('<td width="740" bgcolor="#FFF8F1">');
     
			document.write('<table width="740" border="0" cellspacing="0" cellpadding="0">');
			document.write('<tr><td width="10" height="30" bgcolor="#000066">&nbsp; </td>');
		    document.write('<td width="1"><img src="spacer.gif" width="1" height="1"></td>');
			document.write('<td width="6" bgcolor="#DEDEDE"><img src="spacer.gif" width="6" height="1"></td>');
			document.write('<td>');
			 					document.write('<table  width="724" border="0" cellspacing="0" cellpadding="0">');
					document.write('<tr>'); 					document.write('<td width="329" class="footertext"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="billp.jpg" border=0></td>');
					document.write('<td width="340" align="right" class="footertext">');
					document.write('<a href="http://billpstudios.blogspot.com/" >Bits from Bill</A></td>');
					document.write('<td width="1" bgcolor="#000066"><img src="spacer.gif" width="1" ></td>');
					document.write('</tr>'); 					document.write('</table>');

    document.write('<!--  Start of Body  -->'); 					document.write('<table width="724" border="0" cellspacing="0" cellpadding="0">');
					document.write('<tr><td width="670" align="left">');
					document.write('<P><br><br>');
							document.write('<table  align="center" border="0" cellspacing="5" cellpadding="5">');
							document.write('<tr>'); 							document.write('<TD width="1"></TD>'); 							document.write('<td width="668" align="left">');
document.write('<!--   End of Header -->');


	return;
	
	
	

}


function DoFooter()
{



	document.write("<hr>");
	document.write("<br>");
	document.write("<P class='promotext'>");
	document.write("This is an example of information available to WinPatrol PLUS members.  "); 
	document.write("If you found this page searching for information on the program listed above, we hope it has been useful.<br><br>");
	document.write("To learn more about your Startup Programs, Active Tasks, Window Services, IE Add-ons and other programs running on your computer we invite you become a WinPatrol PLUS member.");
	document.write("</P>");

	document.write("<P ALIGN=center>");
	DisplayScotty();






		document.write('<!--  START of Footer -->');
							document.write('</td>'); 							document.write('<TD></TD>');
							document.write('</tr>');
							document.write('</table>'); 			
					document.write('</td>');
					document.write('<td align="right" width="1" bgcolor="#000066"><img src="spacer.gif" width="1" ></td>');
					document.write('</tr>'); 					document.write('</table>');
	
			document.write('</td></tr>');
			document.write('<tr><td colspan="4" bgcolor="#000066"><img src="spacer.gif" width="1" height="1"></td></tr>');
			document.write('</table>');
		document.write('</td>'); 		document.write('<TD></TD>');
		document.write('</tr>');
		document.write('</table>');
 		document.write('<!--  End of Boddy of Header -->    ');
		document.write('<br>');

		Google();

 		document.write('<table width="741" align="center" border="0" cellspacing="0" cellpadding="0">');
		document.write('<tr><td colspan="4" bgcolor="#000066"><img src="spacer.gif" width="1" height="1"></td></tr>');
		document.write('<tr><td width="1" bgcolor="#000066"><img src="spacer.gif" width="1" height="1"></td>');
		document.write('<td width="740" bgcolor="#FFF8F1">'); 		
				document.write('<table width="688" border="0" cellspacing="0" cellpadding="0">');
				document.write('<tr><td width="10" height="30" bgcolor="#000066">&nbsp;</td>');
				document.write('<td width="1"><img src="spacer.gif" width="1" height="1"></td>');
				document.write('<td	width="6" bgcolor="#DEDEDE"><img src="spacer.gif" width="6" height="1"></td>');
				document.write('<td>');
						document.write('<table width="670" border="0" cellspacing="0" cellpadding="0">');
						document.write('<tr><td width="329" class="footertext">&nbsp;&nbsp;&nbsp; 2004-2006 BillP Studios  All Rights Reserved.</td>');
						document.write('<td width="340" align="right">');
						
						
						document.write("<A href='mailto:dbrobin8@winpatrol.com?Subject=PLUS Edit :" + GetDBFileName() + "'>" )
						document.write("Report Error in Description</A>");
	 						document.write('</td>'); 						document.write('</tr>'); 						document.write('</table>');
				document.write('</td>');
				document.write('</tr>'); 				document.write('</table>');
    	document.write('</td>'); 	 		document.write('<td width="1" bgcolor="#000066"><img src="spacer.gif" width="1" ></td>');
		document.write('<tr><td colspan="4" bgcolor="#000066"><img src="spacer.gif" width="1" height="1"></td></tr>');
		document.write('</tr>'); 		document.write('</table>');
		 		 	document.write('<!--  End of Footer -->');
    

	return;
}

 function GetDBFileName()
 {
	var h = parent.location.href;
	var nr = h.split("?");

	if(( typeof(nr[1])== "undefined") )
		sProgram = "";
	else
		sProgram=nr[1];
		
	return sProgram;
 }
   function GetProgramName()
 {
	var h = parent.location.href;
	var nr = h.split("?");

	if(( typeof(nr[1])== "undefined") )
		sProgram = "";
	else
		sProgram=nr[1];
		
	return sProgram;
 }


function Google()
{


	var prog = GetProgramName();
	if(prog == "")
	{
		window.location = "http://www.winpatrol.com/stats.html";
	}
	

	document.write("<center>");
	document.write("<FORM method=GET action='http://www.google.com/custom'>");
	document.write("<TABLE bgcolor='#FEFAEF'><tr><td nowrap='nowrap' valign='top' align='center' height='32'>");
	document.write("<A HREF='http://www.google.com/'>");
	document.write("<IMG SRC='http://www.google.com/logos/Logo_25wht.gif' border=0 ALT='Google' align='absmiddle'></A>");

	document.write("<INPUT TYPE=text name=q size=25 maxlength=255 value='" + GetProgramName() + "'>");

	document.write("<INPUT type=submit name=sa VALUE='Search'>");

	document.write("<input type=hidden name=client value='pub-5216032068438142'>");
	document.write("<input type=hidden name=forid value='1'>");
	document.write("<input type=hidden name=ie value='ISO-8859-1'>");
	document.write("<input type=hidden name=oe value='ISO-8859-1'>");
	document.write("<input type=hidden name=cof value='GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;'>");
	document.write("<input type=hidden name=hl value='en'>");
	document.write("</td></tr></TABLE>");
	document.write("</FORM>");
	document.write("</center>");
	return;
}




function DisplayScotty()
{

	document.write("<TABLE width=100%><TR>");
	document.write("<TD align='left' width='50%'>");  
	document.write("</TD>");

	document.write("<TD align='left' width='50%'>");
	document.write("<A href='http://store.yahoo.com/winpatrol/winplusmemre.html'>");
	document.write("<IMG align=middle alt='Scotty Icon' border=0 src='http://www.winpatrol.com/images/scotty_plus.gif' ></A>");
	document.write(" &nbsp; <A href='http://store.yahoo.com/winpatrol/winplusmemre.html'><b>WinPatrol PLUS</b></A>");  
	document.write("<br><FONT SIZE=1 COLOR='#000000' FACE='Arial,Helv,Helvetica'>");
	document.write("<b>One-click access to enhanced program data ");
	document.write(" from the WinPatrol PLUS online database.<br>");
	document.write("Learn more about what's happening in your computer ");
	document.write("and take control of what programs are running. ");
	document.write("<A href='http://store.yahoo.com/winpatrol/winplusmemre.html'>Free updates</a> on all future releases!</b>");
	document.write("</FONT>	</TD></TR></TABLE>");


	return;


}







