<!--var body=0;linkvar = 0;function colors() {body=1;document.Form1.text.value=document.Form1.text.value + '<Body BGcolor=' + document.Form1.Bgcolor.options[document.Form1.Bgcolor.selectedIndex].value + '\rTEXT=' +document.Form1.text.options[document.Form1.text.selectedIndex].value + '\rVlink=' + document.Form1.vlink.options[document.Form1.vlink.selectedIndex].value + '\rAlink=' +document.Form1.alink.options[document.Form1.alink.selectedIndex].value + '\rLink=' + document.Form1.links.options[document.Form1.links.selectedIndex].value + '>'}function Background(hexNumber){        document.bgColor=hexNumber}function list(type) {num = prompt('How many list items', "");if (num != "" || null) {document.Form1.text.value=document.Form1.text.value + '<' + type+ '>\r'}for (i = 0; i < num; i++){item=prompt('please type an item',"");if (item != "" || null) {document.Form1.text.value=document.Form1.text.value + '<LI>' + item + '\r'}}document.Form1.text.value=document.Form1.text.value + '</' + type + '>\r'}function prompt2(String , msg, tags, tags2) {String=prompt(msg, "");if (String != "" || null) {document.Form1.text.value=document.Form1.text.value + tags + String + tags2 + '\r'}}function prompt3(String , msg, tags, tags2) {String=prompt(msg, "");if (String != "" || null) {document.Form1.text.value=document.Form1.text.value + tags + '"' + String + '"' + tags2 + '\r'}}function addlink() {var L=prompt('Indirizzo completo del link (es: http://www.nomesito.com)',"");var N=prompt('Nome del link come si vuole che appaio nella pagina',"");if (L || N != "" || null) {document.Form1.text.value=document.Form1.text.value + '<A HREF="' + L + '">' + N + '</A>' + '\r'}}function addlinkex() {var L=prompt('Indirizzo completo del link (es: http://www.nomesito.com)',"");var N=prompt('Nome del link come si vuole che appaio nella pagina',"");if (L || N != "" || null) {document.Form1.text.value=document.Form1.text.value + '<A HREF="' + L + '" target="_blank">' + N + '</A>' + '\r'}}function end() {if (body == 0) { addtag('</HTML>') }else { addtag('</BODY></HTML>') }}function writ() {f = window.open();f.document.write(document.Form1.text.value);f.document.close();}function addtag(tag) {document.Form1.text.value=document.Form1.text.value + tag + '\r'}function hr() {var size=prompt('what size HR',"");if (size != "" || null) {document.Form1.text.value=document.Form1.text.value + '<hr size=' + size + '>\r'}}function addform() {if (confirm("Do you want to give this form an action and a method?")) {var action = prompt('what action', "");var method = prompt('What Method' , "");document.Form1.text.value = document.Form1.text.value + "<Form action=" + action + "\nMethod=" + method + ">"}else { document.Form1.text.value = document.Form1.text.value + "<form>" }}function addformbutt() {var buttname = prompt('Button Name' , "");var buttvalue = prompt('Buttons Label' , "");document.Form1.text.value = document.Form1.text.value + "<Input type=Button name=" + buttname + '\rValue="' + buttvalue + '">';}function addformtext() {if (confirm("Are you Sure")) {var textname = prompt("Text name" , "");document.Form1.text.value = document.Form1.text.value + '<Input type = Text name=' + textname + '\nvalue=""' + '>'}else { alert("stopping Text generation"); }}function addformtextarea() {if (confirm("Are you sure?")) {var textareaname = prompt("Textarea name" , "");var textcols = prompt("How many Text Columns?", "");var textrows = prompt("How many Text Rows?" , "");document.Form1.text.value = document.Form1.text.value + '<Textarea name=' + textareaname + '\nCOLS="' + textcols + '"' + '\nRows="' + textrows + '"' + '></Textarea>'}else { alert("Stopping Textarea") }}function addformselect() {if (confirm("Are you sure")) {var selectname = prompt('What is the name of the select?' , "");document.Form1.text.value = document.Form1.text.value + '<Select name=' + selectname + '>\n'var selectobjs = prompt('How many select box items?', "");for (s = 0; s < selectobjs; s++) {var selitems = prompt('Please type an item' , "");document.Form1.text.value = document.Form1.text.value + '<Option>' + selitems + '\n'}} else { alert("process stopped") }document.Form1.text.value = document.Form1.text.value + '</select>'}function addformcheck() {if (confirm("Are you sure")) {var checkname = prompt('Check Box Name' , "");document.Form1.text.value = document.Form1.text.value + '<INPUT TYPE=checkbox name=' + checkname + '>' }else { alert("Process stopped"); }}function addformradio() {if (confirm("Are you sure")) {var radioname = prompt('What is the name of your radio button??' , "");document.Form1.text.value = document.Form1.text.value + '<INPUT TYPE=radio name=' + radioname + '>'}}//-->
