Never minde
insted of this
//write -i Login.htm function send(){
//write -i Login.htm document.forms['Form'].submit();
//write -i Login.htm }
i used one line
//write -i Login.htm function send(){document.forms['Form'].submit();}
but im still interested, is there a way for this to be add }{ to the txt or htm document