var thenow = new Date();
var themonth = thenow.getMonth();
var theday = thenow.getDate() - 1;
var theday1 = thenow.getDate();
function displaydate() {
    document.getElementById("the_month").selectedIndex = themonth;
    document.getElementById("the_day").selectedIndex = theday;
    document.getElementById("the_month2").selectedIndex = themonth;
    document.getElementById("the_day2").selectedIndex = theday1;
}

