function fill_picker()
{
var months = '';
months = months.split('*');
var elSel = document.getElementById('month');
var i = 0;
elSel.remove(0);
while(i < months.length) {
if(elSel.length < 12) {
var elOptNew = document.createElement('option');
elOptNew.text = months[i];
elOptNew.value = (i+1);
elSel.add(elOptNew);
} else {elSel.selectedIndex = 0;}
i++;
}
var elSel = document.getElementById('day');
var i = 1;
elSel.remove(0);
while(i < 32) {
if(elSel.length < 31) {
var elOptNew = document.createElement('option');
elOptNew.text = i;
elOptNew.value = i;
elSel.add(elOptNew);
} else {elSel.selectedIndex = 0;}
i++;
}
var elSel = document.getElementById('year');
elSel.remove(0);
var i = 2007;
while(i > 1925) {
if(elSel.length < 100) {
var elOptNew = document.createElement('option');
elOptNew.text = i;
elOptNew.value = i;
elSel.add(elOptNew);
} else {elSel.selectedIndex = 0;}
i--;
}
}