function startyear(b,a){document.write('<select class="jumpmenu"  id="cal_SY" name="SY">');for(i=b.getFullYear();i<(a.getFullYear()+1);i++){document.write('<option value="'+i+'">'+i+"</option>")}document.write("</select>")}function lefttwo(b){var a=b;if(a!=null&&a!=" "){a="00"+a;a=a.substring(a.length-2,a.length);if(a=="0"){a==""}}return a}function startmonth(){document.write('<select class="jumpmenu"  id="cal_SM" name="SM">');for(i=1;i<13;i++){document.write('<option value="'+i+'">'+lefttwo(i)+"</option>")}document.write("</select>")};