<HTML> <BODY BGCOLOR=BLACK> <FORM NAME=ENTER> <TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=0> <TR><TD WIDTH=85%> <TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=0> <TR><TD WIDTH=80%> <TEXTAREA NAME=TEXT ID=TEXT ROWS=3 COLS=80 WRAP="soft" ONKEYPRESS="return keyme(event||window.event,this);" ONKEYDOWN="return keydown(event||window.event,this);" SIZE=80> </TEXTAREA> <TD WIDTH=15% ALIGN=CENTER VALIGN=TOP> <a href="javascript:sendTextField();"><TABLE WIDTH=57 HEIGHT=23 BACKGROUND="lilButt.gif" style="cursor:hand" ONCLICK="sendTextField();" TABINDEX=1 BORDER=0 CELLSPACING=0 CELLPADDING=0><TR VALIGN=CENTER><TD ALIGN=CENTER><FONT color=purple SIZE=-2><B>Submit</B></FONT></a></TD></TR></TABLE></a> </TD> </TD></TR></TABLE> <TD WIDTH=15% ALIGN=CENTER VALIGN=TOP> <a href="javascript:disconnect();"><TABLE WIDTH=57 HEIGHT=23 BACKGROUND="lilButt.gif" style="cursor:hand" ONCLICK="disconnect();" TABINDEX=1 BORDER=0 CELLSPACING=0 CELLPADDING=0><TR VALIGN=CENTER><TD ALIGN=CENTER><FONT color=purple SIZE=-2><B>Quit</B></FONT></a></TD></TR></TABLE></a> <BR> <a href="javascript:reconnect();"><TABLE WIDTH=57 HEIGHT=23 BACKGROUND="lilButt.gif" style="cursor:hand" ONCLICK="reconnect();" TABINDEX=1 BORDER=0 CELLSPACING=0 CELLPADDING=0><TR VALIGN=CENTER><TD ALIGN=CENTER><FONT color=purple SIZE=-2><B>Reconnect</B></FONT></a></TD></TR></TABLE></a> </TD></TR></TABLE> </FORM> <script language=JavaScript> <!-- String.prototype.trim = function() { return this.replace(/^\s+|\s+$/, ''); }; var input=new Array(0); var position=-1; function enqueText(s) { if(s.trim().length>0) { if((input.length==0)||(s.toUpperCase().trim()!=input[input.length-1].toUpperCase().trim())) { var input2; if(input.length>=100) { input2=new Array(input.length); for(i=1;i<input.length;i++) input2[i-1]=input[i]; input2[input.length-1]=s; } else { input2=new Array(input.length+1); for(i=0;i<input.length;i++) input2[i]=input[i]; input2[input.length]=s; } input=input2; } } } function sendTextField() { var textEl=document.getElementById("TEXT"); sendText(textEl.value); } function sendText(val) { top.term.addToWindow(val+'<BR>'); position=-1; enqueText(val); top.term.sendData(val); boxFocus(); } function disconnect() { top.term.closeWindow(); } function reconnect() { top.term.reconnect(); } function keydown(event,textEl) { if((event.keyCode==13)||(event.keyCode==10)) { sendText(textEl.value); event.cancelBubble=true; event.returnValue=0; textEl.value=''; return false; } else if(event.keyCode==38) { if(position<0) { enqueText(textEl.value); position=input.length-1; } else if(position==0) return true; else position--; if((position>=0)&&(position<input.length)) textEl.value=input[position]; } else if((event.keyCode==40)&&(position>=0)) { if(position==(input.length-1)) return true; position++; if((position>=0)&&(position<input.length)) textEl.value=input[position]; } return true; } function keyme(event,textEl) { if((event.keyCode==10)||(event.keyCode==13)) { textEl.value=''; event.cancelBubble=true; event.returnValue=0; textEl.value=''; return false; } return true; } function boxFocus() { setTimeout('document.ENTER.TEXT.focus();',100); } setTimeout('boxFocus()',900); //--> </script> </BODY> </HTML>