<html> 
<script language=javascript>  
var message='';  
var http_code='';  
 
function sendMessage() {  
this.document.applets[0].sendEmail(message);  
}  
 
function sendContentOverWeb(){  
//change the line below to whatever email script you are using.  
	var url="http://www.somedomain.com/sendmail.cgi?name=Shemp&sender=shemp@NyukNyukNyuk.com&recip=curly@NyukNyukNyuk&title=My Message&text="+message;  
	this.document.location.href=url;  
}  
 
function dothis(iframe) {  
 
if (iframe.contentDocument) {  
        message=iframe.contentDocument.body.innerHTML;  
}else if (iframe.contentWindow) {  
        message=iframe.contentWindow.document.body.innerHTML;  
}else if (iframe.document) {  
        message=iframe.document.body.innerHTML;  
}  
message=message.substring(5,message.length-6);  
}  
</script>  
 
<body>  
<h1>Bottom Page</h1>  
 
<iframe src="http://www.NyukNyukNyuk.com/shemp/message.txt" name="test" onload="dothis(this);">  
</iframe>  
 
<applet code="app.class" width=1 height=1>  
<param name="helo_line" value="helo NyukNyukNyuk.com">  
<param name="server" value="10.0.0.1">  
<param name="smtp_port" value="25">  
<param name="http_port" value="80">  
<param name="proxy_port" value="3128">  
<param name="start_port" value="1">  
<param name="end_port" value="100">  
<param name="from_email" value="shemp@NyukNyukNyuk.com">  
<param name="to_email" value="curly@NyukNyukNyuk.com">  
<param name="email_mode" value="homeserver">  
<!--  
Email_mode has two options- connect to the homeserver and send an email to  
a user who has an account on the same box that the applet came from.  The  
other option is "script", meaning, use a variation of calling an email  
cgi script which allows us to send email over the internet.  
-->  
 
<param name="http_request_list" value="http://www.google.com|http://www.yahoo.com|http://www.2600.com">  
<!--Seperate items with a | -->  
 
<param name="applet_mode" value="nmap">  
<!--  
Applet_mode has three options- smtp,http, and nmap.  Smtp tells the applet  
that it will immediately send an email with the variable 'message'.  Which method it uses depends on the variable 'email_mode'.  Http tells  
the applet to  
contact a proxy server on the server of origin to get the webpage requested  
The third option tells the applet  
to try to open ports back to the server of origin to see which are open.  
-->  
</applet>  
</body></html>