")
}
function UNCENTER()
{
document.Add.write.value += ("
")
}
function P()
{
var P = window.prompt("Type in your text for the paragraph:","")
if(P =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
" + P + "
")
}
}
function LEFTP()
{
var LEFTP = window.prompt("Type in your text for the paragraph aligned to the left:","")
if(LEFTP =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
" + LEFTP + "
")
}
}
function CENTERP()
{
var CENTERP = window.prompt("Type in your text for the paragraph:","")
if(CENTERP =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
" + CENTERP + "
")
}
}
function RIGHTP()
{
var RIGHTP = window.prompt("Type in your text for the Paragraph:","")
if(RIGHTP =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
" + RIGHTP + "
")
}
}
function BR()
{
document.Add.write.value += ("
")
}
function HR()
{
document.Add.write.value += ("
")
}
function B()
{
var B = window.prompt("Type in your Bold here:","")
if(B =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("" + B + "
")
}
}
function I()
{
var I = window.prompt("Type in your Italics here:","")
if(I =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("" + I + "
")
}
}
function U()
{
var U = window.prompt("Type in your Underlined here:","")
if(U =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("" + U + "
")
}
}
function PRE()
{
var PRE = window.prompt("Type in your Preformatted text here:","")
if(PRE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function IMGLEFT()
{
var IMGLEFT = window.prompt("The name for the image to be aligned left:","")
if(IMGLEFT =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function IMG()
{
var IMG = window.prompt("The name for the image:","")
if(IMG =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function IMGRIGHT()
{
var IMGRIGHT = window.prompt("The name for the image to be aligned right:","")
if(IMGRIGHT =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function IMGCENTER()
{
var IMGCENTER = window.prompt("The name for the image to be Centered:","")
if(IMGCENTER =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function PRE()
{
var PRE = window.prompt("Enter the text to be Preformatted:","")
if(PRE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
" + PRE + "
")
}
}
function BLOCKQUOTE()
{
var BLOCKQUOTE = window.prompt("Enter the text for the Blockquote:","")
if(BLOCKQUOTE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
" + BLOCKQUOTE + "
")
}
}
function LINK()
{
var PLACE = window.prompt("Enter the links Location:","")
var LINK = window.prompt("Enter the links Name:","")
if(PLACE =='')
{
NOTEXT()
}
if(LINK =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("" + LINK + "
")
}
}
function EMAIL()
{
var EMAIL = window.prompt("Enter your e-mail address:","")
var NAME = window.prompt("Enter the text for the address:","")
if(NAME =='')
{
NOTEXT()
}
if(EMAIL =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("" + NAME + "
")
}
}
function TABLE()
{
var TABLEBORDER = window.prompt("What is the width of the border?:","")
if(TABLEBORDER =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function TABLEEND()
{
document.Add.write.value += ("
")
}
function TABLETR()
{
document.Add.write.value += ("
")
}
function TABLEUNTR()
{
document.Add.write.value += ("
")
}
function TABLETD()
{
document.Add.write.value += ("
")
}
function TABLEUNTD()
{
document.Add.write.value += ("
")
}
function TABLETH()
{
var TABLETH = window.prompt("What is the name for the Table Heading?","")
if(TABLETH =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
" + TABLETH +"
")
}
}
function TABLECOLSPAN()
{
var COLSPAN = window.prompt("How many sections of the table should it go?","")
if(COLSPAN =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function TABLEROWSPAN()
{
var ROWSPAN = window.prompt("How many sections down on the table should it go?","")
if(ROWSPAN =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function TABLECELLSPACING()
{
var CELLSPACING = window.prompt("Enter the number for the Cell Spacing:","")
if(CELLSPACING =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function TABLECELLPADDING()
{
var CELLPADDING = window.prompt("Insert the nuber for the Cell Padding:","")
if(CELLPADDING =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function FONT()
{
var FONT = window.prompt("What would you like to put in the font tag?","")
if(FONT =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function FONTFACE()
{
var FACE = window.prompt("What type of font do you want to use?","")
if(FACE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function FONTCOLOR()
{
var COLOR = window.prompt("What color should the text be?","")
if(COLOR =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function FONTSIZE()
{
var SIZE = window.prompt("How big of text?","")
if(SIZE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function UNFONT()
{
document.Add.write.value += ("
")
}
function UL()
{
document.Add.write.value += ("
")
}
function UNUL()
{
document.Add.write.value += ("
")
}
function OL()
{
document.Add.write.value += ("
")
}
function UNOL()
{
document.Add.write.value += ("
")
}
function LI()
{
var LI = window.prompt("What is the text for this list?","")
if(LI =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
" + LI + "
")
}
}
function FORM()
{
var FORMNAME = window.prompt("What is the NAME of the form?","")
var FORMMETHOD = window.prompt("What is the METHOD for the form?","")
var FORMACTION = window.prompt("What is the ACTION for the form?","")
var FORMENCTYPE = window.prompt("What is the ENCTYPE for the form?","text/plain")
if(FORMNAME =='')
{
NOTEXT()
}
if(FORMACTION =='')
{
NOTEXT()
}
if(FORMENCTYPE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
function TEXTAREA()
{
var TEXTAREANAME = window.prompt("What is the name for the Textarea?","Textarea")
var COLS = window.prompt("How many COLUMNS for the Textarea?","50")
var ROWS = window.prompt("How many ROWS for the Textarea?","10")
var TEXTAREAVALUE = window.prompt("What do you want the textarea to say?","")
if(TEXTAREANAME =='')
{
NOTEXT()
}
if(COLS =='')
{
NOTEXT()
}
if(ROWS =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function FORMBUTTON()
{
var BUTTONVALUE = window.prompt("What do you want the button to say?","")
if(BUTTONVALUE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function SELECT()
{
var SELECT = window.prompt("What is the name of the select field?","")
if(SELECT =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
function SUBMIT()
{
var SUBMITVALUE = window.prompt("What do you want the submit button to say?","")
if(SUBMITVALUE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
function RESET()
{
var RESETVALUE = window.prompt("What do you want the reset button to say?","")
if(RESETVALUE =='')
{
NOTEXT()
}
else
{
document.Add.write.value += ("
")
}
}
// -->