function Focus$function_name(event) {
document.getElementById(event.data.id).value='$date';
return 0;
}
</script>
-