var d = new Date();var dy = d.getYear();function monthmenu(){	dy = d.getYear();	var dm = d.getMonth();	var mm ="";	var mv ="";	if ( dy < 2000 ) {		dy = dy - 100 + 2000;	}	for( i=1; i<13 ; i++ ) {		dm = dm +1;		if ( dm >12 ) {			dm = 1;			dy = dy + 1;		}		if ( dm <10 ) {			mm = "0" + dm;			mv = dm + "  ";		} else {			mm = dm;			mv = dm;		}		this.document.search_form.p_month.options[i] = new Option( mv, dy+"/"+ mm +"/01" );	}}function datemenu() {	document.search_form.p_dd.length = 1;	document.search_form.p_dd.options[0].text = "  ";	selMonth = eval( document.search_form.p_month.options[document.search_form.p_month.selectedIndex].text );	if ( selMonth != "" ) { 		mld = new Date(dy, selMonth, 1);		mld.setDate(0);		brk = mld.getDate();		for ( i = 1 ; i <= brk ; i++) {			document.search_form.p_dd.length = i +1;			document.search_form.p_dd.options[i].text = i ;		}	}}  function setSub(){ document.search_form.submit();}function setRe(){	document.search_form.reset();} 
