function openDatePicker(formname, fieldname, thedate, yearrange) { myWindow = window.open('/__cms/datepicker/datepicker.asp?formname=' + formname + '&fieldname=' + fieldname + '&yearrange=' + yearrange + '&d=' + thedate, "datepicker", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=170,height=270'); }