var code; function createCaptcha() { //clear the contents of captcha div first document.getElementById('captcha').innerHTML = ""; var charsArray = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@!#$%^&*"; var lengthOtp = 6; var captcha = []; for (var i = 0; i < lengthOtp; i++) { //below code will not allow Repetition of Characters var index = Math.floor(Math.random() * charsArray.length + 1); //get the next character from the array if (captcha.indexOf(charsArray[index]) == -1) captcha.push(charsArray[index]); else i--; } var canv = document.createElement("canvas"); = "captcha"; canv.width = 100; canv.height = 50; var ctx = canv.getContext("2d"); ctx.font = "25px Georgia"; ctx.strokeText(captcha.join(""), 0, 30); //storing captcha so that can validate you can save it somewhere else according to your specific requirements code = captcha.join(""); document.getElementById("captcha").appendChild(canv); // adds the canvas to the body element } function validateCaptcha() { event.preventDefault(); debugger if (document.getElementById("cpatchaTextBox").value == code) { alert("Valid Captcha") }else{ alert("Invalid Captcha. try Again"); createCaptcha(); } }


About our practice


We are a general dentistry team. Team members have worked together for many years and understand the importance of kind and gentle care. We have an emphasis on preventive, restorative, cosmetic, and implant dentistry. We believe in an interdisciplinary approach to patient care. This means that we involve our credentialed specialists in developing patient treatments to assure the best outcomes in patient treatment. We are not a “One Stop Shop”. Our goal is to help you and your families establish and maintain excellent oral health for a lifetime.

Mission Statement

We, as a professional dental team, will approach each of our patients with compassion and genuine concern for their well-being. Through personal relationships we will make every effort to understand our patient’s needs and help them to accomplish their desired dental health goals. With personal commitments to excellence and professionalism, we will educate our patients so that they will gain an understanding and appreciate the importance of good oral health.