42



// Credit Card Validation Javascript
// copyright 12th May 2003, by Stephen Chapman, Felgall Pty Ltd

// You have permission to copy and use this javascript provided that
// the content of the script is not changed in any way.

function validateCreditCard(s) {
function cardval(s) {
// remove non-numerics
var v = "0123456789";
var w = "";
for (i=0; i < s.length; i++) {
x = s.charAt(i);
if (v.indexOf(x,0) != -1)
w += x;
}
// validate number
j = w.length / 2;
if (j < 6.5 || j > 8 || j == 7) return false;
k = Math.floor(j);
m = Math.ceil(j) - k;
c = 0;
for (i=0; i<k; i++) {
a = w.charAt(i*2+m) * 2;
c += a > 9 ? Math.floor(a/10 + a%10) : a;
}
for (i=0; i<k+m; i++) c += w.charAt(i*2+1-m) * 1;
return (c%10 == 0);
}

Post a Comment

  1. Be that as it may, even in this colossally aggressive industry, there are still just two principle sorts of card accessible - the Visa card and the MasterCard. buy dumps

    ReplyDelete
  2. Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also paypal vcc

    ReplyDelete
  3. I am happy to find this post very useful for me, as it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Thanks for sharing. DIY Credit Repair Kit

    ReplyDelete
  4. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. 컬쳐랜드 현금화

    ReplyDelete
  5. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! Hacking Forum

    ReplyDelete
  6. At the point when you make buy at any dealer you sign a little receipt recognizing you will pay same add up to your credit card organization.
    credit card debt relief

    ReplyDelete
  7. A decent option to Paypal, Netletter VCC offers a prepaid ace card and joining is for nothing out of pocket. Use costs per exchange. vcc for paypal

    ReplyDelete
  8. Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know. best credit monitoring service free

    ReplyDelete
  9. before you buy some very expensive SEO Tools, always look for a review first before you invest on them; web design company los angeles

    ReplyDelete
  10. I’ve been exploring for a bit for any high quality articles or blog posts on this kind of area . Exploring in Yahoo I at last stumbled upon this web site. Reading this information So i’m happy to convey that I have a very good uncanny feeling I discovered exactly what I needed. I most certainly will make sure to don’t forget this website and give it a glance on a constant basis. design firms los angeles

    ReplyDelete
  11. Needed to compose you a tiny note to finally thank you very much yet again for your personal splendid methods you have discussed above. It is strangely open-handed with people like you to provide publicly all that a number of people would have marketed as an electronic book to generate some bucks for their own end, primarily now that you could possibly have tried it if you ever wanted. These inspiring ideas likewise acted like a fantastic way to know that the rest have the same dreams really like my personal own to see a whole lot more concerning this problem. I’m sure there are thousands of more enjoyable times in the future for many who check out your blog. top web design companies

    ReplyDelete
  12. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. 정보이용료 현금화

    ReplyDelete
  13. Wow, this is really interesting reading. I am glad I found this and got to read it. Great job on this content. I like it. marketing1on1 backlinks

    ReplyDelete
  14. This blog is really great. The information here will surely be of some help to me. Thanks!. marketing 1on1

    ReplyDelete
  15. This type of message always inspiring and I prefer to read quality content, so happy to find good place to many here in the post, the writing is just great, thanks for the post. 정보이용료 현금화

    ReplyDelete
  16. A report gave by Deloitte in 2011 uncovered that the UK's biggest organizations were perched on £60 billion of inefficient working capital. Financial planner

    ReplyDelete
  17. Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!Thanks 정보이용료 현금화

    ReplyDelete
  18. All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks 소액결제 현금화

    ReplyDelete
  19. That is really nice to hear. thank you for the update and good luck. SEO Agentur Frankfurt

    ReplyDelete
  20. Your credit score is a significant in any money related exchange that you make or expect making in future. So it's acceptable you realize what precisely your score is, comprehend its importance and figure out how you can improve it if it's bad enough. card dumps

    ReplyDelete
  21. For professional woodworking and carpentry, do NOT rely on the traditional tools but trust these best table saw if you love your job! SEO Agency In Melbourne

    ReplyDelete
  22. This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great. Dofollow SEO Backlink blog comments

    ReplyDelete
  23. This substance is composed exceptionally well. Your utilization of arranging while mentioning your focuses makes your objective facts clear and straightforward. Much obliged to you. maximum credit score

    ReplyDelete
  24. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks Blackhat SEO

    ReplyDelete
  25. Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. quality backlink

    ReplyDelete
  26. When you're looking for top-rated luxury transportation companies for car shipping, we are the right option in this matter. We are a car transportation company that can Cargo and freight transportation. You can trust as we take care of your car as if it was our own. Call us at (800) 392-1446! credit restoration company

    ReplyDelete
  27. Link building is one of the fundamental factors in position ranking for Google. It consists of building up the link profile of your site with high-quality and reputable domains. This Gig provides high-quality and natural link building for your project! Low Obl

    ReplyDelete
  28. Merely a smiling visitant here to share the love (:, btw outstanding style. SEO Service on Fiverr

    ReplyDelete
  29. In this particular article, you will see a summary, satisfy browse this post. pinjaman online terbaik

    ReplyDelete
  30. Thank you very much for this great post. seo backlink

    ReplyDelete
  31. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. unique domain backlinks

    ReplyDelete
  32. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. Microsoft Dynamics 365 Business Central Credit Card Processing

    ReplyDelete
  33. I have as of late begun a web journal, the data you give on this website has helped me incredibly. A debt of gratitude is in order for the greater part of your time and work. https://mycreditfocus.com/myfico-forums/

    ReplyDelete
  34. Extremely informative. I wanted to thank you for this excellent post. I surely enjoyed each little bit of it and I have you bookmarked to check out more new stuff you post in the future. i love this blog so much.it is very much informative..

    visit us: Oberon Rosequartz
    reachtruck kopen

    ReplyDelete
  35. There are many reasons why a company would utilize a credit card machine rental. Perhaps your company is has been invited to participate in a trade show or is running a special one-time promotion at a location other than the normal store front. Tellthebell

    ReplyDelete
  36. Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. credit card for beginners

    ReplyDelete
  37. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. https://best-seo-singapore.sitey.me/

    ReplyDelete
  38. Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck. Officialbopkingdlow

    ReplyDelete

 
Top