%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
FUNCTION CropSentence(strText, intLength, strTrial)
Dim wsCount
Dim intTempSize
Dim intTotalLen
Dim strTemp
wsCount = 0
intTempSize = 0
intTotalLen = 0
intLength = intLength - Len(strTrial)
strTemp = ""
IF Len(strText) > intLength THEN
arrTemp = Split(strText, " ")
FOR EACH x IN arrTemp
IF Len(strTemp) <= intLength THEN
strTemp = strTemp & x & " "
END IF
NEXT
CropSentence = Left(strTemp, Len(strTemp) - 1) & strTrial
ELSE
CropSentence = strText
END IF
END FUNCTION
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 5
Repeat1__index = 0
rset_UpcomingEvents_numRows = rset_UpcomingEvents_numRows + Repeat1__numRows
%>
<%
Dim Repeat_E__numRows
Dim Repeat_E__index
Repeat_E__numRows = 8
Repeat_E__index = 0
rset_UpcomingEvents_numRows = rset_UpcomingEvents_numRows + Repeat_E__numRows
%>
<%
FUNCTION CropSentence(strText, intLength, strTrial)
Dim wsCount
Dim intTempSize
Dim intTotalLen
Dim strTemp
wsCount = 0
intTempSize = 0
intTotalLen = 0
intLength = intLength - Len(strTrial)
strTemp = ""
IF Len(strText) > intLength THEN
arrTemp = Split(strText, " ")
FOR EACH x IN arrTemp
IF Len(strTemp) <= intLength THEN
strTemp = strTemp & x & " "
END IF
NEXT
CropSentence = Left(strTemp, Len(strTemp) - 1) & strTrial
ELSE
CropSentence = strText
END IF
END FUNCTION
%>
Life in a Jar: The Irena Sendler Project
<% If Not rset_UpcomingEvents.EOF Or Not rset_UpcomingEvents.BOF Then %>
<%
While ((Repeat_E__numRows <> 0) AND (NOT rset_UpcomingEvents.EOF))
%>