Virginia College Savings Plan

College Savings Planner

Your personalized College Savings Planner illustration helps you establish a realistic college savings goal and take a closer look at how to pay for college using a tax-favored savings option such as a 529 program. The Planner will help estimate the cost of attending colleges in various price ranges and help you consider how much you need to save to meet various percentages of future costs.

If you haven't started saving, don't be discouraged. It is never too late to start saving for college and you don't need to save the total cost. Most people rely on a combination of savings, current income and financial aid (including loans and work-study) to pay for college. Saving now can reduce your borrowing later and increase your college selection options.

<s:event b:on="construct" b:action="show" /> <input type='hidden' name='edit' id='edit' value='editassumptions1' /> <input type='hidden' name='currentchild' id='currentchild' value='1' /> <input type='hidden' name='xaxis_array' id='xaxis_array' value='' /> <input type='hidden' name='funded_array' id='funded_array' value='' /> <input type='hidden' name='unfunded_array' id='unfunded_array' value='' /> <input type='hidden' name='shortfall_array' id='shortfall_array' value='' /> <b:accordeon b:behavior="accordmain" class="b-accordeonhead-content"> <b:accordeonhead id="ahead1" b:behavior="child1" class="b-accordeonhead-content">Child 1</b:accordeonhead> <b:accordeonbody> <div> <s:behavior b:name='bv_age'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:when b:test='(number(@value) > 24) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age");' /> <s:task b:action='show' b:target='id($target_stop_age)' /> <s:task b:action='show' b:target='id($target_err_age)' /> <s:task b:action='settext' b:target='id($target_err_age)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age)' /> <s:task b:action='hide' b:target='id($target_err_age)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='id("age_of_education1")/@value' b:value='{max((@value, id("age_of_education1")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='id("age_of_education2")/@value' b:value='{max((@value, id("age_of_education2")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='id("age_of_education3")/@value' b:value='{max((@value, id("age_of_education3")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='id("age_of_education4")/@value' b:value='{max((@value, id("age_of_education4")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='id("age_of_education5")/@value' b:value='{max((@value, id("age_of_education5")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_name'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value="{concat('Child ', $childnum)}"/> <s:task b:action='js' b:value='document.getElementsByTagName("chart")[0].caption = "Tony";' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value='{@value}'/> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("name");' /> <s:task b:action='show' b:target='id($target_stop_name)' /> <s:task b:action='show' b:target='id($target_err_name)' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='settext' b:target='id($target_err_name)' b:value='{@b:infomsg}' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_name)' /> <s:task b:action='hide' b:target='id($target_err_name)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_collname'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_collname='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:setatt b:valid_collname='true' b:infomsg='' /> </s:otherwise> </s:choose> <s:if b:test="@b:valid_collname='false'"> <s:task b:action='js' b:value='EnableDisable("collname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collname)' /> <s:task b:action='show' b:target='id($target_err_collname)' /> <s:task b:action='settext' b:target='id($target_err_collname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_collname='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_collname)' /> <s:task b:action='hide' b:target='id($target_err_collname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_contrib'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_contrib='false' b:infomsg='Contribution must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_contrib='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_contrib='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_contrib='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_contrib='false'"> <s:task b:action='js' b:value='EnableDisable("contrib");' /> <s:task b:action='show' b:target='id($target_stop_contrib)' /> <s:task b:action='show' b:target='id($target_err_contrib)' /> <s:task b:action='settext' b:target='id($target_err_contrib)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_contrib='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_contrib)' /> <s:task b:action='hide' b:target='id($target_err_contrib)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_cost'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_cost='false' b:infomsg='Cost must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_cost='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_cost='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_cost='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_cost='false'"> <s:task b:action='js' b:value='EnableDisable("cost");' /> <s:task b:action='show' b:target='id($target_stop_cost)' /> <s:task b:action='show' b:target='id($target_err_cost)' /> <s:task b:action='settext' b:target='id($target_err_cost)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_cost='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_cost)' /> <s:task b:action='hide' b:target='id($target_err_cost)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_currentsavings'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_currentsavings='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_currentsavings='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_currentsavings='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_currentsavings='false'"> <s:task b:action='js' b:value='EnableDisable("currentsavings");' /> <s:task b:action='show' b:target='id($target_stop_currentsavings)' /> <s:task b:action='show' b:target='id($target_err_currentsavings)' /> <s:task b:action='settext' b:target='id($target_err_currentsavings)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_currentsavings='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_currentsavings)' /> <s:task b:action='hide' b:target='id($target_err_currentsavings)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_age_of_education'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test='@b:validation="number" and not(number(@value) >= 0)'> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:when b:test='(number(@value) > 25)'> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age_of_education");' /> <s:task b:action='show' b:target='id($target_stop_age_of_education)' /> <s:task b:action='show' b:target='id($target_err_age_of_education)' /> <s:task b:action='settext' b:target='id($target_err_age_of_education)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)' /> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='@value' b:value='{max((id("age1")/@value, id("age_of_education1")/@value))}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='@value' b:value='{max((id("age2")/@value, id("age_of_education2")/@value))}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='@value' b:value='{max((id("age3")/@value, id("age_of_education3")/@value))}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='@value' b:value='{max((id("age4")/@value, id("age_of_education4")/@value))}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='@value' b:value='{max((id("age5")/@value, id("age_of_education5")/@value))}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_num_years'> <s:event b:on='change'> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Years must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 0) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:when b:test='(number(@value) > 12) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("num_years");' /> <s:task b:action='show' b:target='id($target_stop_num_years)' /> <s:task b:action='show' b:target='id($target_err_num_years)' /> <s:task b:action='settext' b:target='id($target_err_num_years)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_college_cost_inflation'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:when b:test='(number(@value) > 25) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("college_cost_inflation");' /> <s:task b:action='show' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='show' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='settext' b:target='id($target_err_college_cost_inflation)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_savepct'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Savings % must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:when b:test='(number(@value) > 100) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("savepct");' /> <s:task b:action='show' b:target='id($target_stop_savepct)' /> <s:task b:action='show' b:target='id($target_err_savepct)' /> <s:task b:action='settext' b:target='id($target_err_savepct)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_rate_of_return'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Rate of return must be a whole number' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:when b:test='(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("rate_of_return");' /> <s:task b:action='show' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='show' b:target='id($target_err_rate_of_return)' /> <s:task b:action='settext' b:target='id($target_err_rate_of_return)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_assumptions'> </s:behavior> </div> <table class='childtable'> <tr> <td></td> <td class='data' > <div> <b:modal b:autopos='false' b:dragconstraint='.' style='position: absolute; width: 400px; height: auto; left: 10px; top: 225px' id='editassumptions1'> <b:modalhead>Edit Assumptions</b:modalhead> <b:modalbody style='height: auto'> <table> <tr> <td class='editlabelarea'>College start age</td> <td id='td_age_of_education1' class='data'><IMG id='stop_age_of_education1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age_of_education1' ></div> <input b:behavior='bv_age_of_education' onfocus='this.select();' type='text' name='age_of_education1' id='age_of_education1' size='2' tabindex='10' maxlength='2' value='18' /> </td> </tr> <tr > <td class='editlabelarea'>Years attending college </td> <td id='td_num_years1' class='data'><IMG id='stop_num_years1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_num_years1' ></div> <input b:on='validate' b:behavior='bv_num_years' onfocus='this.select();' type='text' name='num_years1' id='num_years1' size='2' tabindex='11' maxlength='2' value='4' /> </td> </tr> <tr > <td class='editlabelarea'>Education cost inflation </td> <td id='td_college_cost_inflation1' class='data'><IMG id='stop_college_cost_inflation1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_college_cost_inflation1' ></div> <input b:on='validate' b:behavior='bv_college_cost_inflation' onfocus='this.select();' type='text' name='college_cost_inflation1' id='college_cost_inflation1' size='5' tabindex='12' maxlength='5' value='8.5' />% </td> </tr> <tr > <td class='editlabelarea'>% of cost funded by savings </td> <td id='td_savepct1' class='data'><IMG id='stop_savepct1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_savepct1' ></div> <input b:on='validate' b:behavior='bv_savepct' onfocus='this.select();' type='text' name='savepct1' id='savepct1' size='5' tabindex='13' maxlength='5' value='100' />% </td> </tr> <tr class='rowlabelarea'> <td class='editlabelarea'>Pre-tax rate of return </td> <td id='td_rate_of_return1' class='data'><IMG id='stop_rate_of_return1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_rate_of_return1' ></div> <input b:on='validate' b:behavior='bv_rate_of_return' onfocus='this.select();' type='text' name='rate_of_return1' id='rate_of_return1' size='2' tabindex='14' maxlength='2' value='7' />% </td> </tr> </table> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:behavior='cancel-assump1' b:target='id("editassumptions1")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' style='padding-left: 245px;' b:action='trigger' id='continue-button-assump1' name='continue-button-assump1' b:behavior='continue-assump1' b:target='id("editassumptions1")'>Continue</b:button> </div> <s:behavior b:name='continue-assump1'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:choose> <s:when b:test='$valid-ok eq 1'> <s:task b:action='js' b:value='java_recalc(1);' /> <s:task b:action='trigger' b:event='close' b:target='id("editassumptions1")'/> </s:when> <s:otherwise> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:behavior b:name='cancel-assump1'> <s:event b:on='click'> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)'/> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_age_of_education1")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_num_years1")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_college_cost_inflation1")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_savepct1")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_rate_of_return1")' /> <s:task b:action='js' b:value='reset_editassumptions();' /> <s:task b:action='js' b:value='java_recalc(1);' /> <s:task b:action='js' b:value='enable_continue();' /> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> </b:modalbody> </b:modal> </div> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's name </td> <td class='data' > <IMG id='stop_name1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_name1' ></div> <input b:validation='text' b:behavior='bv_name' class='childinput' onfocus='this.select();' type='text' name='name1' id='name1' size='15' tabindex='1' maxlength='30' value='Child 1' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's current age </td> <td class='data' ><IMG id='stop_age1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age1' ></div> <input b:behavior='bv_age' b:validation='number' class='childinput' onfocus='this.select();' type='text' name='age1' id='age1' size='5' tabindex='2' maxlength='5' value='0' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Estimate current annual college cost </td> <td class='data' > <div class='textblock'> <a b:behavior='cost_search' id='cost_search1' tabindex='3' b:action='trigger' b:event='open' b:target='id("collcost1")'>Select College Search</a> </div> <style>.b-modal-closebutton{display:none;}</style> <s:variable b:name='myinout' b:select='1' b:scope='global' /> <b:modal b:autopos='false' b:dragconstraint='.' b:behavior='collcostwindow1' id='collcost1' style='overflow: none; width: 450px; left: 5px; top: 170px; height: auto;'> <b:modalhead >College Search</b:modalhead> <b:modalbody style='height:auto' id='modalb1'> <div > <div > <div> <div> <div widget='true'> <div class='collegelabel'>Select search criteria <br/>(Choose one)</div> <div class='collegedata'> <input b:behavior='searchavg1' checked='true' type='radio' value='3' id='search1' name='search1' />Select from national averages <br/> <input b:behavior='searchstate1' type='radio' id='search1' value='1' name='search1' />Look up by state <br/> <input b:behavior='searchname1' type='radio' value='2' id='search1' name='search1' />Look up by college name <br/> </div> </div> </div> <s:behavior b:name='cost_search'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable("x");' /> </s:event> </s:behavior> <s:behavior b:name='searchstate1'> <s:event b:on='click'> <s:task b:action='js' b:value='showstaterow(1);' /> <s:task b:action='show' b:target='id("inoutrow1")' /> <s:task b:action='show' b:target='id("inoutlabel1")' /> <s:task b:action='show' b:target='id("radiobutton1")' /> <s:task b:action='show' b:target='id("resultstable1")' /> <s:task b:action='set' b:target="id('collegecost1')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='1' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results1')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchname1'> <s:event b:on='click'> <s:task b:action='js' b:value='shownamerow(1);' /> <s:task b:action='show' b:target='id("inoutrow1")' /> <s:task b:action='show' b:target='id("inoutlabel1")' /> <s:task b:action='show' b:target='id("radiobutton1")' /> <s:task b:action='show' b:target='id("resultstable1")' /> <s:task b:action='set' b:target="id('collegecost1')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='2' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results1')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchavg1'> <s:event b:on='click'> <s:task b:action='js' b:value='showavgrow(1);' /> <s:task b:action='hide' b:target='id("inoutrow1")' /> <s:task b:action='hide' b:target='id("inoutlabel1")' /> <s:task b:action='hide' b:target='id("radiobutton1")' /> <s:task b:action='hide' b:target='id("resultstable1")' /> <s:task b:action='set' b:target="id('collegecost1')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='3' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results1')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <div> <div style='display: ' id='avgrow1'> <div id='AvgLabel1' class='collegelabel'>National average</div> <div class='collegedata'> <b:select b:observe='id("avgcost1")' b:behavior='avgcost_behavior1' b:name="avgcost" id="Avgcost1"> <b:option b:value="10800">Public 2-year school</b:option> <b:option b:value="16400">Public 4-year school, in state</b:option> <b:option b:value="27900">Public 4-year school, out of state</b:option> <b:option b:value="36800">Private 4-year school, average</b:option> <b:option b:value="45000">Private 4-year school, expensive</b:option> <s:event b:on='observe-command'> <s:task b:action='hide' b:target='id("Avgcost1")' /> <s:task b:action='hide' b:target='id("AvgLabel1")' /> </s:event> </b:select> <s:behavior b:name='avgcost_behavior1'> <s:event b:on='change'> <s:variable b:name='mykeyvalue1' b:select="id('Avgcost1')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyvalue1' /> <s:task b:action='set' b:target="id('collegecost1')/@value" b:value='{$mykeyvalue1}' /> <s:variable b:name='mykeyname1' b:select="id('Avgcost1')/@b:text" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname1' /> <s:task b:action='set' b:target="id('collegename1')/@value" b:value='{$mykeyname1}' /> </s:event> </s:behavior> </div> </div> </div> <div style='display: none' id='staterow1'> <div id='StateLabel1' class='collegelabel'>Search by state</div> <div class='collegedata'> <b:select b:value='VA' editable='false' b:observe='id("searchstate1")' b:behavior='state_behavior1' b:name="statelist1" id="statelist1"> <b:option b:value="AK">AK</b:option> <b:option b:value="AL">AL</b:option> <b:option b:value="AR">AR</b:option> <b:option b:value="AZ">AZ</b:option> <b:option b:value="CA">CA</b:option> <b:option b:value="CO">CO</b:option> <b:option b:value="CT">CT</b:option> <b:option b:value="DC">DC</b:option> <b:option b:value="DE">DE</b:option> <b:option b:value="FL">FL</b:option> <b:option b:value="GA">GA</b:option> <b:option b:value="HI">HI</b:option> <b:option b:value="IA">IA</b:option> <b:option b:value="ID">ID</b:option> <b:option b:value="IL">IL</b:option> <b:option b:value="IN">IN</b:option> <b:option b:value="KS">KS</b:option> <b:option b:value="KY">KY</b:option> <b:option b:value="LA">LA</b:option> <b:option b:value="MA">MA</b:option> <b:option b:value="MD">MD</b:option> <b:option b:value="ME">ME</b:option> <b:option b:value="MI">MI</b:option> <b:option b:value="MN">MN</b:option> <b:option b:value="MO">MO</b:option> <b:option b:value="MS">MS</b:option> <b:option b:value="MT">MT</b:option> <b:option b:value="NC">NC</b:option> <b:option b:value="ND">ND</b:option> <b:option b:value="NE">NE</b:option> <b:option b:value="NH">NH</b:option> <b:option b:value="NJ">NJ</b:option> <b:option b:value="NM">NM</b:option> <b:option b:value="NV">NV</b:option> <b:option b:value="NY">NY</b:option> <b:option b:value="OH">OH</b:option> <b:option b:value="OK">OK</b:option> <b:option b:value="OR">OR</b:option> <b:option b:value="PA">PA</b:option> <b:option b:value="RI">RI</b:option> <b:option b:value="SC">SC</b:option> <b:option b:value="SD">SD</b:option> <b:option b:value="TN">TN</b:option> <b:option b:value="TX">TX</b:option> <b:option b:value="UT">UT</b:option> <b:option b:value="VA">VA</b:option> <b:option b:value="VT">VT</b:option> <b:option b:value="WA">WA</b:option> <b:option b:value="WI">WI</b:option> <b:option b:value="WV">WV</b:option> <b:option b:value="WY">WY</b:option> </b:select> <b:button style='vertical-align:top' b:action='trigger' b:target='id("collcost1")'>Go <s:event b:on='command' > <s:variable b:name='mystatevalue1' b:select="id('statelist1')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mystatevalue1' /> <s:render b:destination="id('results1')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue1, '&amp;remove=0&amp;childnum=1&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results1')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue1, '&amp;remove=0&amp;childnum=1&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results1')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue1, '&amp;remove=0&amp;childnum=1&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results1')" /> </s:when > </s:choose> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </b:button> </div> </div> <div style='display: none' id='namerow1'> <div id='NameLabel1' class='collegelabel'>Search by name</div> <div class='collegedata' > <IMG id='stop_collsearchname1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collsearchname1' ></div> <input b:behavior='collsearchname1' class='childinput' onfocus='this.select();' type='text' name='collsearchname1' id='collsearchname1' size='15' tabindex='21' maxlength='30' value='' /> <s:behavior b:name='collsearchname1'> <s:event b:on='change' > <s:variable b:name='mycollsearchname1' b:select="@value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mycollsearchname1' /> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </s:behavior> <b:button class='childinput' style='vertical-align:top' b:action='trigger' b:target='id("collcost1")'>Go <s:event b:on='command' > <s:setatt b:valid_collsearchname='true' b:infomsg='' /> <s:if b:test='string-length(normalize-space(id("collsearchname1")/@value)) eq 0'> <s:setatt b:valid_collsearchname='false' b:infomsg='This is a required field.' /> </s:if> <s:if b:test="@b:valid_collsearchname='false'"> <s:task b:action='js' b:value='EnableDisable("collsearchname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collsearchname)' /> <s:task b:action='show' b:target='id($target_err_collsearchname)' /> <s:task b:action='settext' b:target='id($target_err_collsearchname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> <s:render b:destination="id('results1')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:if> <s:if b:test="@b:valid_collsearchname='true'"> <s:task b:action='js' b:value='EnableDisable()' /> <s:task b:action='hide' b:target='id($target_stop_collsearchname)' /> <s:task b:action='hide' b:target='id($target_err_collsearchname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:render b:destination="id('results1')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname1')/@value, '&amp;remove=0&amp;childnum=1&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results1')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname1')/@value, '&amp;remove=0&amp;childnum=1&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results1')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname1')/@value, '&amp;remove=0&amp;childnum=1&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results1')" /> </s:when > </s:choose> <s:if b:test='$selectlimit eq 1'> <s:task b:action='alert' b:value='Please be more specific in your search string. Your search result has been limited to 200 colleges.' /> </s:if> </s:if> </s:event> </b:button> </div> </div> <div id='inoutrow1'> <div id='inoutlabel1' class='collegelabel'> </div> <div id='radioButton' class='collegedata'> <input b:behavior='in1' checked='true' type='radio' value='tuit_in' id='inoutstate1' name='inoutstate1' />In-state tuition <br/> <input b:behavior='out1' type='radio' value='tuit_out' id='inoutstate1' name='inoutstate1' />Out-of-state tuition <s:behavior b:name='in1'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='1' b:scope='global' /> <s:render b:destination="id('results1')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> <s:behavior b:name='out1'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='2' b:scope='global' /> <s:render b:destination="id('results1')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> </div> </div> </div> </div> <div class='collegelabel'>College cost $<BR /> (tuition, room &amp; board) </div> <div class='collegedata'><input readonly='readonly' type='text' name='collegecost1' id='collegecost1' size='5' maxlength='10' value='16400' /> </div> </div> <input type='hidden' onblur='document.applets[0].setCollegeName(this.value, 1 );java_recalc(1);' name='collegename1' id='collegename1' size='35' tabindex='22' maxlength='50' value='' /> <P /> <div class='resultsbar' id='resultstable1'> <div style='padding-top: 3px; padding-left: 3px;'>Results</div> </div> <div class="resultsarea" name="results1" id="results1"> </div> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:behavior='cancel-behavior1' b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:target='id("collcost1")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' b:event='close' style='padding-left: 245px;' b:action='trigger' b:behavior='continue-behavior1' b:target='id("collcost1")'>Continue</b:button> </div> </b:modalbody> </b:modal> <s:behavior b:name='collcostwindow1'> <s:event b:on='construct'> <s:task b:action='hide' b:target='id("inoutrow1")' /> <s:task b:action='hide' b:target='id("inoutlabel1")' /> <s:task b:action='hide' b:target='id("radiobutton1")' /> <s:task b:action='hide' b:target='id("resultstable1")' /> </s:event> </s:behavior> <s:behavior b:name='cancel-behavior1'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> <s:behavior b:name='continue-behavior1'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:variable b:name='mykeyvalue1' b:select="id('collegecost1')/@value" b:scope='global' /> <s:task b:action='set' b:target="id('cost1')/@value" b:value='{$mykeyvalue1}' /> <s:variable b:name='mykeyname1' b:select="normalize-space(id('collegename1')/@value)" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname1' /> <s:task b:action='set' b:target="id('collname1')/@value" b:value='{$mykeyname1}' /> <s:task b:action='js' b:value='java_recalc(1);' /> </s:event> </s:behavior> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College name or type </td> <td class='data' ><IMG id='stop_collname1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collname1' ></div> <input b:behavior='bv_collname' b:validation='text' onfocus='this.select();' class='childinput' type='text' name='collname1' id='collname1' size='20' tabindex='4' maxlength='30' value='Public 4-year school, in state' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College cost $<BR />(tuition, room &amp; board) </td> <td class='data' ><IMG id='stop_cost1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_cost1' ></div> <input b:validation='number' b:behavior='bv_cost' onfocus='this.select();' class='childinput' type='text' name='cost1' id='cost1' size='10' tabindex='5' value='16400' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Planned contributions $ </td> <td class='data' ><IMG id='stop_contrib1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_contrib1' ></div> <input b:behavior='bv_contrib' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='contrib1' name='contrib1' size='10' tabindex='6' value='100' /> </td> </tr> <tr> <td class='labelarea'></td> <td class='data' ><input class='childinput' checked='true' onclick='document.applets[0].setMonRadio(this.value, 1 );java_recalc(1);' type='radio' name='contribtype1' id='contribtype11' value='0' tabindex='7' />Monthly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'></td> <td class='data' ><input class='childinput' onclick='document.applets[0].setYrRadio(this.value, 1 );java_recalc(1);' type='radio' name='contribtype1' id='contribtype21' value='0' tabindex='8' />Yearly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Current savings balance $ </td> <td class='data' ><IMG id='stop_currentsavings1' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_currentsavings1' ></div> <input b:behavior='bv_currentsavings' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='currentsavings1' name='currentsavings1' size='10' tabindex='9' value='0' /> </td> </tr> </table> <script> </script> </b:accordeonbody> <b:accordeonhead id="ahead2" b:behavior="child2" class="b-accordeonhead-content">Child 2</b:accordeonhead> <b:accordeonbody> <div> <s:behavior b:name='bv_age'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:when b:test='(number(@value) > 24) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age");' /> <s:task b:action='show' b:target='id($target_stop_age)' /> <s:task b:action='show' b:target='id($target_err_age)' /> <s:task b:action='settext' b:target='id($target_err_age)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age)' /> <s:task b:action='hide' b:target='id($target_err_age)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='id("age_of_education1")/@value' b:value='{max((@value, id("age_of_education1")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='id("age_of_education2")/@value' b:value='{max((@value, id("age_of_education2")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='id("age_of_education3")/@value' b:value='{max((@value, id("age_of_education3")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='id("age_of_education4")/@value' b:value='{max((@value, id("age_of_education4")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='id("age_of_education5")/@value' b:value='{max((@value, id("age_of_education5")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_name'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value="{concat('Child ', $childnum)}"/> <s:task b:action='js' b:value='document.getElementsByTagName("chart")[0].caption = "Tony";' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value='{@value}'/> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("name");' /> <s:task b:action='show' b:target='id($target_stop_name)' /> <s:task b:action='show' b:target='id($target_err_name)' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='settext' b:target='id($target_err_name)' b:value='{@b:infomsg}' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_name)' /> <s:task b:action='hide' b:target='id($target_err_name)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_collname'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_collname='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:setatt b:valid_collname='true' b:infomsg='' /> </s:otherwise> </s:choose> <s:if b:test="@b:valid_collname='false'"> <s:task b:action='js' b:value='EnableDisable("collname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collname)' /> <s:task b:action='show' b:target='id($target_err_collname)' /> <s:task b:action='settext' b:target='id($target_err_collname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_collname='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_collname)' /> <s:task b:action='hide' b:target='id($target_err_collname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_contrib'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_contrib='false' b:infomsg='Contribution must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_contrib='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_contrib='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_contrib='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_contrib='false'"> <s:task b:action='js' b:value='EnableDisable("contrib");' /> <s:task b:action='show' b:target='id($target_stop_contrib)' /> <s:task b:action='show' b:target='id($target_err_contrib)' /> <s:task b:action='settext' b:target='id($target_err_contrib)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_contrib='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_contrib)' /> <s:task b:action='hide' b:target='id($target_err_contrib)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_cost'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_cost='false' b:infomsg='Cost must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_cost='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_cost='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_cost='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_cost='false'"> <s:task b:action='js' b:value='EnableDisable("cost");' /> <s:task b:action='show' b:target='id($target_stop_cost)' /> <s:task b:action='show' b:target='id($target_err_cost)' /> <s:task b:action='settext' b:target='id($target_err_cost)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_cost='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_cost)' /> <s:task b:action='hide' b:target='id($target_err_cost)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_currentsavings'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_currentsavings='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_currentsavings='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_currentsavings='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_currentsavings='false'"> <s:task b:action='js' b:value='EnableDisable("currentsavings");' /> <s:task b:action='show' b:target='id($target_stop_currentsavings)' /> <s:task b:action='show' b:target='id($target_err_currentsavings)' /> <s:task b:action='settext' b:target='id($target_err_currentsavings)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_currentsavings='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_currentsavings)' /> <s:task b:action='hide' b:target='id($target_err_currentsavings)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_age_of_education'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test='@b:validation="number" and not(number(@value) >= 0)'> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:when b:test='(number(@value) > 25)'> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age_of_education");' /> <s:task b:action='show' b:target='id($target_stop_age_of_education)' /> <s:task b:action='show' b:target='id($target_err_age_of_education)' /> <s:task b:action='settext' b:target='id($target_err_age_of_education)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)' /> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='@value' b:value='{max((id("age1")/@value, id("age_of_education1")/@value))}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='@value' b:value='{max((id("age2")/@value, id("age_of_education2")/@value))}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='@value' b:value='{max((id("age3")/@value, id("age_of_education3")/@value))}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='@value' b:value='{max((id("age4")/@value, id("age_of_education4")/@value))}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='@value' b:value='{max((id("age5")/@value, id("age_of_education5")/@value))}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_num_years'> <s:event b:on='change'> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Years must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 0) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:when b:test='(number(@value) > 12) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("num_years");' /> <s:task b:action='show' b:target='id($target_stop_num_years)' /> <s:task b:action='show' b:target='id($target_err_num_years)' /> <s:task b:action='settext' b:target='id($target_err_num_years)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_college_cost_inflation'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:when b:test='(number(@value) > 25) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("college_cost_inflation");' /> <s:task b:action='show' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='show' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='settext' b:target='id($target_err_college_cost_inflation)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_savepct'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Savings % must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:when b:test='(number(@value) > 100) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("savepct");' /> <s:task b:action='show' b:target='id($target_stop_savepct)' /> <s:task b:action='show' b:target='id($target_err_savepct)' /> <s:task b:action='settext' b:target='id($target_err_savepct)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_rate_of_return'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Rate of return must be a whole number' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:when b:test='(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("rate_of_return");' /> <s:task b:action='show' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='show' b:target='id($target_err_rate_of_return)' /> <s:task b:action='settext' b:target='id($target_err_rate_of_return)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_assumptions'> </s:behavior> </div> <table class='childtable'> <tr> <td></td> <td class='data' > <div> <b:modal b:autopos='false' b:dragconstraint='.' style='position: absolute; width: 400px; height: auto; left: 10px; top: 225px' id='editassumptions2'> <b:modalhead>Edit Assumptions</b:modalhead> <b:modalbody style='height: auto'> <table> <tr> <td class='editlabelarea'>College start age</td> <td id='td_age_of_education2' class='data'><IMG id='stop_age_of_education2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age_of_education2' ></div> <input b:behavior='bv_age_of_education' onfocus='this.select();' type='text' name='age_of_education2' id='age_of_education2' size='2' tabindex='10' maxlength='2' value='18' /> </td> </tr> <tr > <td class='editlabelarea'>Years attending college </td> <td id='td_num_years2' class='data'><IMG id='stop_num_years2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_num_years2' ></div> <input b:on='validate' b:behavior='bv_num_years' onfocus='this.select();' type='text' name='num_years2' id='num_years2' size='2' tabindex='11' maxlength='2' value='4' /> </td> </tr> <tr > <td class='editlabelarea'>Education cost inflation </td> <td id='td_college_cost_inflation2' class='data'><IMG id='stop_college_cost_inflation2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_college_cost_inflation2' ></div> <input b:on='validate' b:behavior='bv_college_cost_inflation' onfocus='this.select();' type='text' name='college_cost_inflation2' id='college_cost_inflation2' size='5' tabindex='12' maxlength='5' value='8.5' />% </td> </tr> <tr > <td class='editlabelarea'>% of cost funded by savings </td> <td id='td_savepct2' class='data'><IMG id='stop_savepct2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_savepct2' ></div> <input b:on='validate' b:behavior='bv_savepct' onfocus='this.select();' type='text' name='savepct2' id='savepct2' size='5' tabindex='13' maxlength='5' value='100' />% </td> </tr> <tr class='rowlabelarea'> <td class='editlabelarea'>Pre-tax rate of return </td> <td id='td_rate_of_return2' class='data'><IMG id='stop_rate_of_return2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_rate_of_return2' ></div> <input b:on='validate' b:behavior='bv_rate_of_return' onfocus='this.select();' type='text' name='rate_of_return2' id='rate_of_return2' size='2' tabindex='14' maxlength='2' value='7' />% </td> </tr> </table> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:behavior='cancel-assump2' b:target='id("editassumptions2")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' style='padding-left: 245px;' b:action='trigger' id='continue-button-assump2' name='continue-button-assump2' b:behavior='continue-assump2' b:target='id("editassumptions2")'>Continue</b:button> </div> <s:behavior b:name='continue-assump2'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:choose> <s:when b:test='$valid-ok eq 1'> <s:task b:action='js' b:value='java_recalc(2);' /> <s:task b:action='trigger' b:event='close' b:target='id("editassumptions2")'/> </s:when> <s:otherwise> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:behavior b:name='cancel-assump2'> <s:event b:on='click'> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)'/> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_age_of_education2")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_num_years2")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_college_cost_inflation2")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_savepct2")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_rate_of_return2")' /> <s:task b:action='js' b:value='reset_editassumptions();' /> <s:task b:action='js' b:value='java_recalc(2);' /> <s:task b:action='js' b:value='enable_continue();' /> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> </b:modalbody> </b:modal> </div> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's name </td> <td class='data' > <IMG id='stop_name2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_name2' ></div> <input b:validation='text' b:behavior='bv_name' class='childinput' onfocus='this.select();' type='text' name='name2' id='name2' size='15' tabindex='1' maxlength='30' value='Child 2' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's current age </td> <td class='data' ><IMG id='stop_age2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age2' ></div> <input b:behavior='bv_age' b:validation='number' class='childinput' onfocus='this.select();' type='text' name='age2' id='age2' size='5' tabindex='2' maxlength='5' value='0' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Estimate current annual college cost </td> <td class='data' > <div class='textblock'> <a b:behavior='cost_search' id='cost_search2' tabindex='3' b:action='trigger' b:event='open' b:target='id("collcost2")'>Select College Search</a> </div> <style>.b-modal-closebutton{display:none;}</style> <s:variable b:name='myinout' b:select='1' b:scope='global' /> <b:modal b:autopos='false' b:dragconstraint='.' b:behavior='collcostwindow2' id='collcost2' style='overflow: none; width: 450px; left: 5px; top: 170px; height: auto;'> <b:modalhead >College Search</b:modalhead> <b:modalbody style='height:auto' id='modalb1'> <div > <div > <div> <div> <div widget='true'> <div class='collegelabel'>Select search criteria <br/>(Choose one)</div> <div class='collegedata'> <input b:behavior='searchavg2' checked='true' type='radio' value='3' id='search2' name='search2' />Select from national averages <br/> <input b:behavior='searchstate2' type='radio' id='search2' value='1' name='search2' />Look up by state <br/> <input b:behavior='searchname2' type='radio' value='2' id='search2' name='search2' />Look up by college name <br/> </div> </div> </div> <s:behavior b:name='cost_search'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable("x");' /> </s:event> </s:behavior> <s:behavior b:name='searchstate2'> <s:event b:on='click'> <s:task b:action='js' b:value='showstaterow(2);' /> <s:task b:action='show' b:target='id("inoutrow2")' /> <s:task b:action='show' b:target='id("inoutlabel2")' /> <s:task b:action='show' b:target='id("radiobutton2")' /> <s:task b:action='show' b:target='id("resultstable2")' /> <s:task b:action='set' b:target="id('collegecost2')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='1' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results2')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchname2'> <s:event b:on='click'> <s:task b:action='js' b:value='shownamerow(2);' /> <s:task b:action='show' b:target='id("inoutrow2")' /> <s:task b:action='show' b:target='id("inoutlabel2")' /> <s:task b:action='show' b:target='id("radiobutton2")' /> <s:task b:action='show' b:target='id("resultstable2")' /> <s:task b:action='set' b:target="id('collegecost2')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='2' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results2')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchavg2'> <s:event b:on='click'> <s:task b:action='js' b:value='showavgrow(2);' /> <s:task b:action='hide' b:target='id("inoutrow2")' /> <s:task b:action='hide' b:target='id("inoutlabel2")' /> <s:task b:action='hide' b:target='id("radiobutton2")' /> <s:task b:action='hide' b:target='id("resultstable2")' /> <s:task b:action='set' b:target="id('collegecost2')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='3' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results2')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <div> <div style='display: ' id='avgrow2'> <div id='AvgLabel2' class='collegelabel'>National average</div> <div class='collegedata'> <b:select b:observe='id("avgcost2")' b:behavior='avgcost_behavior2' b:name="avgcost" id="Avgcost2"> <b:option b:value="10800">Public 2-year school</b:option> <b:option b:value="16400">Public 4-year school, in state</b:option> <b:option b:value="27900">Public 4-year school, out of state</b:option> <b:option b:value="36800">Private 4-year school, average</b:option> <b:option b:value="45000">Private 4-year school, expensive</b:option> <s:event b:on='observe-command'> <s:task b:action='hide' b:target='id("Avgcost2")' /> <s:task b:action='hide' b:target='id("AvgLabel2")' /> </s:event> </b:select> <s:behavior b:name='avgcost_behavior2'> <s:event b:on='change'> <s:variable b:name='mykeyvalue2' b:select="id('Avgcost2')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyvalue2' /> <s:task b:action='set' b:target="id('collegecost2')/@value" b:value='{$mykeyvalue2}' /> <s:variable b:name='mykeyname2' b:select="id('Avgcost2')/@b:text" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname2' /> <s:task b:action='set' b:target="id('collegename2')/@value" b:value='{$mykeyname2}' /> </s:event> </s:behavior> </div> </div> </div> <div style='display: none' id='staterow2'> <div id='StateLabel2' class='collegelabel'>Search by state</div> <div class='collegedata'> <b:select b:value='VA' editable='false' b:observe='id("searchstate2")' b:behavior='state_behavior2' b:name="statelist2" id="statelist2"> <b:option b:value="AK">AK</b:option> <b:option b:value="AL">AL</b:option> <b:option b:value="AR">AR</b:option> <b:option b:value="AZ">AZ</b:option> <b:option b:value="CA">CA</b:option> <b:option b:value="CO">CO</b:option> <b:option b:value="CT">CT</b:option> <b:option b:value="DC">DC</b:option> <b:option b:value="DE">DE</b:option> <b:option b:value="FL">FL</b:option> <b:option b:value="GA">GA</b:option> <b:option b:value="HI">HI</b:option> <b:option b:value="IA">IA</b:option> <b:option b:value="ID">ID</b:option> <b:option b:value="IL">IL</b:option> <b:option b:value="IN">IN</b:option> <b:option b:value="KS">KS</b:option> <b:option b:value="KY">KY</b:option> <b:option b:value="LA">LA</b:option> <b:option b:value="MA">MA</b:option> <b:option b:value="MD">MD</b:option> <b:option b:value="ME">ME</b:option> <b:option b:value="MI">MI</b:option> <b:option b:value="MN">MN</b:option> <b:option b:value="MO">MO</b:option> <b:option b:value="MS">MS</b:option> <b:option b:value="MT">MT</b:option> <b:option b:value="NC">NC</b:option> <b:option b:value="ND">ND</b:option> <b:option b:value="NE">NE</b:option> <b:option b:value="NH">NH</b:option> <b:option b:value="NJ">NJ</b:option> <b:option b:value="NM">NM</b:option> <b:option b:value="NV">NV</b:option> <b:option b:value="NY">NY</b:option> <b:option b:value="OH">OH</b:option> <b:option b:value="OK">OK</b:option> <b:option b:value="OR">OR</b:option> <b:option b:value="PA">PA</b:option> <b:option b:value="RI">RI</b:option> <b:option b:value="SC">SC</b:option> <b:option b:value="SD">SD</b:option> <b:option b:value="TN">TN</b:option> <b:option b:value="TX">TX</b:option> <b:option b:value="UT">UT</b:option> <b:option b:value="VA">VA</b:option> <b:option b:value="VT">VT</b:option> <b:option b:value="WA">WA</b:option> <b:option b:value="WI">WI</b:option> <b:option b:value="WV">WV</b:option> <b:option b:value="WY">WY</b:option> </b:select> <b:button style='vertical-align:top' b:action='trigger' b:target='id("collcost2")'>Go <s:event b:on='command' > <s:variable b:name='mystatevalue2' b:select="id('statelist2')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mystatevalue2' /> <s:render b:destination="id('results2')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue2, '&amp;remove=0&amp;childnum=2&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results2')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue2, '&amp;remove=0&amp;childnum=2&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results2')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue2, '&amp;remove=0&amp;childnum=2&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results2')" /> </s:when > </s:choose> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </b:button> </div> </div> <div style='display: none' id='namerow2'> <div id='NameLabel2' class='collegelabel'>Search by name</div> <div class='collegedata' > <IMG id='stop_collsearchname2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collsearchname2' ></div> <input b:behavior='collsearchname2' class='childinput' onfocus='this.select();' type='text' name='collsearchname2' id='collsearchname2' size='15' tabindex='21' maxlength='30' value='' /> <s:behavior b:name='collsearchname2'> <s:event b:on='change' > <s:variable b:name='mycollsearchname2' b:select="@value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mycollsearchname2' /> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </s:behavior> <b:button class='childinput' style='vertical-align:top' b:action='trigger' b:target='id("collcost2")'>Go <s:event b:on='command' > <s:setatt b:valid_collsearchname='true' b:infomsg='' /> <s:if b:test='string-length(normalize-space(id("collsearchname2")/@value)) eq 0'> <s:setatt b:valid_collsearchname='false' b:infomsg='This is a required field.' /> </s:if> <s:if b:test="@b:valid_collsearchname='false'"> <s:task b:action='js' b:value='EnableDisable("collsearchname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collsearchname)' /> <s:task b:action='show' b:target='id($target_err_collsearchname)' /> <s:task b:action='settext' b:target='id($target_err_collsearchname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> <s:render b:destination="id('results2')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:if> <s:if b:test="@b:valid_collsearchname='true'"> <s:task b:action='js' b:value='EnableDisable()' /> <s:task b:action='hide' b:target='id($target_stop_collsearchname)' /> <s:task b:action='hide' b:target='id($target_err_collsearchname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:render b:destination="id('results2')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname2')/@value, '&amp;remove=0&amp;childnum=2&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results2')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname2')/@value, '&amp;remove=0&amp;childnum=2&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results2')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname2')/@value, '&amp;remove=0&amp;childnum=2&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results2')" /> </s:when > </s:choose> <s:if b:test='$selectlimit eq 1'> <s:task b:action='alert' b:value='Please be more specific in your search string. Your search result has been limited to 200 colleges.' /> </s:if> </s:if> </s:event> </b:button> </div> </div> <div id='inoutrow2'> <div id='inoutlabel2' class='collegelabel'> </div> <div id='radioButton' class='collegedata'> <input b:behavior='in2' checked='true' type='radio' value='tuit_in' id='inoutstate2' name='inoutstate2' />In-state tuition <br/> <input b:behavior='out2' type='radio' value='tuit_out' id='inoutstate2' name='inoutstate2' />Out-of-state tuition <s:behavior b:name='in2'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='1' b:scope='global' /> <s:render b:destination="id('results2')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> <s:behavior b:name='out2'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='2' b:scope='global' /> <s:render b:destination="id('results2')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> </div> </div> </div> </div> <div class='collegelabel'>College cost $<BR /> (tuition, room &amp; board) </div> <div class='collegedata'><input readonly='readonly' type='text' name='collegecost2' id='collegecost2' size='5' maxlength='10' value='' /> </div> </div> <input type='hidden' onblur='document.applets[0].setCollegeName(this.value, 2 );java_recalc(2);' name='collegename2' id='collegename2' size='35' tabindex='22' maxlength='50' value='' /> <P /> <div class='resultsbar' id='resultstable2'> <div style='padding-top: 3px; padding-left: 3px;'>Results</div> </div> <div class="resultsarea" name="results2" id="results2"> </div> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:behavior='cancel-behavior2' b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:target='id("collcost2")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' b:event='close' style='padding-left: 245px;' b:action='trigger' b:behavior='continue-behavior2' b:target='id("collcost2")'>Continue</b:button> </div> </b:modalbody> </b:modal> <s:behavior b:name='collcostwindow2'> <s:event b:on='construct'> <s:task b:action='hide' b:target='id("inoutrow2")' /> <s:task b:action='hide' b:target='id("inoutlabel2")' /> <s:task b:action='hide' b:target='id("radiobutton2")' /> <s:task b:action='hide' b:target='id("resultstable2")' /> </s:event> </s:behavior> <s:behavior b:name='cancel-behavior2'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> <s:behavior b:name='continue-behavior2'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:variable b:name='mykeyvalue2' b:select="id('collegecost2')/@value" b:scope='global' /> <s:task b:action='set' b:target="id('cost2')/@value" b:value='{$mykeyvalue2}' /> <s:variable b:name='mykeyname2' b:select="normalize-space(id('collegename2')/@value)" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname2' /> <s:task b:action='set' b:target="id('collname2')/@value" b:value='{$mykeyname2}' /> <s:task b:action='js' b:value='java_recalc(2);' /> </s:event> </s:behavior> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College name or type </td> <td class='data' ><IMG id='stop_collname2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collname2' ></div> <input b:behavior='bv_collname' b:validation='text' onfocus='this.select();' class='childinput' type='text' name='collname2' id='collname2' size='20' tabindex='4' maxlength='30' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College cost $<BR />(tuition, room &amp; board) </td> <td class='data' ><IMG id='stop_cost2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_cost2' ></div> <input b:validation='number' b:behavior='bv_cost' onfocus='this.select();' class='childinput' type='text' name='cost2' id='cost2' size='10' tabindex='5' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Planned contributions $ </td> <td class='data' ><IMG id='stop_contrib2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_contrib2' ></div> <input b:behavior='bv_contrib' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='contrib2' name='contrib2' size='10' tabindex='6' value='100' /> </td> </tr> <tr> <td class='labelarea'></td> <td class='data' ><input class='childinput' checked='true' onclick='document.applets[0].setMonRadio(this.value, 2 );java_recalc(2);' type='radio' name='contribtype2' id='contribtype12' value='0' tabindex='7' />Monthly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'></td> <td class='data' ><input class='childinput' onclick='document.applets[0].setYrRadio(this.value, 2 );java_recalc(2);' type='radio' name='contribtype2' id='contribtype22' value='0' tabindex='8' />Yearly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Current savings balance $ </td> <td class='data' ><IMG id='stop_currentsavings2' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_currentsavings2' ></div> <input b:behavior='bv_currentsavings' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='currentsavings2' name='currentsavings2' size='10' tabindex='9' value='0' /> </td> </tr> </table> <script> </script> </b:accordeonbody> <b:accordeonhead id="ahead3" b:behavior="child3" class="b-accordeonhead-content">Child 3</b:accordeonhead> <b:accordeonbody> <div> <s:behavior b:name='bv_age'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:when b:test='(number(@value) > 24) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age");' /> <s:task b:action='show' b:target='id($target_stop_age)' /> <s:task b:action='show' b:target='id($target_err_age)' /> <s:task b:action='settext' b:target='id($target_err_age)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age)' /> <s:task b:action='hide' b:target='id($target_err_age)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='id("age_of_education1")/@value' b:value='{max((@value, id("age_of_education1")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='id("age_of_education2")/@value' b:value='{max((@value, id("age_of_education2")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='id("age_of_education3")/@value' b:value='{max((@value, id("age_of_education3")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='id("age_of_education4")/@value' b:value='{max((@value, id("age_of_education4")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='id("age_of_education5")/@value' b:value='{max((@value, id("age_of_education5")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_name'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value="{concat('Child ', $childnum)}"/> <s:task b:action='js' b:value='document.getElementsByTagName("chart")[0].caption = "Tony";' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value='{@value}'/> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("name");' /> <s:task b:action='show' b:target='id($target_stop_name)' /> <s:task b:action='show' b:target='id($target_err_name)' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='settext' b:target='id($target_err_name)' b:value='{@b:infomsg}' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_name)' /> <s:task b:action='hide' b:target='id($target_err_name)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_collname'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_collname='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:setatt b:valid_collname='true' b:infomsg='' /> </s:otherwise> </s:choose> <s:if b:test="@b:valid_collname='false'"> <s:task b:action='js' b:value='EnableDisable("collname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collname)' /> <s:task b:action='show' b:target='id($target_err_collname)' /> <s:task b:action='settext' b:target='id($target_err_collname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_collname='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_collname)' /> <s:task b:action='hide' b:target='id($target_err_collname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_contrib'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_contrib='false' b:infomsg='Contribution must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_contrib='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_contrib='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_contrib='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_contrib='false'"> <s:task b:action='js' b:value='EnableDisable("contrib");' /> <s:task b:action='show' b:target='id($target_stop_contrib)' /> <s:task b:action='show' b:target='id($target_err_contrib)' /> <s:task b:action='settext' b:target='id($target_err_contrib)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_contrib='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_contrib)' /> <s:task b:action='hide' b:target='id($target_err_contrib)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_cost'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_cost='false' b:infomsg='Cost must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_cost='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_cost='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_cost='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_cost='false'"> <s:task b:action='js' b:value='EnableDisable("cost");' /> <s:task b:action='show' b:target='id($target_stop_cost)' /> <s:task b:action='show' b:target='id($target_err_cost)' /> <s:task b:action='settext' b:target='id($target_err_cost)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_cost='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_cost)' /> <s:task b:action='hide' b:target='id($target_err_cost)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_currentsavings'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_currentsavings='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_currentsavings='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_currentsavings='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_currentsavings='false'"> <s:task b:action='js' b:value='EnableDisable("currentsavings");' /> <s:task b:action='show' b:target='id($target_stop_currentsavings)' /> <s:task b:action='show' b:target='id($target_err_currentsavings)' /> <s:task b:action='settext' b:target='id($target_err_currentsavings)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_currentsavings='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_currentsavings)' /> <s:task b:action='hide' b:target='id($target_err_currentsavings)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_age_of_education'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test='@b:validation="number" and not(number(@value) >= 0)'> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:when b:test='(number(@value) > 25)'> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age_of_education");' /> <s:task b:action='show' b:target='id($target_stop_age_of_education)' /> <s:task b:action='show' b:target='id($target_err_age_of_education)' /> <s:task b:action='settext' b:target='id($target_err_age_of_education)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)' /> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='@value' b:value='{max((id("age1")/@value, id("age_of_education1")/@value))}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='@value' b:value='{max((id("age2")/@value, id("age_of_education2")/@value))}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='@value' b:value='{max((id("age3")/@value, id("age_of_education3")/@value))}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='@value' b:value='{max((id("age4")/@value, id("age_of_education4")/@value))}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='@value' b:value='{max((id("age5")/@value, id("age_of_education5")/@value))}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_num_years'> <s:event b:on='change'> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Years must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 0) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:when b:test='(number(@value) > 12) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("num_years");' /> <s:task b:action='show' b:target='id($target_stop_num_years)' /> <s:task b:action='show' b:target='id($target_err_num_years)' /> <s:task b:action='settext' b:target='id($target_err_num_years)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_college_cost_inflation'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:when b:test='(number(@value) > 25) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("college_cost_inflation");' /> <s:task b:action='show' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='show' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='settext' b:target='id($target_err_college_cost_inflation)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_savepct'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Savings % must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:when b:test='(number(@value) > 100) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("savepct");' /> <s:task b:action='show' b:target='id($target_stop_savepct)' /> <s:task b:action='show' b:target='id($target_err_savepct)' /> <s:task b:action='settext' b:target='id($target_err_savepct)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_rate_of_return'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Rate of return must be a whole number' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:when b:test='(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("rate_of_return");' /> <s:task b:action='show' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='show' b:target='id($target_err_rate_of_return)' /> <s:task b:action='settext' b:target='id($target_err_rate_of_return)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_assumptions'> </s:behavior> </div> <table class='childtable'> <tr> <td></td> <td class='data' > <div> <b:modal b:autopos='false' b:dragconstraint='.' style='position: absolute; width: 400px; height: auto; left: 10px; top: 225px' id='editassumptions3'> <b:modalhead>Edit Assumptions</b:modalhead> <b:modalbody style='height: auto'> <table> <tr> <td class='editlabelarea'>College start age</td> <td id='td_age_of_education3' class='data'><IMG id='stop_age_of_education3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age_of_education3' ></div> <input b:behavior='bv_age_of_education' onfocus='this.select();' type='text' name='age_of_education3' id='age_of_education3' size='2' tabindex='10' maxlength='2' value='18' /> </td> </tr> <tr > <td class='editlabelarea'>Years attending college </td> <td id='td_num_years3' class='data'><IMG id='stop_num_years3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_num_years3' ></div> <input b:on='validate' b:behavior='bv_num_years' onfocus='this.select();' type='text' name='num_years3' id='num_years3' size='2' tabindex='11' maxlength='2' value='4' /> </td> </tr> <tr > <td class='editlabelarea'>Education cost inflation </td> <td id='td_college_cost_inflation3' class='data'><IMG id='stop_college_cost_inflation3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_college_cost_inflation3' ></div> <input b:on='validate' b:behavior='bv_college_cost_inflation' onfocus='this.select();' type='text' name='college_cost_inflation3' id='college_cost_inflation3' size='5' tabindex='12' maxlength='5' value='8.5' />% </td> </tr> <tr > <td class='editlabelarea'>% of cost funded by savings </td> <td id='td_savepct3' class='data'><IMG id='stop_savepct3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_savepct3' ></div> <input b:on='validate' b:behavior='bv_savepct' onfocus='this.select();' type='text' name='savepct3' id='savepct3' size='5' tabindex='13' maxlength='5' value='100' />% </td> </tr> <tr class='rowlabelarea'> <td class='editlabelarea'>Pre-tax rate of return </td> <td id='td_rate_of_return3' class='data'><IMG id='stop_rate_of_return3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_rate_of_return3' ></div> <input b:on='validate' b:behavior='bv_rate_of_return' onfocus='this.select();' type='text' name='rate_of_return3' id='rate_of_return3' size='2' tabindex='14' maxlength='2' value='7' />% </td> </tr> </table> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:behavior='cancel-assump3' b:target='id("editassumptions3")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' style='padding-left: 245px;' b:action='trigger' id='continue-button-assump3' name='continue-button-assump3' b:behavior='continue-assump3' b:target='id("editassumptions3")'>Continue</b:button> </div> <s:behavior b:name='continue-assump3'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:choose> <s:when b:test='$valid-ok eq 1'> <s:task b:action='js' b:value='java_recalc(3);' /> <s:task b:action='trigger' b:event='close' b:target='id("editassumptions3")'/> </s:when> <s:otherwise> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:behavior b:name='cancel-assump3'> <s:event b:on='click'> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)'/> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_age_of_education3")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_num_years3")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_college_cost_inflation3")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_savepct3")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_rate_of_return3")' /> <s:task b:action='js' b:value='reset_editassumptions();' /> <s:task b:action='js' b:value='java_recalc(3);' /> <s:task b:action='js' b:value='enable_continue();' /> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> </b:modalbody> </b:modal> </div> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's name </td> <td class='data' > <IMG id='stop_name3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_name3' ></div> <input b:validation='text' b:behavior='bv_name' class='childinput' onfocus='this.select();' type='text' name='name3' id='name3' size='15' tabindex='1' maxlength='30' value='Child 3' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's current age </td> <td class='data' ><IMG id='stop_age3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age3' ></div> <input b:behavior='bv_age' b:validation='number' class='childinput' onfocus='this.select();' type='text' name='age3' id='age3' size='5' tabindex='2' maxlength='5' value='0' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Estimate current annual college cost </td> <td class='data' > <div class='textblock'> <a b:behavior='cost_search' id='cost_search3' tabindex='3' b:action='trigger' b:event='open' b:target='id("collcost3")'>Select College Search</a> </div> <style>.b-modal-closebutton{display:none;}</style> <s:variable b:name='myinout' b:select='1' b:scope='global' /> <b:modal b:autopos='false' b:dragconstraint='.' b:behavior='collcostwindow3' id='collcost3' style='overflow: none; width: 450px; left: 5px; top: 170px; height: auto;'> <b:modalhead >College Search</b:modalhead> <b:modalbody style='height:auto' id='modalb1'> <div > <div > <div> <div> <div widget='true'> <div class='collegelabel'>Select search criteria <br/>(Choose one)</div> <div class='collegedata'> <input b:behavior='searchavg3' checked='true' type='radio' value='3' id='search3' name='search3' />Select from national averages <br/> <input b:behavior='searchstate3' type='radio' id='search3' value='1' name='search3' />Look up by state <br/> <input b:behavior='searchname3' type='radio' value='2' id='search3' name='search3' />Look up by college name <br/> </div> </div> </div> <s:behavior b:name='cost_search'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable("x");' /> </s:event> </s:behavior> <s:behavior b:name='searchstate3'> <s:event b:on='click'> <s:task b:action='js' b:value='showstaterow(3);' /> <s:task b:action='show' b:target='id("inoutrow3")' /> <s:task b:action='show' b:target='id("inoutlabel3")' /> <s:task b:action='show' b:target='id("radiobutton3")' /> <s:task b:action='show' b:target='id("resultstable3")' /> <s:task b:action='set' b:target="id('collegecost3')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='1' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results3')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchname3'> <s:event b:on='click'> <s:task b:action='js' b:value='shownamerow(3);' /> <s:task b:action='show' b:target='id("inoutrow3")' /> <s:task b:action='show' b:target='id("inoutlabel3")' /> <s:task b:action='show' b:target='id("radiobutton3")' /> <s:task b:action='show' b:target='id("resultstable3")' /> <s:task b:action='set' b:target="id('collegecost3')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='2' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results3')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchavg3'> <s:event b:on='click'> <s:task b:action='js' b:value='showavgrow(3);' /> <s:task b:action='hide' b:target='id("inoutrow3")' /> <s:task b:action='hide' b:target='id("inoutlabel3")' /> <s:task b:action='hide' b:target='id("radiobutton3")' /> <s:task b:action='hide' b:target='id("resultstable3")' /> <s:task b:action='set' b:target="id('collegecost3')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='3' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results3')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <div> <div style='display: ' id='avgrow3'> <div id='AvgLabel3' class='collegelabel'>National average</div> <div class='collegedata'> <b:select b:observe='id("avgcost3")' b:behavior='avgcost_behavior3' b:name="avgcost" id="Avgcost3"> <b:option b:value="10800">Public 2-year school</b:option> <b:option b:value="16400">Public 4-year school, in state</b:option> <b:option b:value="27900">Public 4-year school, out of state</b:option> <b:option b:value="36800">Private 4-year school, average</b:option> <b:option b:value="45000">Private 4-year school, expensive</b:option> <s:event b:on='observe-command'> <s:task b:action='hide' b:target='id("Avgcost3")' /> <s:task b:action='hide' b:target='id("AvgLabel3")' /> </s:event> </b:select> <s:behavior b:name='avgcost_behavior3'> <s:event b:on='change'> <s:variable b:name='mykeyvalue3' b:select="id('Avgcost3')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyvalue3' /> <s:task b:action='set' b:target="id('collegecost3')/@value" b:value='{$mykeyvalue3}' /> <s:variable b:name='mykeyname3' b:select="id('Avgcost3')/@b:text" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname3' /> <s:task b:action='set' b:target="id('collegename3')/@value" b:value='{$mykeyname3}' /> </s:event> </s:behavior> </div> </div> </div> <div style='display: none' id='staterow3'> <div id='StateLabel3' class='collegelabel'>Search by state</div> <div class='collegedata'> <b:select b:value='VA' editable='false' b:observe='id("searchstate3")' b:behavior='state_behavior3' b:name="statelist3" id="statelist3"> <b:option b:value="AK">AK</b:option> <b:option b:value="AL">AL</b:option> <b:option b:value="AR">AR</b:option> <b:option b:value="AZ">AZ</b:option> <b:option b:value="CA">CA</b:option> <b:option b:value="CO">CO</b:option> <b:option b:value="CT">CT</b:option> <b:option b:value="DC">DC</b:option> <b:option b:value="DE">DE</b:option> <b:option b:value="FL">FL</b:option> <b:option b:value="GA">GA</b:option> <b:option b:value="HI">HI</b:option> <b:option b:value="IA">IA</b:option> <b:option b:value="ID">ID</b:option> <b:option b:value="IL">IL</b:option> <b:option b:value="IN">IN</b:option> <b:option b:value="KS">KS</b:option> <b:option b:value="KY">KY</b:option> <b:option b:value="LA">LA</b:option> <b:option b:value="MA">MA</b:option> <b:option b:value="MD">MD</b:option> <b:option b:value="ME">ME</b:option> <b:option b:value="MI">MI</b:option> <b:option b:value="MN">MN</b:option> <b:option b:value="MO">MO</b:option> <b:option b:value="MS">MS</b:option> <b:option b:value="MT">MT</b:option> <b:option b:value="NC">NC</b:option> <b:option b:value="ND">ND</b:option> <b:option b:value="NE">NE</b:option> <b:option b:value="NH">NH</b:option> <b:option b:value="NJ">NJ</b:option> <b:option b:value="NM">NM</b:option> <b:option b:value="NV">NV</b:option> <b:option b:value="NY">NY</b:option> <b:option b:value="OH">OH</b:option> <b:option b:value="OK">OK</b:option> <b:option b:value="OR">OR</b:option> <b:option b:value="PA">PA</b:option> <b:option b:value="RI">RI</b:option> <b:option b:value="SC">SC</b:option> <b:option b:value="SD">SD</b:option> <b:option b:value="TN">TN</b:option> <b:option b:value="TX">TX</b:option> <b:option b:value="UT">UT</b:option> <b:option b:value="VA">VA</b:option> <b:option b:value="VT">VT</b:option> <b:option b:value="WA">WA</b:option> <b:option b:value="WI">WI</b:option> <b:option b:value="WV">WV</b:option> <b:option b:value="WY">WY</b:option> </b:select> <b:button style='vertical-align:top' b:action='trigger' b:target='id("collcost3")'>Go <s:event b:on='command' > <s:variable b:name='mystatevalue3' b:select="id('statelist3')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mystatevalue3' /> <s:render b:destination="id('results3')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue3, '&amp;remove=0&amp;childnum=3&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results3')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue3, '&amp;remove=0&amp;childnum=3&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results3')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue3, '&amp;remove=0&amp;childnum=3&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results3')" /> </s:when > </s:choose> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </b:button> </div> </div> <div style='display: none' id='namerow3'> <div id='NameLabel3' class='collegelabel'>Search by name</div> <div class='collegedata' > <IMG id='stop_collsearchname3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collsearchname3' ></div> <input b:behavior='collsearchname3' class='childinput' onfocus='this.select();' type='text' name='collsearchname3' id='collsearchname3' size='15' tabindex='21' maxlength='30' value='' /> <s:behavior b:name='collsearchname3'> <s:event b:on='change' > <s:variable b:name='mycollsearchname3' b:select="@value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mycollsearchname3' /> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </s:behavior> <b:button class='childinput' style='vertical-align:top' b:action='trigger' b:target='id("collcost3")'>Go <s:event b:on='command' > <s:setatt b:valid_collsearchname='true' b:infomsg='' /> <s:if b:test='string-length(normalize-space(id("collsearchname3")/@value)) eq 0'> <s:setatt b:valid_collsearchname='false' b:infomsg='This is a required field.' /> </s:if> <s:if b:test="@b:valid_collsearchname='false'"> <s:task b:action='js' b:value='EnableDisable("collsearchname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collsearchname)' /> <s:task b:action='show' b:target='id($target_err_collsearchname)' /> <s:task b:action='settext' b:target='id($target_err_collsearchname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> <s:render b:destination="id('results3')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:if> <s:if b:test="@b:valid_collsearchname='true'"> <s:task b:action='js' b:value='EnableDisable()' /> <s:task b:action='hide' b:target='id($target_stop_collsearchname)' /> <s:task b:action='hide' b:target='id($target_err_collsearchname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:render b:destination="id('results3')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname3')/@value, '&amp;remove=0&amp;childnum=3&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results3')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname3')/@value, '&amp;remove=0&amp;childnum=3&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results3')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname3')/@value, '&amp;remove=0&amp;childnum=3&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results3')" /> </s:when > </s:choose> <s:if b:test='$selectlimit eq 1'> <s:task b:action='alert' b:value='Please be more specific in your search string. Your search result has been limited to 200 colleges.' /> </s:if> </s:if> </s:event> </b:button> </div> </div> <div id='inoutrow3'> <div id='inoutlabel3' class='collegelabel'> </div> <div id='radioButton' class='collegedata'> <input b:behavior='in3' checked='true' type='radio' value='tuit_in' id='inoutstate3' name='inoutstate3' />In-state tuition <br/> <input b:behavior='out3' type='radio' value='tuit_out' id='inoutstate3' name='inoutstate3' />Out-of-state tuition <s:behavior b:name='in3'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='1' b:scope='global' /> <s:render b:destination="id('results3')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> <s:behavior b:name='out3'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='2' b:scope='global' /> <s:render b:destination="id('results3')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> </div> </div> </div> </div> <div class='collegelabel'>College cost $<BR /> (tuition, room &amp; board) </div> <div class='collegedata'><input readonly='readonly' type='text' name='collegecost3' id='collegecost3' size='5' maxlength='10' value='' /> </div> </div> <input type='hidden' onblur='document.applets[0].setCollegeName(this.value, 3 );java_recalc(3);' name='collegename3' id='collegename3' size='35' tabindex='22' maxlength='50' value='' /> <P /> <div class='resultsbar' id='resultstable3'> <div style='padding-top: 3px; padding-left: 3px;'>Results</div> </div> <div class="resultsarea" name="results3" id="results3"> </div> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:behavior='cancel-behavior3' b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:target='id("collcost3")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' b:event='close' style='padding-left: 245px;' b:action='trigger' b:behavior='continue-behavior3' b:target='id("collcost3")'>Continue</b:button> </div> </b:modalbody> </b:modal> <s:behavior b:name='collcostwindow3'> <s:event b:on='construct'> <s:task b:action='hide' b:target='id("inoutrow3")' /> <s:task b:action='hide' b:target='id("inoutlabel3")' /> <s:task b:action='hide' b:target='id("radiobutton3")' /> <s:task b:action='hide' b:target='id("resultstable3")' /> </s:event> </s:behavior> <s:behavior b:name='cancel-behavior3'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> <s:behavior b:name='continue-behavior3'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:variable b:name='mykeyvalue3' b:select="id('collegecost3')/@value" b:scope='global' /> <s:task b:action='set' b:target="id('cost3')/@value" b:value='{$mykeyvalue3}' /> <s:variable b:name='mykeyname3' b:select="normalize-space(id('collegename3')/@value)" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname3' /> <s:task b:action='set' b:target="id('collname3')/@value" b:value='{$mykeyname3}' /> <s:task b:action='js' b:value='java_recalc(3);' /> </s:event> </s:behavior> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College name or type </td> <td class='data' ><IMG id='stop_collname3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collname3' ></div> <input b:behavior='bv_collname' b:validation='text' onfocus='this.select();' class='childinput' type='text' name='collname3' id='collname3' size='20' tabindex='4' maxlength='30' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College cost $<BR />(tuition, room &amp; board) </td> <td class='data' ><IMG id='stop_cost3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_cost3' ></div> <input b:validation='number' b:behavior='bv_cost' onfocus='this.select();' class='childinput' type='text' name='cost3' id='cost3' size='10' tabindex='5' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Planned contributions $ </td> <td class='data' ><IMG id='stop_contrib3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_contrib3' ></div> <input b:behavior='bv_contrib' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='contrib3' name='contrib3' size='10' tabindex='6' value='100' /> </td> </tr> <tr> <td class='labelarea'></td> <td class='data' ><input class='childinput' checked='true' onclick='document.applets[0].setMonRadio(this.value, 3 );java_recalc(3);' type='radio' name='contribtype3' id='contribtype13' value='0' tabindex='7' />Monthly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'></td> <td class='data' ><input class='childinput' onclick='document.applets[0].setYrRadio(this.value, 3 );java_recalc(3);' type='radio' name='contribtype3' id='contribtype23' value='0' tabindex='8' />Yearly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Current savings balance $ </td> <td class='data' ><IMG id='stop_currentsavings3' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_currentsavings3' ></div> <input b:behavior='bv_currentsavings' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='currentsavings3' name='currentsavings3' size='10' tabindex='9' value='0' /> </td> </tr> </table> <script> </script> </b:accordeonbody> <b:accordeonhead id="ahead4" b:behavior="child4" class="b-accordeonhead-content">Child 4</b:accordeonhead> <b:accordeonbody> <div> <s:behavior b:name='bv_age'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:when b:test='(number(@value) > 24) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age");' /> <s:task b:action='show' b:target='id($target_stop_age)' /> <s:task b:action='show' b:target='id($target_err_age)' /> <s:task b:action='settext' b:target='id($target_err_age)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age)' /> <s:task b:action='hide' b:target='id($target_err_age)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='id("age_of_education1")/@value' b:value='{max((@value, id("age_of_education1")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='id("age_of_education2")/@value' b:value='{max((@value, id("age_of_education2")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='id("age_of_education3")/@value' b:value='{max((@value, id("age_of_education3")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='id("age_of_education4")/@value' b:value='{max((@value, id("age_of_education4")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='id("age_of_education5")/@value' b:value='{max((@value, id("age_of_education5")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_name'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value="{concat('Child ', $childnum)}"/> <s:task b:action='js' b:value='document.getElementsByTagName("chart")[0].caption = "Tony";' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value='{@value}'/> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("name");' /> <s:task b:action='show' b:target='id($target_stop_name)' /> <s:task b:action='show' b:target='id($target_err_name)' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='settext' b:target='id($target_err_name)' b:value='{@b:infomsg}' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_name)' /> <s:task b:action='hide' b:target='id($target_err_name)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_collname'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_collname='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:setatt b:valid_collname='true' b:infomsg='' /> </s:otherwise> </s:choose> <s:if b:test="@b:valid_collname='false'"> <s:task b:action='js' b:value='EnableDisable("collname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collname)' /> <s:task b:action='show' b:target='id($target_err_collname)' /> <s:task b:action='settext' b:target='id($target_err_collname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_collname='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_collname)' /> <s:task b:action='hide' b:target='id($target_err_collname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_contrib'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_contrib='false' b:infomsg='Contribution must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_contrib='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_contrib='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_contrib='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_contrib='false'"> <s:task b:action='js' b:value='EnableDisable("contrib");' /> <s:task b:action='show' b:target='id($target_stop_contrib)' /> <s:task b:action='show' b:target='id($target_err_contrib)' /> <s:task b:action='settext' b:target='id($target_err_contrib)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_contrib='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_contrib)' /> <s:task b:action='hide' b:target='id($target_err_contrib)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_cost'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_cost='false' b:infomsg='Cost must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_cost='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_cost='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_cost='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_cost='false'"> <s:task b:action='js' b:value='EnableDisable("cost");' /> <s:task b:action='show' b:target='id($target_stop_cost)' /> <s:task b:action='show' b:target='id($target_err_cost)' /> <s:task b:action='settext' b:target='id($target_err_cost)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_cost='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_cost)' /> <s:task b:action='hide' b:target='id($target_err_cost)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_currentsavings'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_currentsavings='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_currentsavings='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_currentsavings='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_currentsavings='false'"> <s:task b:action='js' b:value='EnableDisable("currentsavings");' /> <s:task b:action='show' b:target='id($target_stop_currentsavings)' /> <s:task b:action='show' b:target='id($target_err_currentsavings)' /> <s:task b:action='settext' b:target='id($target_err_currentsavings)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_currentsavings='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_currentsavings)' /> <s:task b:action='hide' b:target='id($target_err_currentsavings)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_age_of_education'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test='@b:validation="number" and not(number(@value) >= 0)'> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:when b:test='(number(@value) > 25)'> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age_of_education");' /> <s:task b:action='show' b:target='id($target_stop_age_of_education)' /> <s:task b:action='show' b:target='id($target_err_age_of_education)' /> <s:task b:action='settext' b:target='id($target_err_age_of_education)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)' /> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='@value' b:value='{max((id("age1")/@value, id("age_of_education1")/@value))}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='@value' b:value='{max((id("age2")/@value, id("age_of_education2")/@value))}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='@value' b:value='{max((id("age3")/@value, id("age_of_education3")/@value))}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='@value' b:value='{max((id("age4")/@value, id("age_of_education4")/@value))}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='@value' b:value='{max((id("age5")/@value, id("age_of_education5")/@value))}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_num_years'> <s:event b:on='change'> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Years must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 0) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:when b:test='(number(@value) > 12) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("num_years");' /> <s:task b:action='show' b:target='id($target_stop_num_years)' /> <s:task b:action='show' b:target='id($target_err_num_years)' /> <s:task b:action='settext' b:target='id($target_err_num_years)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_college_cost_inflation'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:when b:test='(number(@value) > 25) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("college_cost_inflation");' /> <s:task b:action='show' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='show' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='settext' b:target='id($target_err_college_cost_inflation)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_savepct'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Savings % must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:when b:test='(number(@value) > 100) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("savepct");' /> <s:task b:action='show' b:target='id($target_stop_savepct)' /> <s:task b:action='show' b:target='id($target_err_savepct)' /> <s:task b:action='settext' b:target='id($target_err_savepct)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_rate_of_return'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Rate of return must be a whole number' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:when b:test='(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("rate_of_return");' /> <s:task b:action='show' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='show' b:target='id($target_err_rate_of_return)' /> <s:task b:action='settext' b:target='id($target_err_rate_of_return)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_assumptions'> </s:behavior> </div> <table class='childtable'> <tr> <td></td> <td class='data' > <div> <b:modal b:autopos='false' b:dragconstraint='.' style='position: absolute; width: 400px; height: auto; left: 10px; top: 225px' id='editassumptions4'> <b:modalhead>Edit Assumptions</b:modalhead> <b:modalbody style='height: auto'> <table> <tr> <td class='editlabelarea'>College start age</td> <td id='td_age_of_education4' class='data'><IMG id='stop_age_of_education4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age_of_education4' ></div> <input b:behavior='bv_age_of_education' onfocus='this.select();' type='text' name='age_of_education4' id='age_of_education4' size='2' tabindex='10' maxlength='2' value='18' /> </td> </tr> <tr > <td class='editlabelarea'>Years attending college </td> <td id='td_num_years4' class='data'><IMG id='stop_num_years4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_num_years4' ></div> <input b:on='validate' b:behavior='bv_num_years' onfocus='this.select();' type='text' name='num_years4' id='num_years4' size='2' tabindex='11' maxlength='2' value='4' /> </td> </tr> <tr > <td class='editlabelarea'>Education cost inflation </td> <td id='td_college_cost_inflation4' class='data'><IMG id='stop_college_cost_inflation4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_college_cost_inflation4' ></div> <input b:on='validate' b:behavior='bv_college_cost_inflation' onfocus='this.select();' type='text' name='college_cost_inflation4' id='college_cost_inflation4' size='5' tabindex='12' maxlength='5' value='8.5' />% </td> </tr> <tr > <td class='editlabelarea'>% of cost funded by savings </td> <td id='td_savepct4' class='data'><IMG id='stop_savepct4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_savepct4' ></div> <input b:on='validate' b:behavior='bv_savepct' onfocus='this.select();' type='text' name='savepct4' id='savepct4' size='5' tabindex='13' maxlength='5' value='100' />% </td> </tr> <tr class='rowlabelarea'> <td class='editlabelarea'>Pre-tax rate of return </td> <td id='td_rate_of_return4' class='data'><IMG id='stop_rate_of_return4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_rate_of_return4' ></div> <input b:on='validate' b:behavior='bv_rate_of_return' onfocus='this.select();' type='text' name='rate_of_return4' id='rate_of_return4' size='2' tabindex='14' maxlength='2' value='7' />% </td> </tr> </table> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:behavior='cancel-assump4' b:target='id("editassumptions4")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' style='padding-left: 245px;' b:action='trigger' id='continue-button-assump4' name='continue-button-assump4' b:behavior='continue-assump4' b:target='id("editassumptions4")'>Continue</b:button> </div> <s:behavior b:name='continue-assump4'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:choose> <s:when b:test='$valid-ok eq 1'> <s:task b:action='js' b:value='java_recalc(4);' /> <s:task b:action='trigger' b:event='close' b:target='id("editassumptions4")'/> </s:when> <s:otherwise> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:behavior b:name='cancel-assump4'> <s:event b:on='click'> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)'/> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_age_of_education4")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_num_years4")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_college_cost_inflation4")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_savepct4")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_rate_of_return4")' /> <s:task b:action='js' b:value='reset_editassumptions();' /> <s:task b:action='js' b:value='java_recalc(4);' /> <s:task b:action='js' b:value='enable_continue();' /> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> </b:modalbody> </b:modal> </div> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's name </td> <td class='data' > <IMG id='stop_name4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_name4' ></div> <input b:validation='text' b:behavior='bv_name' class='childinput' onfocus='this.select();' type='text' name='name4' id='name4' size='15' tabindex='1' maxlength='30' value='Child 4' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's current age </td> <td class='data' ><IMG id='stop_age4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age4' ></div> <input b:behavior='bv_age' b:validation='number' class='childinput' onfocus='this.select();' type='text' name='age4' id='age4' size='5' tabindex='2' maxlength='5' value='0' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Estimate current annual college cost </td> <td class='data' > <div class='textblock'> <a b:behavior='cost_search' id='cost_search4' tabindex='3' b:action='trigger' b:event='open' b:target='id("collcost4")'>Select College Search</a> </div> <style>.b-modal-closebutton{display:none;}</style> <s:variable b:name='myinout' b:select='1' b:scope='global' /> <b:modal b:autopos='false' b:dragconstraint='.' b:behavior='collcostwindow4' id='collcost4' style='overflow: none; width: 450px; left: 5px; top: 170px; height: auto;'> <b:modalhead >College Search</b:modalhead> <b:modalbody style='height:auto' id='modalb1'> <div > <div > <div> <div> <div widget='true'> <div class='collegelabel'>Select search criteria <br/>(Choose one)</div> <div class='collegedata'> <input b:behavior='searchavg4' checked='true' type='radio' value='3' id='search4' name='search4' />Select from national averages <br/> <input b:behavior='searchstate4' type='radio' id='search4' value='1' name='search4' />Look up by state <br/> <input b:behavior='searchname4' type='radio' value='2' id='search4' name='search4' />Look up by college name <br/> </div> </div> </div> <s:behavior b:name='cost_search'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable("x");' /> </s:event> </s:behavior> <s:behavior b:name='searchstate4'> <s:event b:on='click'> <s:task b:action='js' b:value='showstaterow(4);' /> <s:task b:action='show' b:target='id("inoutrow4")' /> <s:task b:action='show' b:target='id("inoutlabel4")' /> <s:task b:action='show' b:target='id("radiobutton4")' /> <s:task b:action='show' b:target='id("resultstable4")' /> <s:task b:action='set' b:target="id('collegecost4')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='1' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results4')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchname4'> <s:event b:on='click'> <s:task b:action='js' b:value='shownamerow(4);' /> <s:task b:action='show' b:target='id("inoutrow4")' /> <s:task b:action='show' b:target='id("inoutlabel4")' /> <s:task b:action='show' b:target='id("radiobutton4")' /> <s:task b:action='show' b:target='id("resultstable4")' /> <s:task b:action='set' b:target="id('collegecost4')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='2' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results4')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchavg4'> <s:event b:on='click'> <s:task b:action='js' b:value='showavgrow(4);' /> <s:task b:action='hide' b:target='id("inoutrow4")' /> <s:task b:action='hide' b:target='id("inoutlabel4")' /> <s:task b:action='hide' b:target='id("radiobutton4")' /> <s:task b:action='hide' b:target='id("resultstable4")' /> <s:task b:action='set' b:target="id('collegecost4')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='3' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results4')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <div> <div style='display: ' id='avgrow4'> <div id='AvgLabel4' class='collegelabel'>National average</div> <div class='collegedata'> <b:select b:observe='id("avgcost4")' b:behavior='avgcost_behavior4' b:name="avgcost" id="Avgcost4"> <b:option b:value="10800">Public 2-year school</b:option> <b:option b:value="16400">Public 4-year school, in state</b:option> <b:option b:value="27900">Public 4-year school, out of state</b:option> <b:option b:value="36800">Private 4-year school, average</b:option> <b:option b:value="45000">Private 4-year school, expensive</b:option> <s:event b:on='observe-command'> <s:task b:action='hide' b:target='id("Avgcost4")' /> <s:task b:action='hide' b:target='id("AvgLabel4")' /> </s:event> </b:select> <s:behavior b:name='avgcost_behavior4'> <s:event b:on='change'> <s:variable b:name='mykeyvalue4' b:select="id('Avgcost4')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyvalue4' /> <s:task b:action='set' b:target="id('collegecost4')/@value" b:value='{$mykeyvalue4}' /> <s:variable b:name='mykeyname4' b:select="id('Avgcost4')/@b:text" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname4' /> <s:task b:action='set' b:target="id('collegename4')/@value" b:value='{$mykeyname4}' /> </s:event> </s:behavior> </div> </div> </div> <div style='display: none' id='staterow4'> <div id='StateLabel4' class='collegelabel'>Search by state</div> <div class='collegedata'> <b:select b:value='VA' editable='false' b:observe='id("searchstate4")' b:behavior='state_behavior4' b:name="statelist4" id="statelist4"> <b:option b:value="AK">AK</b:option> <b:option b:value="AL">AL</b:option> <b:option b:value="AR">AR</b:option> <b:option b:value="AZ">AZ</b:option> <b:option b:value="CA">CA</b:option> <b:option b:value="CO">CO</b:option> <b:option b:value="CT">CT</b:option> <b:option b:value="DC">DC</b:option> <b:option b:value="DE">DE</b:option> <b:option b:value="FL">FL</b:option> <b:option b:value="GA">GA</b:option> <b:option b:value="HI">HI</b:option> <b:option b:value="IA">IA</b:option> <b:option b:value="ID">ID</b:option> <b:option b:value="IL">IL</b:option> <b:option b:value="IN">IN</b:option> <b:option b:value="KS">KS</b:option> <b:option b:value="KY">KY</b:option> <b:option b:value="LA">LA</b:option> <b:option b:value="MA">MA</b:option> <b:option b:value="MD">MD</b:option> <b:option b:value="ME">ME</b:option> <b:option b:value="MI">MI</b:option> <b:option b:value="MN">MN</b:option> <b:option b:value="MO">MO</b:option> <b:option b:value="MS">MS</b:option> <b:option b:value="MT">MT</b:option> <b:option b:value="NC">NC</b:option> <b:option b:value="ND">ND</b:option> <b:option b:value="NE">NE</b:option> <b:option b:value="NH">NH</b:option> <b:option b:value="NJ">NJ</b:option> <b:option b:value="NM">NM</b:option> <b:option b:value="NV">NV</b:option> <b:option b:value="NY">NY</b:option> <b:option b:value="OH">OH</b:option> <b:option b:value="OK">OK</b:option> <b:option b:value="OR">OR</b:option> <b:option b:value="PA">PA</b:option> <b:option b:value="RI">RI</b:option> <b:option b:value="SC">SC</b:option> <b:option b:value="SD">SD</b:option> <b:option b:value="TN">TN</b:option> <b:option b:value="TX">TX</b:option> <b:option b:value="UT">UT</b:option> <b:option b:value="VA">VA</b:option> <b:option b:value="VT">VT</b:option> <b:option b:value="WA">WA</b:option> <b:option b:value="WI">WI</b:option> <b:option b:value="WV">WV</b:option> <b:option b:value="WY">WY</b:option> </b:select> <b:button style='vertical-align:top' b:action='trigger' b:target='id("collcost4")'>Go <s:event b:on='command' > <s:variable b:name='mystatevalue4' b:select="id('statelist4')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mystatevalue4' /> <s:render b:destination="id('results4')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue4, '&amp;remove=0&amp;childnum=4&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results4')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue4, '&amp;remove=0&amp;childnum=4&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results4')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue4, '&amp;remove=0&amp;childnum=4&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results4')" /> </s:when > </s:choose> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </b:button> </div> </div> <div style='display: none' id='namerow4'> <div id='NameLabel4' class='collegelabel'>Search by name</div> <div class='collegedata' > <IMG id='stop_collsearchname4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collsearchname4' ></div> <input b:behavior='collsearchname4' class='childinput' onfocus='this.select();' type='text' name='collsearchname4' id='collsearchname4' size='15' tabindex='21' maxlength='30' value='' /> <s:behavior b:name='collsearchname4'> <s:event b:on='change' > <s:variable b:name='mycollsearchname4' b:select="@value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mycollsearchname4' /> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </s:behavior> <b:button class='childinput' style='vertical-align:top' b:action='trigger' b:target='id("collcost4")'>Go <s:event b:on='command' > <s:setatt b:valid_collsearchname='true' b:infomsg='' /> <s:if b:test='string-length(normalize-space(id("collsearchname4")/@value)) eq 0'> <s:setatt b:valid_collsearchname='false' b:infomsg='This is a required field.' /> </s:if> <s:if b:test="@b:valid_collsearchname='false'"> <s:task b:action='js' b:value='EnableDisable("collsearchname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collsearchname)' /> <s:task b:action='show' b:target='id($target_err_collsearchname)' /> <s:task b:action='settext' b:target='id($target_err_collsearchname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> <s:render b:destination="id('results4')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:if> <s:if b:test="@b:valid_collsearchname='true'"> <s:task b:action='js' b:value='EnableDisable()' /> <s:task b:action='hide' b:target='id($target_stop_collsearchname)' /> <s:task b:action='hide' b:target='id($target_err_collsearchname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:render b:destination="id('results4')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname4')/@value, '&amp;remove=0&amp;childnum=4&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results4')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname4')/@value, '&amp;remove=0&amp;childnum=4&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results4')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname4')/@value, '&amp;remove=0&amp;childnum=4&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results4')" /> </s:when > </s:choose> <s:if b:test='$selectlimit eq 1'> <s:task b:action='alert' b:value='Please be more specific in your search string. Your search result has been limited to 200 colleges.' /> </s:if> </s:if> </s:event> </b:button> </div> </div> <div id='inoutrow4'> <div id='inoutlabel4' class='collegelabel'> </div> <div id='radioButton' class='collegedata'> <input b:behavior='in4' checked='true' type='radio' value='tuit_in' id='inoutstate4' name='inoutstate4' />In-state tuition <br/> <input b:behavior='out4' type='radio' value='tuit_out' id='inoutstate4' name='inoutstate4' />Out-of-state tuition <s:behavior b:name='in4'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='1' b:scope='global' /> <s:render b:destination="id('results4')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> <s:behavior b:name='out4'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='2' b:scope='global' /> <s:render b:destination="id('results4')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> </div> </div> </div> </div> <div class='collegelabel'>College cost $<BR /> (tuition, room &amp; board) </div> <div class='collegedata'><input readonly='readonly' type='text' name='collegecost4' id='collegecost4' size='5' maxlength='10' value='' /> </div> </div> <input type='hidden' onblur='document.applets[0].setCollegeName(this.value, 4 );java_recalc(4);' name='collegename4' id='collegename4' size='35' tabindex='22' maxlength='50' value='' /> <P /> <div class='resultsbar' id='resultstable4'> <div style='padding-top: 3px; padding-left: 3px;'>Results</div> </div> <div class="resultsarea" name="results4" id="results4"> </div> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:behavior='cancel-behavior4' b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:target='id("collcost4")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' b:event='close' style='padding-left: 245px;' b:action='trigger' b:behavior='continue-behavior4' b:target='id("collcost4")'>Continue</b:button> </div> </b:modalbody> </b:modal> <s:behavior b:name='collcostwindow4'> <s:event b:on='construct'> <s:task b:action='hide' b:target='id("inoutrow4")' /> <s:task b:action='hide' b:target='id("inoutlabel4")' /> <s:task b:action='hide' b:target='id("radiobutton4")' /> <s:task b:action='hide' b:target='id("resultstable4")' /> </s:event> </s:behavior> <s:behavior b:name='cancel-behavior4'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> <s:behavior b:name='continue-behavior4'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:variable b:name='mykeyvalue4' b:select="id('collegecost4')/@value" b:scope='global' /> <s:task b:action='set' b:target="id('cost4')/@value" b:value='{$mykeyvalue4}' /> <s:variable b:name='mykeyname4' b:select="normalize-space(id('collegename4')/@value)" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname4' /> <s:task b:action='set' b:target="id('collname4')/@value" b:value='{$mykeyname4}' /> <s:task b:action='js' b:value='java_recalc(4);' /> </s:event> </s:behavior> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College name or type </td> <td class='data' ><IMG id='stop_collname4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collname4' ></div> <input b:behavior='bv_collname' b:validation='text' onfocus='this.select();' class='childinput' type='text' name='collname4' id='collname4' size='20' tabindex='4' maxlength='30' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College cost $<BR />(tuition, room &amp; board) </td> <td class='data' ><IMG id='stop_cost4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_cost4' ></div> <input b:validation='number' b:behavior='bv_cost' onfocus='this.select();' class='childinput' type='text' name='cost4' id='cost4' size='10' tabindex='5' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Planned contributions $ </td> <td class='data' ><IMG id='stop_contrib4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_contrib4' ></div> <input b:behavior='bv_contrib' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='contrib4' name='contrib4' size='10' tabindex='6' value='100' /> </td> </tr> <tr> <td class='labelarea'></td> <td class='data' ><input class='childinput' checked='true' onclick='document.applets[0].setMonRadio(this.value, 4 );java_recalc(4);' type='radio' name='contribtype4' id='contribtype14' value='0' tabindex='7' />Monthly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'></td> <td class='data' ><input class='childinput' onclick='document.applets[0].setYrRadio(this.value, 4 );java_recalc(4);' type='radio' name='contribtype4' id='contribtype24' value='0' tabindex='8' />Yearly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Current savings balance $ </td> <td class='data' ><IMG id='stop_currentsavings4' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_currentsavings4' ></div> <input b:behavior='bv_currentsavings' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='currentsavings4' name='currentsavings4' size='10' tabindex='9' value='0' /> </td> </tr> </table> <script> </script> </b:accordeonbody> <b:accordeonhead id="ahead5" b:behavior="child5" class="b-accordeonhead-content">Child 5</b:accordeonhead> <b:accordeonbody> <div> <s:behavior b:name='bv_age'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:when b:test='(number(@value) > 24) '> <s:setatt b:valid='false' b:infomsg='Age must be between 0-24' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age");' /> <s:task b:action='show' b:target='id($target_stop_age)' /> <s:task b:action='show' b:target='id($target_err_age)' /> <s:task b:action='settext' b:target='id($target_err_age)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age)' /> <s:task b:action='hide' b:target='id($target_err_age)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='id("age_of_education1")/@value' b:value='{max((@value, id("age_of_education1")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='id("age_of_education2")/@value' b:value='{max((@value, id("age_of_education2")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='id("age_of_education3")/@value' b:value='{max((@value, id("age_of_education3")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='id("age_of_education4")/@value' b:value='{max((@value, id("age_of_education4")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='id("age_of_education5")/@value' b:value='{max((@value, id("age_of_education5")/@value))}' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_name'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value="{concat('Child ', $childnum)}"/> <s:task b:action='js' b:value='document.getElementsByTagName("chart")[0].caption = "Tony";' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> <s:task b:action='settext' b:target="id(concat('ahead', $childnum))" b:value='{@value}'/> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("name");' /> <s:task b:action='show' b:target='id($target_stop_name)' /> <s:task b:action='show' b:target='id($target_err_name)' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='settext' b:target='id($target_err_name)' b:value='{@b:infomsg}' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_name)' /> <s:task b:action='hide' b:target='id($target_err_name)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_collname'> <s:event b:on='change'> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_collname='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:setatt b:valid_collname='true' b:infomsg='' /> </s:otherwise> </s:choose> <s:if b:test="@b:valid_collname='false'"> <s:task b:action='js' b:value='EnableDisable("collname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collname)' /> <s:task b:action='show' b:target='id($target_err_collname)' /> <s:task b:action='settext' b:target='id($target_err_collname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_collname='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_collname)' /> <s:task b:action='hide' b:target='id($target_err_collname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_contrib'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_contrib='false' b:infomsg='Contribution must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_contrib='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_contrib='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_contrib='false' b:infomsg='Contributions must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_contrib='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_contrib='false'"> <s:task b:action='js' b:value='EnableDisable("contrib");' /> <s:task b:action='show' b:target='id($target_stop_contrib)' /> <s:task b:action='show' b:target='id($target_err_contrib)' /> <s:task b:action='settext' b:target='id($target_err_contrib)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_contrib='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_contrib)' /> <s:task b:action='hide' b:target='id($target_err_contrib)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_cost'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_cost='false' b:infomsg='Cost must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_cost='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_cost='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_cost='false' b:infomsg='Cost must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_cost='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_cost='false'"> <s:task b:action='js' b:value='EnableDisable("cost");' /> <s:task b:action='show' b:target='id($target_stop_cost)' /> <s:task b:action='show' b:target='id($target_err_cost)' /> <s:task b:action='settext' b:target='id($target_err_cost)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_cost='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_cost)' /> <s:task b:action='hide' b:target='id($target_err_cost)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_currentsavings'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be a whole number' /> </s:when> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid_currentsavings='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid_currentsavings='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:when b:test='(number(@value) > 999999) '> <s:setatt b:valid_currentsavings='false' b:infomsg='Savings must be between $0-$999,999' /> </s:when> <s:otherwise> <s:setatt b:valid_currentsavings='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid_currentsavings='false'"> <s:task b:action='js' b:value='EnableDisable("currentsavings");' /> <s:task b:action='show' b:target='id($target_stop_currentsavings)' /> <s:task b:action='show' b:target='id($target_err_currentsavings)' /> <s:task b:action='settext' b:target='id($target_err_currentsavings)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid_currentsavings='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_currentsavings)' /> <s:task b:action='hide' b:target='id($target_err_currentsavings)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_age_of_education'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Age must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test='@b:validation="number" and not(number(@value) >= 0)'> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:when b:test='(number(@value) > 25)'> <s:setatt b:valid='false' b:infomsg='Age must be between 16-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("age_of_education");' /> <s:task b:action='show' b:target='id($target_stop_age_of_education)' /> <s:task b:action='show' b:target='id($target_err_age_of_education)' /> <s:task b:action='settext' b:target='id($target_err_age_of_education)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)' /> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:choose> <s:when b:test='$childnum = 1'> <s:task b:action='set' b:target='@value' b:value='{max((id("age1")/@value, id("age_of_education1")/@value))}' /> </s:when> <s:when b:test='$childnum = 2'> <s:task b:action='set' b:target='@value' b:value='{max((id("age2")/@value, id("age_of_education2")/@value))}' /> </s:when> <s:when b:test='$childnum = 3'> <s:task b:action='set' b:target='@value' b:value='{max((id("age3")/@value, id("age_of_education3")/@value))}' /> </s:when> <s:when b:test='$childnum = 4'> <s:task b:action='set' b:target='@value' b:value='{max((id("age4")/@value, id("age_of_education4")/@value))}' /> </s:when> <s:when b:test='$childnum = 5'> <s:task b:action='set' b:target='@value' b:value='{max((id("age5")/@value, id("age_of_education5")/@value))}' /> </s:when> </s:choose> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_num_years'> <s:event b:on='change'> <s:choose> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Years must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > 0) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:when b:test='(number(@value) > 12) '> <s:setatt b:valid='false' b:infomsg='Years must be between 1-12' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("num_years");' /> <s:task b:action='show' b:target='id($target_stop_num_years)' /> <s:task b:action='show' b:target='id($target_err_num_years)' /> <s:task b:action='settext' b:target='id($target_err_num_years)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_college_cost_inflation'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:when b:test='(number(@value) > 25) '> <s:setatt b:valid='false' b:infomsg='Inflation must be between 0-25' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("college_cost_inflation");' /> <s:task b:action='show' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='show' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='settext' b:target='id($target_err_college_cost_inflation)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_savepct'> <s:event b:on='change'> <s:choose> <s:when b:test="matches(@value, '\.')"> <s:setatt b:valid='false' b:infomsg='Savings % must be a whole number' /> </s:when> </s:choose> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:when b:test='(number(@value) > 100) '> <s:setatt b:valid='false' b:infomsg='Savings % must be between 0-100' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("savepct");' /> <s:task b:action='show' b:target='id($target_stop_savepct)' /> <s:task b:action='show' b:target='id($target_err_savepct)' /> <s:task b:action='settext' b:target='id($target_err_savepct)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_rate_of_return'> <s:event b:on='change'> <s:choose> <s:when b:test="@b:validation='number' and not(number(@value) >= 0)"> <s:setatt b:valid='false' b:infomsg='This must be a number' /> </s:when> </s:choose> <s:choose> <s:when b:test='string-length(normalize-space(@value)) eq 0'> <s:setatt b:valid='false' b:infomsg='This is a required field.' /> </s:when> <s:when b:test='matches(@value, "\.")'> <s:setatt b:valid='false' b:infomsg='Rate of return must be a whole number' /> </s:when> <s:otherwise> <s:choose> <s:when b:test='not(number(@value) > -1) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:when b:test='(number(@value) > 15) '> <s:setatt b:valid='false' b:infomsg='Rate must be between 0-15' /> </s:when> <s:otherwise> <s:setatt b:valid='true' b:infomsg='' /> </s:otherwise> </s:choose> </s:otherwise> </s:choose> <s:if b:test="@b:valid='false'"> <s:task b:action='js' b:value='EnableDisable("rate_of_return");' /> <s:task b:action='show' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='show' b:target='id($target_err_rate_of_return)' /> <s:task b:action='settext' b:target='id($target_err_rate_of_return)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='focus' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> </s:if> <s:if b:test="@b:valid='true'"> <s:task b:action='js' b:value='EnableDisable();' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> </s:if> </s:event> </s:behavior> <s:behavior b:name='bv_assumptions'> </s:behavior> </div> <table class='childtable'> <tr> <td></td> <td class='data' > <div> <b:modal b:autopos='false' b:dragconstraint='.' style='position: absolute; width: 400px; height: auto; left: 10px; top: 225px' id='editassumptions5'> <b:modalhead>Edit Assumptions</b:modalhead> <b:modalbody style='height: auto'> <table> <tr> <td class='editlabelarea'>College start age</td> <td id='td_age_of_education5' class='data'><IMG id='stop_age_of_education5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age_of_education5' ></div> <input b:behavior='bv_age_of_education' onfocus='this.select();' type='text' name='age_of_education5' id='age_of_education5' size='2' tabindex='10' maxlength='2' value='18' /> </td> </tr> <tr > <td class='editlabelarea'>Years attending college </td> <td id='td_num_years5' class='data'><IMG id='stop_num_years5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_num_years5' ></div> <input b:on='validate' b:behavior='bv_num_years' onfocus='this.select();' type='text' name='num_years5' id='num_years5' size='2' tabindex='11' maxlength='2' value='4' /> </td> </tr> <tr > <td class='editlabelarea'>Education cost inflation </td> <td id='td_college_cost_inflation5' class='data'><IMG id='stop_college_cost_inflation5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_college_cost_inflation5' ></div> <input b:on='validate' b:behavior='bv_college_cost_inflation' onfocus='this.select();' type='text' name='college_cost_inflation5' id='college_cost_inflation5' size='5' tabindex='12' maxlength='5' value='8.5' />% </td> </tr> <tr > <td class='editlabelarea'>% of cost funded by savings </td> <td id='td_savepct5' class='data'><IMG id='stop_savepct5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_savepct5' ></div> <input b:on='validate' b:behavior='bv_savepct' onfocus='this.select();' type='text' name='savepct5' id='savepct5' size='5' tabindex='13' maxlength='5' value='100' />% </td> </tr> <tr class='rowlabelarea'> <td class='editlabelarea'>Pre-tax rate of return </td> <td id='td_rate_of_return5' class='data'><IMG id='stop_rate_of_return5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_rate_of_return5' ></div> <input b:on='validate' b:behavior='bv_rate_of_return' onfocus='this.select();' type='text' name='rate_of_return5' id='rate_of_return5' size='2' tabindex='14' maxlength='2' value='7' />% </td> </tr> </table> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:behavior='cancel-assump5' b:target='id("editassumptions5")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' style='padding-left: 245px;' b:action='trigger' id='continue-button-assump5' name='continue-button-assump5' b:behavior='continue-assump5' b:target='id("editassumptions5")'>Continue</b:button> </div> <s:behavior b:name='continue-assump5'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:choose> <s:when b:test='$valid-ok eq 1'> <s:task b:action='js' b:value='java_recalc(5);' /> <s:task b:action='trigger' b:event='close' b:target='id("editassumptions5")'/> </s:when> <s:otherwise> </s:otherwise> </s:choose> </s:event> </s:behavior> <s:behavior b:name='cancel-assump5'> <s:event b:on='click'> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:task b:action='hide' b:target='id($target_stop_age_of_education)'/> <s:task b:action='hide' b:target='id($target_err_age_of_education)' /> <s:task b:action='hide' b:target='id($target_stop_num_years)' /> <s:task b:action='hide' b:target='id($target_err_num_years)' /> <s:task b:action='hide' b:target='id($target_stop_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_err_college_cost_inflation)' /> <s:task b:action='hide' b:target='id($target_stop_savepct)' /> <s:task b:action='hide' b:target='id($target_err_savepct)' /> <s:task b:action='hide' b:target='id($target_stop_rate_of_return)' /> <s:task b:action='hide' b:target='id($target_err_rate_of_return)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_age_of_education5")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_num_years5")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_college_cost_inflation5")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_savepct5")' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='id("td_rate_of_return5")' /> <s:task b:action='js' b:value='reset_editassumptions();' /> <s:task b:action='js' b:value='java_recalc(5);' /> <s:task b:action='js' b:value='enable_continue();' /> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> </b:modalbody> </b:modal> </div> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's name </td> <td class='data' > <IMG id='stop_name5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_name5' ></div> <input b:validation='text' b:behavior='bv_name' class='childinput' onfocus='this.select();' type='text' name='name5' id='name5' size='15' tabindex='1' maxlength='30' value='Child 5' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Child's current age </td> <td class='data' ><IMG id='stop_age5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_age5' ></div> <input b:behavior='bv_age' b:validation='number' class='childinput' onfocus='this.select();' type='text' name='age5' id='age5' size='5' tabindex='2' maxlength='5' value='0' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Estimate current annual college cost </td> <td class='data' > <div class='textblock'> <a b:behavior='cost_search' id='cost_search5' tabindex='3' b:action='trigger' b:event='open' b:target='id("collcost5")'>Select College Search</a> </div> <style>.b-modal-closebutton{display:none;}</style> <s:variable b:name='myinout' b:select='1' b:scope='global' /> <b:modal b:autopos='false' b:dragconstraint='.' b:behavior='collcostwindow5' id='collcost5' style='overflow: none; width: 450px; left: 5px; top: 170px; height: auto;'> <b:modalhead >College Search</b:modalhead> <b:modalbody style='height:auto' id='modalb1'> <div > <div > <div> <div> <div widget='true'> <div class='collegelabel'>Select search criteria <br/>(Choose one)</div> <div class='collegedata'> <input b:behavior='searchavg5' checked='true' type='radio' value='3' id='search5' name='search5' />Select from national averages <br/> <input b:behavior='searchstate5' type='radio' id='search5' value='1' name='search5' />Look up by state <br/> <input b:behavior='searchname5' type='radio' value='2' id='search5' name='search5' />Look up by college name <br/> </div> </div> </div> <s:behavior b:name='cost_search'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable("x");' /> </s:event> </s:behavior> <s:behavior b:name='searchstate5'> <s:event b:on='click'> <s:task b:action='js' b:value='showstaterow(5);' /> <s:task b:action='show' b:target='id("inoutrow5")' /> <s:task b:action='show' b:target='id("inoutlabel5")' /> <s:task b:action='show' b:target='id("radiobutton5")' /> <s:task b:action='show' b:target='id("resultstable5")' /> <s:task b:action='set' b:target="id('collegecost5')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='1' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results5')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchname5'> <s:event b:on='click'> <s:task b:action='js' b:value='shownamerow(5);' /> <s:task b:action='show' b:target='id("inoutrow5")' /> <s:task b:action='show' b:target='id("inoutlabel5")' /> <s:task b:action='show' b:target='id("radiobutton5")' /> <s:task b:action='show' b:target='id("resultstable5")' /> <s:task b:action='set' b:target="id('collegecost5')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='2' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results5')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <s:behavior b:name='searchavg5'> <s:event b:on='click'> <s:task b:action='js' b:value='showavgrow(5);' /> <s:task b:action='hide' b:target='id("inoutrow5")' /> <s:task b:action='hide' b:target='id("inoutlabel5")' /> <s:task b:action='hide' b:target='id("radiobutton5")' /> <s:task b:action='hide' b:target='id("resultstable5")' /> <s:task b:action='set' b:target="id('collegecost5')/@value" b:value=' '/> <s:variable b:name='searchval' b:select='3' b:scope='global' /> <s:choose> <s:when b:test="$clearres = '0'"> <s:render b:destination="id('results5')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:when> </s:choose> </s:event> </s:behavior> <div> <div style='display: ' id='avgrow5'> <div id='AvgLabel5' class='collegelabel'>National average</div> <div class='collegedata'> <b:select b:observe='id("avgcost5")' b:behavior='avgcost_behavior5' b:name="avgcost" id="Avgcost5"> <b:option b:value="10800">Public 2-year school</b:option> <b:option b:value="16400">Public 4-year school, in state</b:option> <b:option b:value="27900">Public 4-year school, out of state</b:option> <b:option b:value="36800">Private 4-year school, average</b:option> <b:option b:value="45000">Private 4-year school, expensive</b:option> <s:event b:on='observe-command'> <s:task b:action='hide' b:target='id("Avgcost5")' /> <s:task b:action='hide' b:target='id("AvgLabel5")' /> </s:event> </b:select> <s:behavior b:name='avgcost_behavior5'> <s:event b:on='change'> <s:variable b:name='mykeyvalue5' b:select="id('Avgcost5')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyvalue5' /> <s:task b:action='set' b:target="id('collegecost5')/@value" b:value='{$mykeyvalue5}' /> <s:variable b:name='mykeyname5' b:select="id('Avgcost5')/@b:text" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname5' /> <s:task b:action='set' b:target="id('collegename5')/@value" b:value='{$mykeyname5}' /> </s:event> </s:behavior> </div> </div> </div> <div style='display: none' id='staterow5'> <div id='StateLabel5' class='collegelabel'>Search by state</div> <div class='collegedata'> <b:select b:value='VA' editable='false' b:observe='id("searchstate5")' b:behavior='state_behavior5' b:name="statelist5" id="statelist5"> <b:option b:value="AK">AK</b:option> <b:option b:value="AL">AL</b:option> <b:option b:value="AR">AR</b:option> <b:option b:value="AZ">AZ</b:option> <b:option b:value="CA">CA</b:option> <b:option b:value="CO">CO</b:option> <b:option b:value="CT">CT</b:option> <b:option b:value="DC">DC</b:option> <b:option b:value="DE">DE</b:option> <b:option b:value="FL">FL</b:option> <b:option b:value="GA">GA</b:option> <b:option b:value="HI">HI</b:option> <b:option b:value="IA">IA</b:option> <b:option b:value="ID">ID</b:option> <b:option b:value="IL">IL</b:option> <b:option b:value="IN">IN</b:option> <b:option b:value="KS">KS</b:option> <b:option b:value="KY">KY</b:option> <b:option b:value="LA">LA</b:option> <b:option b:value="MA">MA</b:option> <b:option b:value="MD">MD</b:option> <b:option b:value="ME">ME</b:option> <b:option b:value="MI">MI</b:option> <b:option b:value="MN">MN</b:option> <b:option b:value="MO">MO</b:option> <b:option b:value="MS">MS</b:option> <b:option b:value="MT">MT</b:option> <b:option b:value="NC">NC</b:option> <b:option b:value="ND">ND</b:option> <b:option b:value="NE">NE</b:option> <b:option b:value="NH">NH</b:option> <b:option b:value="NJ">NJ</b:option> <b:option b:value="NM">NM</b:option> <b:option b:value="NV">NV</b:option> <b:option b:value="NY">NY</b:option> <b:option b:value="OH">OH</b:option> <b:option b:value="OK">OK</b:option> <b:option b:value="OR">OR</b:option> <b:option b:value="PA">PA</b:option> <b:option b:value="RI">RI</b:option> <b:option b:value="SC">SC</b:option> <b:option b:value="SD">SD</b:option> <b:option b:value="TN">TN</b:option> <b:option b:value="TX">TX</b:option> <b:option b:value="UT">UT</b:option> <b:option b:value="VA">VA</b:option> <b:option b:value="VT">VT</b:option> <b:option b:value="WA">WA</b:option> <b:option b:value="WI">WI</b:option> <b:option b:value="WV">WV</b:option> <b:option b:value="WY">WY</b:option> </b:select> <b:button style='vertical-align:top' b:action='trigger' b:target='id("collcost5")'>Go <s:event b:on='command' > <s:variable b:name='mystatevalue5' b:select="id('statelist5')/@b:value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mystatevalue5' /> <s:render b:destination="id('results5')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue5, '&amp;remove=0&amp;childnum=5&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results5')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue5, '&amp;remove=0&amp;childnum=5&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results5')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?state=',$mystatevalue5, '&amp;remove=0&amp;childnum=5&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results5')" /> </s:when > </s:choose> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </b:button> </div> </div> <div style='display: none' id='namerow5'> <div id='NameLabel5' class='collegelabel'>Search by name</div> <div class='collegedata' > <IMG id='stop_collsearchname5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collsearchname5' ></div> <input b:behavior='collsearchname5' class='childinput' onfocus='this.select();' type='text' name='collsearchname5' id='collsearchname5' size='15' tabindex='21' maxlength='30' value='' /> <s:behavior b:name='collsearchname5'> <s:event b:on='change' > <s:variable b:name='mycollsearchname5' b:select="@value" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mycollsearchname5' /> <s:variable b:name='clearres' b:select='0' b:scope='global' /> </s:event> </s:behavior> <b:button class='childinput' style='vertical-align:top' b:action='trigger' b:target='id("collcost5")'>Go <s:event b:on='command' > <s:setatt b:valid_collsearchname='true' b:infomsg='' /> <s:if b:test='string-length(normalize-space(id("collsearchname5")/@value)) eq 0'> <s:setatt b:valid_collsearchname='false' b:infomsg='This is a required field.' /> </s:if> <s:if b:test="@b:valid_collsearchname='false'"> <s:task b:action='js' b:value='EnableDisable("collsearchname");' /> <s:task b:action='focus' /> <s:task b:action='show' b:target='id($target_stop_collsearchname)' /> <s:task b:action='show' b:target='id($target_err_collsearchname)' /> <s:task b:action='settext' b:target='id($target_err_collsearchname)' b:value='{@b:infomsg}' /> <s:task b:action='addclass' b:value='childinput-error' b:target='/..' /> <s:variable b:name='valid-ok' b:select='0' b:scope='global' /> <s:render b:destination="id('results5')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:if> <s:if b:test="@b:valid_collsearchname='true'"> <s:task b:action='js' b:value='EnableDisable()' /> <s:task b:action='hide' b:target='id($target_stop_collsearchname)' /> <s:task b:action='hide' b:target='id($target_err_collsearchname)' /> <s:task b:action='removeclass' b:value='childinput-error' b:target='/..' /> <s:task b:action='js' b:value='{concat("java_recalc(", $childnum, ")")}' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <s:render b:destination="id('results5')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> <s:choose> <s:when b:test="$myinout = '1'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname5')/@value, '&amp;remove=0&amp;childnum=5&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results5')" /> </s:when > <s:when b:test="$myinout = '2'"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname5')/@value, '&amp;remove=0&amp;childnum=5&amp;inout=tuit_out')}" b:mode='replacechildren' b:destination="id('results5')" /> </s:when > <s:when b:test="$myinout = ''"> <s:task b:action='load' b:url="{concat('getcollegelistxml.php?cname=', id('collsearchname5')/@value, '&amp;remove=0&amp;childnum=5&amp;inout=tuit_in')}" b:mode='replacechildren' b:destination="id('results5')" /> </s:when > </s:choose> <s:if b:test='$selectlimit eq 1'> <s:task b:action='alert' b:value='Please be more specific in your search string. Your search result has been limited to 200 colleges.' /> </s:if> </s:if> </s:event> </b:button> </div> </div> <div id='inoutrow5'> <div id='inoutlabel5' class='collegelabel'> </div> <div id='radioButton' class='collegedata'> <input b:behavior='in5' checked='true' type='radio' value='tuit_in' id='inoutstate5' name='inoutstate5' />In-state tuition <br/> <input b:behavior='out5' type='radio' value='tuit_out' id='inoutstate5' name='inoutstate5' />Out-of-state tuition <s:behavior b:name='in5'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='1' b:scope='global' /> <s:render b:destination="id('results5')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> <s:behavior b:name='out5'> <s:event b:on='click' > <s:variable b:name='myinout' b:select='2' b:scope='global' /> <s:render b:destination="id('results5')" b:mode='replacechildren'> <table width='380px' b:behavior='b-listview'></table> </s:render> </s:event> </s:behavior> </div> </div> </div> </div> <div class='collegelabel'>College cost $<BR /> (tuition, room &amp; board) </div> <div class='collegedata'><input readonly='readonly' type='text' name='collegecost5' id='collegecost5' size='5' maxlength='10' value='' /> </div> </div> <input type='hidden' onblur='document.applets[0].setCollegeName(this.value, 5 );java_recalc(5);' name='collegename5' id='collegename5' size='35' tabindex='22' maxlength='50' value='' /> <P /> <div class='resultsbar' id='resultstable5'> <div style='padding-top: 3px; padding-left: 3px;'>Results</div> </div> <div class="resultsarea" name="results5" id="results5"> </div> <div style='position: float; padding-top: 10px; left: 12px; '> <b:button b:behavior='cancel-behavior5' b:action='trigger' b:style='font-size: 10pt;' b:event='close' b:target='id("collcost5")'>Cancel</b:button> <b:button b:style='font-size: 10pt;' b:event='close' style='padding-left: 245px;' b:action='trigger' b:behavior='continue-behavior5' b:target='id("collcost5")'>Continue</b:button> </div> </b:modalbody> </b:modal> <s:behavior b:name='collcostwindow5'> <s:event b:on='construct'> <s:task b:action='hide' b:target='id("inoutrow5")' /> <s:task b:action='hide' b:target='id("inoutlabel5")' /> <s:task b:action='hide' b:target='id("radiobutton5")' /> <s:task b:action='hide' b:target='id("resultstable5")' /> </s:event> </s:behavior> <s:behavior b:name='cancel-behavior5'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> </s:event> </s:behavior> <s:behavior b:name='continue-behavior5'> <s:event b:on='click'> <s:task b:action='js' b:value='EnableDisable();' /> <s:variable b:name='mykeyvalue5' b:select="id('collegecost5')/@value" b:scope='global' /> <s:task b:action='set' b:target="id('cost5')/@value" b:value='{$mykeyvalue5}' /> <s:variable b:name='mykeyname5' b:select="normalize-space(id('collegename5')/@value)" b:scope='global' /> <s:task b:action='bxml2string' b:variable='$mykeyname5' /> <s:task b:action='set' b:target="id('collname5')/@value" b:value='{$mykeyname5}' /> <s:task b:action='js' b:value='java_recalc(5);' /> </s:event> </s:behavior> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College name or type </td> <td class='data' ><IMG id='stop_collname5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_collname5' ></div> <input b:behavior='bv_collname' b:validation='text' onfocus='this.select();' class='childinput' type='text' name='collname5' id='collname5' size='20' tabindex='4' maxlength='30' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>College cost $<BR />(tuition, room &amp; board) </td> <td class='data' ><IMG id='stop_cost5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_cost5' ></div> <input b:validation='number' b:behavior='bv_cost' onfocus='this.select();' class='childinput' type='text' name='cost5' id='cost5' size='10' tabindex='5' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Planned contributions $ </td> <td class='data' ><IMG id='stop_contrib5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_contrib5' ></div> <input b:behavior='bv_contrib' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='contrib5' name='contrib5' size='10' tabindex='6' value='100' /> </td> </tr> <tr> <td class='labelarea'></td> <td class='data' ><input class='childinput' checked='true' onclick='document.applets[0].setMonRadio(this.value, 5 );java_recalc(5);' type='radio' name='contribtype5' id='contribtype15' value='0' tabindex='7' />Monthly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'></td> <td class='data' ><input class='childinput' onclick='document.applets[0].setYrRadio(this.value, 5 );java_recalc(5);' type='radio' name='contribtype5' id='contribtype25' value='0' tabindex='8' />Yearly </td> </tr> <tr class='rowlabelarea'> <td class='labelarea'>Current savings balance $ </td> <td class='data' ><IMG id='stop_currentsavings5' src='stop.gif' style='display:none; margin-top: 4; margin-right: 2; margin-left: 2;' border='0' ALIGN='left' VALIGN='bottom' /> <div class='validation-error' id='err_currentsavings5' ></div> <input b:behavior='bv_currentsavings' b:validation='number' onfocus='this.select();' class='childinput' type='text' id='currentsavings5' name='currentsavings5' size='10' tabindex='9' value='0' /> </td> </tr> </table> <script> </script> </b:accordeonbody> </b:accordeon> <s:variable b:name='childnum' b:select='1' b:scope='global' /> <s:variable b:name='valid-ok' b:select='1' b:scope='global' /> <!-- SET the Child 1 vars for later displayng of the validation error msgs this must be done before here for child 1 since the onclick event will not have been processed upon construction. Set the targetid var to multiple IDs for display of the error msg and the stop sogn gif. Multiple IDs can be used if there is a space between the IDs --> <s:variable b:name='childnum' b:select="'1'" b:scope='global' /> <s:variable b:name='target_stop_age' b:select='"stop_age1"' b:scope='global' /> <s:variable b:name='target_err_age' b:select='"err_age1"' b:scope='global' /> <s:variable b:name='target_stop_collname' b:select='"stop_collname1"' b:scope='global' /> <s:variable b:name='target_err_collname' b:select='"err_collname1"' b:scope='global' /> <s:variable b:name='target_stop_name' b:select='"stop_name1"' b:scope='global' /> <s:variable b:name='target_err_name' b:select='"err_name1"' b:scope='global' /> <s:variable b:name='target_stop_cost' b:select='"stop_cost1"' b:scope='global' /> <s:variable b:name='target_err_cost' b:select='"err_cost1"' b:scope='global' /> <s:variable b:name='target_stop_contrib' b:select='"stop_contrib1"' b:scope='global' /> <s:variable b:name='target_err_contrib' b:select='"err_contrib1"' b:scope='global' /> <s:variable b:name='target_stop_currentsavings' b:select='"stop_currentsavings1"' b:scope='global' /> <s:variable b:name='target_err_currentsavings' b:select='"err_currentsavings1"' b:scope='global' /> <s:variable b:name='target_stop_age_of_education' b:select='"stop_age_of_education1"' b:scope='global' /> <s:variable b:name='target_err_age_of_education' b:select='"err_age_of_education1"' b:scope='global' /> <s:variable b:name='target_stop_num_years' b:select='"stop_num_years1"' b:scope='global' /> <s:variable b:name='target_err_num_years' b:select='"err_num_years1"' b:scope='global' /> <s:variable b:name='target_stop_college_cost_inflation' b:select='"stop_college_cost_inflation1"' b:scope='global' /> <s:variable b:name='target_err_college_cost_inflation' b:select='"err_college_cost_inflation1"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct1"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct1"' b:scope='global' /> <s:variable b:name='target_stop_rate_of_return' b:select='"stop_rate_of_return1"' b:scope='global' /> <s:variable b:name='target_err_rate_of_return' b:select='"err_rate_of_return1"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct1"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct1"' b:scope='global' /> <s:variable b:name='target_stop_collsearchname' b:select='"stop_collsearchname1"' b:scope='global' /> <s:variable b:name='target_err_collsearchname' b:select='"err_collsearchname1"' b:scope='global' /> <s:behavior b:name="child1"> <s:event b:on="click"> <s:variable b:name='childnum' b:select="'1'" b:scope='global' /> <s:variable b:name='target_stop_age' b:select='"stop_age1"' b:scope='global' /> <s:variable b:name='target_err_age' b:select='"err_age1"' b:scope='global' /> <s:variable b:name='target_stop_collname' b:select='"stop_collname1"' b:scope='global' /> <s:variable b:name='target_err_collname' b:select='"err_collname1"' b:scope='global' /> <s:variable b:name='target_stop_name' b:select='"stop_name1"' b:scope='global' /> <s:variable b:name='target_err_name' b:select='"err_name1"' b:scope='global' /> <s:variable b:name='target_stop_cost' b:select='"stop_cost1"' b:scope='global' /> <s:variable b:name='target_err_cost' b:select='"err_cost1"' b:scope='global' /> <s:variable b:name='target_stop_contrib' b:select='"stop_contrib1"' b:scope='global' /> <s:variable b:name='target_err_contrib' b:select='"err_contrib1"' b:scope='global' /> <s:variable b:name='target_stop_currentsavings' b:select='"stop_currentsavings1"' b:scope='global' /> <s:variable b:name='target_err_currentsavings' b:select='"err_currentsavings1"' b:scope='global' /> <s:variable b:name='target_stop_age_of_education' b:select='"stop_age_of_education1"' b:scope='global' /> <s:variable b:name='target_err_age_of_education' b:select='"err_age_of_education1"' b:scope='global' /> <s:variable b:name='target_stop_num_years' b:select='"stop_num_years1"' b:scope='global' /> <s:variable b:name='target_err_num_years' b:select='"err_num_years1"' b:scope='global' /> <s:variable b:name='target_stop_college_cost_inflation' b:select='"stop_college_cost_inflation1"' b:scope='global' /> <s:variable b:name='target_err_college_cost_inflation' b:select='"err_college_cost_inflation1"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct1"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct1"' b:scope='global' /> <s:variable b:name='target_stop_rate_of_return' b:select='"stop_rate_of_return1"' b:scope='global' /> <s:variable b:name='target_err_rate_of_return' b:select='"err_rate_of_return1"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct1"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct1"' b:scope='global' /> <s:variable b:name='target_stop_collsearchname' b:select='"stop_collsearchname1"' b:scope='global' /> <s:variable b:name='target_err_collsearchname' b:select='"err_collsearchname1"' b:scope='global' /> <s:task b:action="js" b:value="java_recalc(1);" /> <s:variable b:name='childnum' b:select='1' b:scope='global' /> </s:event> </s:behavior> <s:behavior b:name="child2"> <s:event b:on="click"> <s:variable b:name='childnum' b:select="'2'" b:scope='global' /> <s:variable b:name='target_stop_age' b:select='"stop_age2"' b:scope='global' /> <s:variable b:name='target_err_age' b:select='"err_age2"' b:scope='global' /> <s:variable b:name='target_stop_collname' b:select='"stop_collname2"' b:scope='global' /> <s:variable b:name='target_err_collname' b:select='"err_collname2"' b:scope='global' /> <s:variable b:name='target_stop_name' b:select='"stop_name2"' b:scope='global' /> <s:variable b:name='target_err_name' b:select='"err_name2"' b:scope='global' /> <s:variable b:name='target_stop_cost' b:select='"stop_cost2"' b:scope='global' /> <s:variable b:name='target_err_cost' b:select='"err_cost2"' b:scope='global' /> <s:variable b:name='target_stop_contrib' b:select='"stop_contrib2"' b:scope='global' /> <s:variable b:name='target_err_contrib' b:select='"err_contrib2"' b:scope='global' /> <s:variable b:name='target_stop_currentsavings' b:select='"stop_currentsavings2"' b:scope='global' /> <s:variable b:name='target_err_currentsavings' b:select='"err_currentsavings2"' b:scope='global' /> <s:variable b:name='target_stop_age_of_education' b:select='"stop_age_of_education2"' b:scope='global' /> <s:variable b:name='target_err_age_of_education' b:select='"err_age_of_education2"' b:scope='global' /> <s:variable b:name='target_stop_num_years' b:select='"stop_num_years2"' b:scope='global' /> <s:variable b:name='target_err_num_years' b:select='"err_num_years2"' b:scope='global' /> <s:variable b:name='target_stop_college_cost_inflation' b:select='"stop_college_cost_inflation2"' b:scope='global' /> <s:variable b:name='target_err_college_cost_inflation' b:select='"err_college_cost_inflation2"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct2"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct2"' b:scope='global' /> <s:variable b:name='target_stop_rate_of_return' b:select='"stop_rate_of_return2"' b:scope='global' /> <s:variable b:name='target_err_rate_of_return' b:select='"err_rate_of_return2"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct2"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct2"' b:scope='global' /> <s:variable b:name='target_stop_collsearchname' b:select='"stop_collsearchname2"' b:scope='global' /> <s:variable b:name='target_err_collsearchname' b:select='"err_collsearchname2"' b:scope='global' /> <s:task b:action="js" b:value="java_recalc(2);" /> <s:variable b:name='childnum' b:select='2' b:scope='global' /> </s:event> </s:behavior> <s:behavior b:name="child3"> <s:event b:on="click"> <s:variable b:name='childnum' b:select="'3'" b:scope='global' /> <s:variable b:name='target_stop_age' b:select='"stop_age3"' b:scope='global' /> <s:variable b:name='target_err_age' b:select='"err_age3"' b:scope='global' /> <s:variable b:name='target_stop_collname' b:select='"stop_collname3"' b:scope='global' /> <s:variable b:name='target_err_collname' b:select='"err_collname3"' b:scope='global' /> <s:variable b:name='target_stop_name' b:select='"stop_name3"' b:scope='global' /> <s:variable b:name='target_err_name' b:select='"err_name3"' b:scope='global' /> <s:variable b:name='target_stop_cost' b:select='"stop_cost3"' b:scope='global' /> <s:variable b:name='target_err_cost' b:select='"err_cost3"' b:scope='global' /> <s:variable b:name='target_stop_contrib' b:select='"stop_contrib3"' b:scope='global' /> <s:variable b:name='target_err_contrib' b:select='"err_contrib3"' b:scope='global' /> <s:variable b:name='target_stop_currentsavings' b:select='"stop_currentsavings3"' b:scope='global' /> <s:variable b:name='target_err_currentsavings' b:select='"err_currentsavings3"' b:scope='global' /> <s:variable b:name='target_stop_age_of_education' b:select='"stop_age_of_education3"' b:scope='global' /> <s:variable b:name='target_err_age_of_education' b:select='"err_age_of_education3"' b:scope='global' /> <s:variable b:name='target_stop_num_years' b:select='"stop_num_years3"' b:scope='global' /> <s:variable b:name='target_err_num_years' b:select='"err_num_years3"' b:scope='global' /> <s:variable b:name='target_stop_college_cost_inflation' b:select='"stop_college_cost_inflation3"' b:scope='global' /> <s:variable b:name='target_err_college_cost_inflation' b:select='"err_college_cost_inflation3"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct3"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct3"' b:scope='global' /> <s:variable b:name='target_stop_rate_of_return' b:select='"stop_rate_of_return3"' b:scope='global' /> <s:variable b:name='target_err_rate_of_return' b:select='"err_rate_of_return3"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct3"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct3"' b:scope='global' /> <s:variable b:name='target_stop_collsearchname' b:select='"stop_collsearchname3"' b:scope='global' /> <s:variable b:name='target_err_collsearchname' b:select='"err_collsearchname3"' b:scope='global' /> <s:task b:action="js" b:value="java_recalc(3);" /> <s:variable b:name='childnum' b:select='3' b:scope='global' /> </s:event> </s:behavior> <s:behavior b:name="child4"> <s:event b:on="click"> <s:variable b:name='childnum' b:select="'4'" b:scope='global' /> <s:variable b:name='target_stop_age' b:select='"stop_age4"' b:scope='global' /> <s:variable b:name='target_err_age' b:select='"err_age4"' b:scope='global' /> <s:variable b:name='target_stop_collname' b:select='"stop_collname4"' b:scope='global' /> <s:variable b:name='target_err_collname' b:select='"err_collname4"' b:scope='global' /> <s:variable b:name='target_stop_name' b:select='"stop_name4"' b:scope='global' /> <s:variable b:name='target_err_name' b:select='"err_name4"' b:scope='global' /> <s:variable b:name='target_stop_cost' b:select='"stop_cost4"' b:scope='global' /> <s:variable b:name='target_err_cost' b:select='"err_cost4"' b:scope='global' /> <s:variable b:name='target_stop_contrib' b:select='"stop_contrib4"' b:scope='global' /> <s:variable b:name='target_err_contrib' b:select='"err_contrib4"' b:scope='global' /> <s:variable b:name='target_stop_currentsavings' b:select='"stop_currentsavings4"' b:scope='global' /> <s:variable b:name='target_err_currentsavings' b:select='"err_currentsavings4"' b:scope='global' /> <s:variable b:name='target_stop_age_of_education' b:select='"stop_age_of_education4"' b:scope='global' /> <s:variable b:name='target_err_age_of_education' b:select='"err_age_of_education4"' b:scope='global' /> <s:variable b:name='target_stop_num_years' b:select='"stop_num_years4"' b:scope='global' /> <s:variable b:name='target_err_num_years' b:select='"err_num_years4"' b:scope='global' /> <s:variable b:name='target_stop_college_cost_inflation' b:select='"stop_college_cost_inflation4"' b:scope='global' /> <s:variable b:name='target_err_college_cost_inflation' b:select='"err_college_cost_inflation4"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct4"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct4"' b:scope='global' /> <s:variable b:name='target_stop_rate_of_return' b:select='"stop_rate_of_return4"' b:scope='global' /> <s:variable b:name='target_err_rate_of_return' b:select='"err_rate_of_return4"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct4"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct4"' b:scope='global' /> <s:variable b:name='target_stop_collsearchname' b:select='"stop_collsearchname4"' b:scope='global' /> <s:variable b:name='target_err_collsearchname' b:select='"err_collsearchname4"' b:scope='global' /> <s:task b:action="js" b:value="java_recalc(4);" /> </s:event> </s:behavior> <s:behavior b:name="child5"> <s:event b:on="click"> <s:variable b:name='childnum' b:select="'5'" b:scope='global' /> <s:variable b:name='target_stop_age' b:select='"stop_age5"' b:scope='global' /> <s:variable b:name='target_err_age' b:select='"err_age5"' b:scope='global' /> <s:variable b:name='target_stop_collname' b:select='"stop_collname5"' b:scope='global' /> <s:variable b:name='target_err_collname' b:select='"err_collname5"' b:scope='global' /> <s:variable b:name='target_stop_name' b:select='"stop_name5"' b:scope='global' /> <s:variable b:name='target_err_name' b:select='"err_name5"' b:scope='global' /> <s:variable b:name='target_stop_cost' b:select='"stop_cost5"' b:scope='global' /> <s:variable b:name='target_err_cost' b:select='"err_cost5"' b:scope='global' /> <s:variable b:name='target_stop_contrib' b:select='"stop_contrib5"' b:scope='global' /> <s:variable b:name='target_err_contrib' b:select='"err_contrib5"' b:scope='global' /> <s:variable b:name='target_stop_currentsavings' b:select='"stop_currentsavings5"' b:scope='global' /> <s:variable b:name='target_err_currentsavings' b:select='"err_currentsavings5"' b:scope='global' /> <s:variable b:name='target_stop_age_of_education' b:select='"stop_age_of_education5"' b:scope='global' /> <s:variable b:name='target_err_age_of_education' b:select='"err_age_of_education5"' b:scope='global' /> <s:variable b:name='target_stop_num_years' b:select='"stop_num_years5"' b:scope='global' /> <s:variable b:name='target_err_num_years' b:select='"err_num_years5"' b:scope='global' /> <s:variable b:name='target_stop_college_cost_inflation' b:select='"stop_college_cost_inflation5"' b:scope='global' /> <s:variable b:name='target_err_college_cost_inflation' b:select='"err_college_cost_inflation5"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct5"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct5"' b:scope='global' /> <s:variable b:name='target_stop_rate_of_return' b:select='"stop_rate_of_return5"' b:scope='global' /> <s:variable b:name='target_err_rate_of_return' b:select='"err_rate_of_return5"' b:scope='global' /> <s:variable b:name='target_stop_savepct' b:select='"stop_savepct5"' b:scope='global' /> <s:variable b:name='target_err_savepct' b:select='"err_savepct5"' b:scope='global' /> <s:variable b:name='target_stop_collsearchname' b:select='"stop_collsearchname5"' b:scope='global' /> <s:variable b:name='target_err_collsearchname' b:select='"err_collsearchname5"' b:scope='global' /> <s:task b:action="js" b:value="java_recalc(5);" /> <s:variable b:name='childnum' b:select='5' b:scope='global' /> </s:event> <s:event b:on='construct'> <s:task b:action='js' b:value='{concat(\"java_recalc(\", \$childnum, \")\")}' /> </s:event> </s:behavior> <div class='bottom-container'> <input size="3" type="button" value="View Report" name="btnOpenNote" onclick="openNote('HTM')" /> <div style='padding-top: 20px;'> <div class='myh2'>Access to Online Tool</div> <div class='leadpara'> <ul> <li class='leadpara' style='vertical-align: top;'> To access this tool, you'll need Java 1.4.2 or higher. If you have an older version or don't have Java, the bar graph may not appear in the upper right corner of the tool. You can go to <a href='http://www.java.com'>www.java.com</a>, where you can download it for free.</li> <li class='leadpara' style='vertical-align: top;'> If you do not see the report window open after clicking View Report, you may have a pop-up blocker installed. You will need to disable it, or add <b>archimedes.com</b> to the blocker's allowed-sites list. (In IE7, see <i>Tools / Pop-up Blocker / Pop-up Blocker Settings</i>.)</li> </ul> </div> </div> </div> <div class='gblFoot'> <table width='910px'> <tr> <td style='font-size: 7pt' align='left'> &#169; 2010 Archimedes Systems, Inc. All rights reserved. </td> <td align='right' valign='bottom'> <img border='0' src='/images/powerby5.gif' hspace="10" /> </td> </tr> </table> </div>
<s:event b:on="construct" b:action="show" /> <div class='myh1'>Summary</div> <b:accordeon class="b-accordeonhead-content"> <b:accordeonhead b:behavior="loadflash" id="estcollcost" class="b-accordeonhead-content">Estimated college cost</b:accordeonhead> <b:accordeonbody> <div> <table class="summarytable"> <tr class="rowlabelarea"> <td class="labelarea">Estimated total education cost</td> <td class="data" ><input style="border: 0" readonly="readonly" class="dyninput1" type="text" name="total_cost" size="10" maxlength="10" value="" /> </td> </tr> <tr class="rowlabelarea"> <td id="summary_label2" name="summary_label2" class="labelarea"></td> <td class="dyninput2" ><textarea class="dyninput2" rows='2' style="overflow: hidden; border: 0" readonly="readonly" type="text" name="summary_value2" value="" /> </td> </tr> <tr style="display:none;" id="rowsummary_label3" class="rowlabelarea"> <td id="summary_label3" name="summary_label3" class="labelarea"></td> <td class="dyninput2" ><textarea class="dyninput2" rows='2' style="overflow: hidden; border: 0" readonly="readonly" type="text" name="summary_value3" value="" /> </td> </tr> <tr class="rowlabelarea"> <td class="labelarea">You'll need to save</td> <td class="dyninput" ><textarea class="dyninput" rows='2' style="overflow: hidden; border: 0" readonly="readonly" type="text" name="save_additional" value="" /> </td> </tr> </table> </div> </b:accordeonbody> <b:accordeonhead id='disp_assumptions' tabindex='99' b:behavior='bv_assumptions'> Assumptions <span class="editlink" style='padding-left:280px'> <a b:behavior='assumpLink' b:eventblock='true'>Edit</a> </span> </b:accordeonhead> <b:accordeonbody> <s:behavior b:name="assumpLink"> <s:event b:on="blocked-mousedown" eventblock='false'> <s:task b:action="js" b:value="open_editassumptions();"/> </s:event> </s:behavior> <!-- Event used to trigger the Java Engine recalculation AND the --> <!-- Re-loading of the Flash Bar Graph. Otherwise the graph is empty --> <!-- until the user changes/enters data in any field. Called from above --> <!-- accordeonhead behavior. --> <s:behavior b:name="loadflash"> <s:event b:on="construct"> <s:task b:action="js" b:value=" java_recalc(1);" /> </s:event> </s:behavior> <table class='assumptionstable'> <tr> <td class='editlabelarea'>College start age </td> <td class='data'><input rows='1' style='overflow: hidden; border: 0' readonly='readonly' type='text' name='disp_age_of_education' id='disp_age_of_education' size='3' maxlength='3' value='' /> </td> </tr> <tr > <td class='editlabelarea'>Years attending college </td> <td class='data'><input rows='1' style='overflow: hidden; border: 0' readonly='readonly' type='text' name='disp_num_years' id='disp_num_years' size='3' maxlength='3' value='' /> </td> </tr> <tr > <td class='editlabelarea'>Education cost inflation </td> <td class='data'><input rows='1' style='overflow: hidden; border: 0' readonly='readonly' type='text' name='disp_college_cost_inflation' id='disp_college_cost_inflation' size='5' maxlength='5' value='' /> </td> </tr> <tr > <td class='editlabelarea'>% of cost funded by savings </td> <td class='data'><input rows='1' style='overflow: hidden; border: 0' readonly='readonly' type='text' name='disp_savepct' id='disp_savepct' size='5' maxlength='5' value='' /> </td> </tr> <tr class='rowlabelarea'> <td class='editlabelarea'>Pre-tax rate of return </td> <td class='data'><input rows='1' style='overflow: hidden; border: 0' readonly='readonly' type='text' name='disp_rate_of_return' id='disp_rate_of_return' size='2' maxlength='2' value='' /> </td> </tr> </table> </b:accordeonbody> </b:accordeon> <br/>