
function Selectdate(){ 
if (document.Month.myList.value == "January") { document.autoSumForm.Month1.value = "January"; }
if (document.Month.myList.value == "February") { document.autoSumForm.Month1.value = "February"; }
if (document.Month.myList.value == "March") { document.autoSumForm.Month1.value = "March"; }
if (document.Month.myList.value == "April") { document.autoSumForm.Month1.value = "April"; }
if (document.Month.myList.value == "May") { document.autoSumForm.Month1.value = "May"; }
if (document.Month.myList.value == "June") { document.autoSumForm.Month1.value = "June"; }
if (document.Month.myList.value == "July") { document.autoSumForm.Month1.value = "July"; }
if (document.Month.myList.value ==  "August") { document.autoSumForm.Month1.value = "August"; }
if (document.Month.myList.value == "September") { document.autoSumForm.Month1.value = "September"; }
if (document.Month.myList.value == "October") { document.autoSumForm.Month1.value = "October"; }
if (document.Month.myList.value == "November") { document.autoSumForm.Month1.value = "November"; }
if (document.Month.myList.value == "December") { document.autoSumForm.Month1.value = "December"; }

if (document.autoSumForm.Month1.value == "December") { document.autoSumForm.Month2.value = "January"; }
if (document.autoSumForm.Month1.value == "January") { document.autoSumForm.Month2.value = "February"; }
if (document.autoSumForm.Month1.value == "February") { document.autoSumForm.Month2.value = "March"; }
if (document.autoSumForm.Month1.value == "March") { document.autoSumForm.Month2.value = "April"; }
if (document.autoSumForm.Month1.value == "April") { document.autoSumForm.Month2.value = "May"; }
if (document.autoSumForm.Month1.value == "May") { document.autoSumForm.Month2.value = "June"; }
if (document.autoSumForm.Month1.value == "June") { document.autoSumForm.Month2.value = "July"; }
if (document.autoSumForm.Month1.value == "July") { document.autoSumForm.Month2.value = "August"; }
if (document.autoSumForm.Month1.value == "August") { document.autoSumForm.Month2.value = "September"; }
if (document.autoSumForm.Month1.value == "September") { document.autoSumForm.Month2.value = "October"; }
if (document.autoSumForm.Month1.value == "October") { document.autoSumForm.Month2.value = "November"; }
if (document.autoSumForm.Month1.value == "November") { document.autoSumForm.Month2.value = "December"; }

if (document.autoSumForm.Month2.value == "December") { document.autoSumForm.Month3.value = "January"; }
if (document.autoSumForm.Month2.value == "January") { document.autoSumForm.Month3.value = "February"; }
if (document.autoSumForm.Month2.value == "February") { document.autoSumForm.Month3.value = "March"; }
if (document.autoSumForm.Month2.value == "March") { document.autoSumForm.Month3.value = "April"; }
if (document.autoSumForm.Month2.value == "April") { document.autoSumForm.Month3.value = "May"; }
if (document.autoSumForm.Month2.value == "May") { document.autoSumForm.Month3.value = "June"; }
if (document.autoSumForm.Month2.value == "June") { document.autoSumForm.Month3.value = "July"; }
if (document.autoSumForm.Month2.value == "July") { document.autoSumForm.Month3.value = "August"; }
if (document.autoSumForm.Month2.value == "August") { document.autoSumForm.Month3.value = "September"; }
if (document.autoSumForm.Month2.value == "September") { document.autoSumForm.Month3.value = "October"; }
if (document.autoSumForm.Month2.value == "October") { document.autoSumForm.Month3.value = "November"; }
if (document.autoSumForm.Month2.value == "November") { document.autoSumForm.Month3.value = "December"; }


if (document.autoSumForm.Month3.value == "December") { document.autoSumForm.Month4.value = "January"; }
if (document.autoSumForm.Month3.value == "January") { document.autoSumForm.Month4.value = "February"; }
if (document.autoSumForm.Month3.value == "February") { document.autoSumForm.Month4.value = "March"; }
if (document.autoSumForm.Month3.value == "March") { document.autoSumForm.Month4.value = "April"; }
if (document.autoSumForm.Month3.value == "April") { document.autoSumForm.Month4.value = "May"; }
if (document.autoSumForm.Month3.value == "May") { document.autoSumForm.Month4.value = "June"; }
if (document.autoSumForm.Month3.value == "June") { document.autoSumForm.Month4.value = "July"; }
if (document.autoSumForm.Month3.value == "July") { document.autoSumForm.Month4.value = "August"; }
if (document.autoSumForm.Month3.value == "August") { document.autoSumForm.Month4.value = "September"; }
if (document.autoSumForm.Month3.value == "September") { document.autoSumForm.Month4.value = "October"; }
if (document.autoSumForm.Month3.value == "October") { document.autoSumForm.Month4.value = "November"; }
if (document.autoSumForm.Month3.value == "November") { document.autoSumForm.Month4.value = "December"; }

if (document.autoSumForm.Month4.value == "December") { document.autoSumForm.Month5.value = "January"; }
if (document.autoSumForm.Month4.value == "January") { document.autoSumForm.Month5.value = "February"; }
if (document.autoSumForm.Month4.value == "February") { document.autoSumForm.Month5.value = "March"; }
if (document.autoSumForm.Month4.value == "March") { document.autoSumForm.Month5.value = "April"; }
if (document.autoSumForm.Month4.value == "April") { document.autoSumForm.Month5.value = "May"; }
if (document.autoSumForm.Month4.value == "May") { document.autoSumForm.Month5.value = "June"; }
if (document.autoSumForm.Month4.value == "June") { document.autoSumForm.Month5.value = "July"; }
if (document.autoSumForm.Month4.value == "July") { document.autoSumForm.Month5.value = "August"; }
if (document.autoSumForm.Month4.value == "August") { document.autoSumForm.Month5.value = "September"; }
if (document.autoSumForm.Month4.value == "September") { document.autoSumForm.Month5.value = "October"; }
if (document.autoSumForm.Month4.value == "October") { document.autoSumForm.Month5.value = "November"; }
if (document.autoSumForm.Month4.value == "November") { document.autoSumForm.Month5.value = "December"; }


if (document.autoSumForm.Month5.value == "December") { document.autoSumForm.Month6.value = "January"; }
if (document.autoSumForm.Month5.value == "January") { document.autoSumForm.Month6.value = "February"; }
if (document.autoSumForm.Month5.value == "February") { document.autoSumForm.Month6.value = "March"; }
if (document.autoSumForm.Month5.value == "March") { document.autoSumForm.Month6.value = "April"; }
if (document.autoSumForm.Month5.value == "April") { document.autoSumForm.Month6.value = "May"; }
if (document.autoSumForm.Month5.value == "May") { document.autoSumForm.Month6.value = "June"; }
if (document.autoSumForm.Month5.value == "June") { document.autoSumForm.Month6.value = "July"; }
if (document.autoSumForm.Month5.value == "July") { document.autoSumForm.Month6.value = "August"; }
if (document.autoSumForm.Month5.value == "August") { document.autoSumForm.Month6.value = "September"; }
if (document.autoSumForm.Month5.value == "September") { document.autoSumForm.Month6.value = "October"; }
if (document.autoSumForm.Month5.value == "October") { document.autoSumForm.Month6.value = "November"; }
if (document.autoSumForm.Month5.value == "November") { document.autoSumForm.Month6.value = "December"; }

if (document.autoSumForm.Month6.value == "December") { document.autoSumForm.Month7.value = "January"; }
if (document.autoSumForm.Month6.value == "January") { document.autoSumForm.Month7.value = "February"; }
if (document.autoSumForm.Month6.value == "February") { document.autoSumForm.Month7.value = "March"; }
if (document.autoSumForm.Month6.value == "March") { document.autoSumForm.Month7.value = "April"; }
if (document.autoSumForm.Month6.value == "April") { document.autoSumForm.Month7.value = "May"; }
if (document.autoSumForm.Month6.value == "May") { document.autoSumForm.Month7.value = "June"; }
if (document.autoSumForm.Month6.value == "June") { document.autoSumForm.Month7.value = "July"; }
if (document.autoSumForm.Month6.value == "July") { document.autoSumForm.Month7.value = "August"; }
if (document.autoSumForm.Month6.value == "August") { document.autoSumForm.Month7.value = "September"; }
if (document.autoSumForm.Month6.value == "September") { document.autoSumForm.Month7.value = "October"; }
if (document.autoSumForm.Month6.value == "October") { document.autoSumForm.Month7.value = "November"; }
if (document.autoSumForm.Month6.value == "November") { document.autoSumForm.Month7.value = "December"; }

if (document.autoSumForm.Month7.value == "December") { document.autoSumForm.Month8.value = "January"; }
if (document.autoSumForm.Month7.value == "January") { document.autoSumForm.Month8.value = "February"; }
if (document.autoSumForm.Month7.value == "February") { document.autoSumForm.Month8.value = "March"; }
if (document.autoSumForm.Month7.value == "March") { document.autoSumForm.Month8.value = "April"; }
if (document.autoSumForm.Month7.value == "April") { document.autoSumForm.Month8.value = "May"; }
if (document.autoSumForm.Month7.value == "May") { document.autoSumForm.Month8.value = "June"; }
if (document.autoSumForm.Month7.value == "June") { document.autoSumForm.Month8.value = "July"; }
if (document.autoSumForm.Month7.value == "July") { document.autoSumForm.Month8.value = "August"; }
if (document.autoSumForm.Month7.value == "August") { document.autoSumForm.Month8.value = "September"; }
if (document.autoSumForm.Month7.value == "September") { document.autoSumForm.Month8.value = "October"; }
if (document.autoSumForm.Month7.value == "October") { document.autoSumForm.Month8.value = "November"; }
if (document.autoSumForm.Month7.value == "November") { document.autoSumForm.Month8.value = "December"; }


if (document.autoSumForm.Month8.value == "December") { document.autoSumForm.Month9.value = "January"; }
if (document.autoSumForm.Month8.value == "January") { document.autoSumForm.Month9.value = "February"; }
if (document.autoSumForm.Month8.value == "February") { document.autoSumForm.Month9.value = "March"; }
if (document.autoSumForm.Month8.value == "March") { document.autoSumForm.Month9.value = "April"; }
if (document.autoSumForm.Month8.value == "April") { document.autoSumForm.Month9.value = "May"; }
if (document.autoSumForm.Month8.value == "May") { document.autoSumForm.Month9.value = "June"; }
if (document.autoSumForm.Month8.value == "June") { document.autoSumForm.Month9.value = "July"; }
if (document.autoSumForm.Month8.value == "July") { document.autoSumForm.Month9.value = "August"; }
if (document.autoSumForm.Month8.value == "August") { document.autoSumForm.Month9.value = "September"; }
if (document.autoSumForm.Month8.value == "September") { document.autoSumForm.Month9.value = "October"; }
if (document.autoSumForm.Month8.value == "October") { document.autoSumForm.Month9.value = "November"; }
if (document.autoSumForm.Month8.value == "November") { document.autoSumForm.Month9.value = "December"; }


if (document.autoSumForm.Month9.value == "December") { document.autoSumForm.Month10.value = "January"; }
if (document.autoSumForm.Month9.value == "January") { document.autoSumForm.Month10.value = "February"; }
if (document.autoSumForm.Month9.value == "February") { document.autoSumForm.Month10.value = "March"; }
if (document.autoSumForm.Month9.value == "March") { document.autoSumForm.Month10.value = "April"; }
if (document.autoSumForm.Month9.value == "April") { document.autoSumForm.Month10.value = "May"; }
if (document.autoSumForm.Month9.value == "May") { document.autoSumForm.Month10.value = "June"; }
if (document.autoSumForm.Month9.value == "June") { document.autoSumForm.Month10.value = "July"; }
if (document.autoSumForm.Month9.value == "July") { document.autoSumForm.Month10.value = "August"; }
if (document.autoSumForm.Month9.value == "August") { document.autoSumForm.Month10.value = "September"; }
if (document.autoSumForm.Month9.value == "September") { document.autoSumForm.Month10.value = "October"; }
if (document.autoSumForm.Month9.value == "October") { document.autoSumForm.Month10.value = "November"; }
if (document.autoSumForm.Month9.value == "November") { document.autoSumForm.Month10.value = "December"; }

if (document.autoSumForm.Month10.value == "December") { document.autoSumForm.Month11.value = "January"; }
if (document.autoSumForm.Month10.value == "January") { document.autoSumForm.Month11.value = "February"; }
if (document.autoSumForm.Month10.value == "February") { document.autoSumForm.Month11.value = "March"; }
if (document.autoSumForm.Month10.value == "March") { document.autoSumForm.Month11.value = "April"; }
if (document.autoSumForm.Month10.value == "April") { document.autoSumForm.Month11.value = "May"; }
if (document.autoSumForm.Month10.value == "May") { document.autoSumForm.Month11.value = "June"; }
if (document.autoSumForm.Month10.value == "June") { document.autoSumForm.Month11.value = "July"; }
if (document.autoSumForm.Month10.value == "July") { document.autoSumForm.Month11.value = "August"; }
if (document.autoSumForm.Month10.value == "August") { document.autoSumForm.Month11.value = "September"; }
if (document.autoSumForm.Month10.value == "September") { document.autoSumForm.Month11.value = "October"; }
if (document.autoSumForm.Month10.value == "October") { document.autoSumForm.Month11.value = "November"; }
if (document.autoSumForm.Month10.value == "November") { document.autoSumForm.Month11.value = "December"; }

if (document.autoSumForm.Month11.value == "December") { document.autoSumForm.Month12.value = "January"; }
if (document.autoSumForm.Month11.value == "January") { document.autoSumForm.Month12.value = "February"; }
if (document.autoSumForm.Month11.value == "February") { document.autoSumForm.Month12.value = "March"; }
if (document.autoSumForm.Month11.value == "March") { document.autoSumForm.Month12.value = "April"; }
if (document.autoSumForm.Month11.value == "April") { document.autoSumForm.Month12.value = "May"; }
if (document.autoSumForm.Month11.value == "May") { document.autoSumForm.Month12.value = "June"; }
if (document.autoSumForm.Month11.value == "June") { document.autoSumForm.Month12.value = "July"; }
if (document.autoSumForm.Month11.value == "July") { document.autoSumForm.Month12.value = "August"; }
if (document.autoSumForm.Month11.value == "August") { document.autoSumForm.Month12.value = "September"; }
if (document.autoSumForm.Month11.value == "September") { document.autoSumForm.Month12.value = "October"; }
if (document.autoSumForm.Month11.value == "October") { document.autoSumForm.Month12.value = "November"; }
if (document.autoSumForm.Month11.value == "November") { document.autoSumForm.Month12.value = "December"; }


if (document.autoSumForm.Month12.value == "January" ) { document.Head.Monthending.value = " - year ending" + " " + "January" + " " +document.Month.YearEnding.value ; }
if (document.autoSumForm.Month12.value == "February" ) { document.Head.Monthending.value = " - year ending" + " " + "February" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "March" ) { document.Head.Monthending.value = " - year ending" + " " + "March" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "April" ) { document.Head.Monthending.value = " - year ending" + " " + "April" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "May" ) { document.Head.Monthending.value = " - year ending" + " " + "May" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "June" ) { document.Head.Monthending.value = " - year ending" + " " + "June" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "July" ) { document.Head.Monthending.value = " - year ending" + " " + "July" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "August" ) { document.Head.Monthending.value = " - year ending" + " " + "August" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "September" ) { document.Head.Monthending.value = " - year ending" + " " + "September" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "October" ) { document.Head.Monthending.value = " - year ending" + " " + "October" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "November" ) { document.Head.Monthending.value = " - year ending" + " " + "November" + " " +document.Month.YearEnding.value; }
if (document.autoSumForm.Month12.value == "December" ) { document.Head.Monthending.value = " - year ending" + " " + "December" + " " +document.Month.YearEnding.value; }


} 

