June 1, 2021

Day

01
Jun

ACC Cross Country Carnival 2021

On Thursday 27 May 2021 the Emmanuel ACC Cross Country team descended upon Perry Lakes Reserve for the annual ACC Cross Country Carnival. After weeks of solid training, throughout many cold mornings, the team was ready. Leading into the event we had confidence we would perform well. The amount of students we had at training...
Read More
<h5>Year Entry Calculator</h5> 
<form> 
    <label for="birthMonth">Birth Month:</label> 
    <select id="birthMonth" name="birthMonth"> 
        <option value="0">January</option> 
        <option value="1">February</option> 
        <option value="3">March</option> 
        <option value="4">April</option> 
        <option value="5">May</option> 
        <option value="6">June</option> 
        <option value="7">July</option> 
        <option value="8">August</option> 
        <option value="9">September</option> 
        <option value="10">October</option> 
        <option value="11">November</option> 
        <option value="12">December</option> 
    </select><br><br> 
    <label for="birthYear">Birth Year:</label> 
    <select id="birthYear" name="birthYear"> 
        <option value="2010">2010</option> 
        <option value="2011">2011</option> 
        <option value="2012">2012</option> 
        <option value="2013">2013</option> 
        <option value="2014">2014</option> 
        <option value="2015">2015</option> 
        <option value="2016">2016</option> 
        <option value="2017">2017</option> 
        <option value="2018">2018</option> 
        <option value="2019">2019</option> 
        <option value="2020">2020</option> 
        <option value="2021">2021</option> 
        <option value="2022">2022</option> 
        <option value="2023">2023</option> 
        <option value="2024">2024</option> 
        <option value="2025">2025</option> 
    </select><br><br> 
    <input type="button" value="Calculate" onclick="calculateYear()"><br><br> 
    <p>Year 7: <span id="year7Entry"></span></p> 
    <p>Year 8: <span id="year8Entry"></span></p> 
    <p>Year 9: <span id="year9Entry"></span></p> 
    <p>Year 10: <span id="year10Entry"></span></p> 
    <p>Year 11: <span id="year11Entry"></span></p> 
    <p>Year 12: <span id="year12Entry"></span></p> 
</form>
<script> 
    function calculateYear() { 
        // Get the birth month and year from the form 
        var birthMonth = parseInt(document.getElementById("birthMonth").value); 
        var birthYear = parseInt(document.getElementById("birthYear").value); 

        // Calculate the year the student will enter Year 7 
        var year7Entry = birthYear + 12; 
        if (birthMonth > 6) { 
            year7Entry++; 
        } 
        // Calculate the year entry from Year 7 
        var year8Entry = year7Entry +1; 
        var year9Entry = year7Entry +2; 
        var year10Entry = year7Entry +3; 
        var year11Entry = year7Entry +4; 
        var year12Entry = year7Entry +5; 

        // Set the calculated year in the form 
        document.getElementById("year7Entry").innerHTML = year7Entry; 
        document.getElementById("year8Entry").innerHTML = year8Entry; 
        document.getElementById("year9Entry").innerHTML = year9Entry; 
        document.getElementById("year10Entry").innerHTML = year10Entry; 
        document.getElementById("year11Entry").innerHTML = year11Entry; 
        document.getElementById("year12Entry").innerHTML = year12Entry; 
    } 
</script>