function fillthreeday(Otext1,Otext2){                           
 	var day1,day2,iYear,iMonth,iMonth,iDay,strYear,strMonth,strDay
  day2=new Date();                                              
  day1=new Date(day2.getTime()-(2*24*60*60*1000));              
                                                                
	iYear = day1.getFullYear();                                   
	iMonth = day1.getMonth() + 1;                                 
	iDay = day1.getDate();                                        
	strYear = iYear.toString();                                   
	strMonth = (iMonth > 9) ? iMonth : ('0' + iMonth);            
	strDay = (iDay > 9) ? iDay : ('0' + iDay);                    
	Otext1.value=strYear+"-"+strMonth+"-"+strDay;                 
                                                              
	iYear = day2.getFullYear();                                   
	iMonth = day2.getMonth() + 1;                                 
	iDay = day2.getDate();                                        
	strYear = iYear.toString();                                   
	strMonth = (iMonth > 9) ? iMonth : ('0' + iMonth);            
	strDay = (iDay > 9) ? iDay : ('0' + iDay);                    
  Otext2.value=strYear+"-"+strMonth+"-"+strDay;                 
}                                                               