var charCount = 0;
function checkPasteFF(obj) {
        newCharCount = obj.value.length;
        oldCharCount = charCount;       
        charCount = newCharCount;
        if(newCharCount - oldCharCount > 1) {
            pasteEvent( obj );
        } 
}
function pasteEvent( obj ) {
    setTimeout(function () {$('#' + obj.id).val('');}, 10);
    $('#id_card_number').focus();
}

