"
sStaticText = sOutputStr
End Function
Function sTextBox(sName, sDesc, iSize, onBlur)
Dim sOutputStr
sOutputStr = sTextBoxwChange(sName, sDesc, iSize, onBlur,"")
sTextBox = sOutputStr
End Function
Function sTextBoxwChange(sName, sDesc, iSize, onBlur,onChange)
Dim sOutputStr
sOutputStr = sTextBoxwDefault(sName, sDesc, iSize, onBlur, onChange, "")
sTextBoxwChange = sOutputStr
End Function
Function sTextBoxwDefault(sName, sDesc, iSize, onBlur, onChange, sDefault)
Dim sOutputStr
Dim sValue
' Don't let default overwrite persisted info
sValue = Request(sName)
if sValue = "" then
sValue = sDefault
end if
sOutputStr = "
"
sOutputStr = sOutputStr & sFont("","","",True)
sOutputStr = sOutputStr & sDesc & " "
sOutputStr = sOutputStr & " "" then
sOutputStr = sOutputStr & " onBlur=" & quote & onBlur & quote
end if
if onChange <> "" then
sOutputStr = sOutputStr & " onChange=" & quote & onChange & quote
end if
if Session("hasStyles") then
sOutputStr = sOutputStr & Session("DEFINPUTSTYLE")
end if
sOutputStr = sOutputStr & ">
"
closeSelect = sOutputStr
End Function
Function sOption(sCaption,sValue, bIsSelected)
Dim sOutputStr
sOutputStr = sOutputStr & ""
sOption = sOutputStr
End Function
Function sTextArea(sName, sDesc, sText, iRows, iCols, bEnabled)
Dim sOutputStr
sOutputStr = "