var now = addDays( new Date(),7);
var day =now.getDate();
var month = now.getMonth(); 

var Ret=addDays( new Date(),14);
var retday=Ret.getDate();
var retmonth=Ret.getMonth();


function setDrops(theForm) {

   theForm.doa_dd.selectedIndex = day;
   theForm.doa_mm.selectedIndex = month;
   theForm.dod_dd.selectedIndex = retday;
   theForm.dod_mm.selectedIndex = retmonth;
}

function addDays(myDate,days) {
    return new Date(myDate.getTime() + days*24*60*60*1000);
}
