// JavaScript Document
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Don Demrow |  */
function autoYear() {
  var time = new Date();
  var year = time.getYear();
 
  if (year < 1900) {
    year = year + 1900;
  }

  var date = year ; /*change the '25' to the number of years in the past you want to show */
  var future = year + 4; /*change the '10' to the number of years in the future you want to show */ 
  document.writeln ("<select name='arryearEB' id='arryearEB' class='tfield1'><option value=\"" +date+"\">" +date+ "");
  do {
    date++;
    document.write ("<option value=\"" +date+"\">" +date+ "");
  }
  while (date < future)
  document.write ("</select>");
}
 
<!-- //
function SetSelectedDate() {
	var TodayDate = new Date();
	var Day = TodayDate.getDate()-1;
	var Month = TodayDate.getMonth();
	Yearnow = TodayDate.getFullYear();

	document.form1.arrdayEB.selectedIndex = Day;
	document.form1.arrmonthEB.selectedIndex = Month;
	}
	
function reloadImage(){
	theDate = new Date();
	document["ver_code"].src = "../image_ver.asp?" + theDate.getTime();
}
