<SELECT id=timeperiod_begin_year style="WIDTH: 61px; HEIGHT: 24px" name=timeperiod_begin_year> <% for i=2002 to 2011 %> <OPTION value=<%=i%> <% if year(now())=i then Response.Write " selected" %>><%=i%></OPTION> <% next %> </SELECT> <SELECT id=timeperiod_begin_month style="WIDTH: 47px; HEIGHT: 24px" name=timeperiod_begin_month> <% for i=1 to 12 %> <OPTION value=<%=i%> <% if month(now())=i then Response.Write " selected" %>><%=i%></OPTION> <% next %> </SELECT> <SELECT id=timeperiod_begin_day style="WIDTH: 40px; HEIGHT: 24px" name=timeperiod_begin_day> <% for j=1 to 31 %> <OPTION value=<%=j%> <% if j=1 then Response.Write " selected" %>><%=j%></OPTION> <% next %> </SELECT>