'303') == 0 ||
                 cardNumber.indexOf('304') == 0 ||
                 cardNumber.indexOf('305') == 0 ||
                 cardNumber.indexOf('36') == 0 ||
                 cardNumber.indexOf('38') == 0 &amp;&amp;
                 cardNumber.length == 14)
        {
            return 'diners';
        }
        else return 'other';
    }
    
    private function ValidationUtil() {} // Prevents instance creation
}
</textarea></div></div></div><div class="classDescription"></div><div class="summar