function viewCal(objName){ with(document.cscform){ __calendar.value = objName; } window.open("CALENDAR.htm","Help","left=350,top=250,width=280,height=190,toolbar=no,status=no,scrollbars=no"); }