var txt = document.form1.stringField.value; var clr = ""; var sze = "";
if (document.form1.bigBox.checked) txt = txt.big(); if (document.form1.blinkBox.checked) txt = txt.blink(); if (document.form1.boldBox.checked) txt = txt.bold(); if (document.form1.fixedBox.checked) txt = txt.fixed(); if (document.form1.italicsBox.checked) txt = txt.italics(); if (document.form1.smallBox.checked) txt = txt.small(); if (document.form1.strikeBox.checked) txt = txt.strike(); if (document.form1.subBox.checked) txt = txt.sub(); if (document.form1.supBox.checked) txt = txt.sup();