$(document).ready(function(){ldelim}
    $('#fm_{$fd_field}').AnyTime_picker(
        {ldelim}
            format: "%Y-%m-%d %H:%i"
        {rdelim} );
{rdelim});

$(document).ready(function(){ldelim}
    $('#fm_{$fd_field}').AnyTime_noPicker();
    $('#fm_{$fd_field}').AnyTime_picker(
        {ldelim}
            format: "%Y-%m-%d %H:%i"
        {rdelim} );
{rdelim});

Remove any existing anytime picker before adding one
Remove any existing anytime picker before adding one

