<!-- Original:  Ben McFarlin (mcfarlin@netscape.net) -->
<!-- Web Site:  http://sites.netscape.net/mcfarlin -->
<!-- Changes:   Kazimeras Radivilovichus (kazik@e-paslaugos.lt) -->
<!-- Web Site:  http://www.e-paslaugos.lt -->
<!-- changed for multiusage on the site -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function populate_date(objForm,selectIndex,obj1,obj2,obj3) {
timeA = new Date(obj1.options[obj1.selectedIndex].text, obj2.options[obj2.selectedIndex].value,1);
timeDifference = timeA - 86400000;
timeB = new Date(timeDifference);
var daysInMonth = timeB.getDate();
for (var i = 0; i < obj3.length; i++) {
obj3.options[0] = null;
}
for (var i = 0; i < daysInMonth; i++) {
obj3.options[i] = new Option(i+1);
}
}
//  End -->

