

var oDP = null;
function init()
{
   oDate = new Date();if (document.getElementById('divDatePicker') != null) 
   oDP   = new frameDatePicker.DatePicker("divDatePicker", oDate.getFullYear()-5, oDate.getFullYear()+5);

   // If you want Sunday as first day of the week use this construction call instead:
   // oDP = new frameDatePicker.DatePicker("divDatePicker", oDate.getFullYear()-2, oDate.getFullYear()+5, true);

   // Use another init year/month than todays. 0=Jan, 11=Dec
   //oDP.setInitDate(2003, 0);
}
