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(); } }

Restorative Services

There are a variety of filling materials available today. The challenge is to determine the best and most appropriate material for the procedure and to recognize the weaknesses and strengths of the materials. There is no one material that will fit all needs.

One of the most common and easily recognized fillings is the silver or amalgam filling. These fillings have been used successfully for decades. They are durable, predicable, and cost effective. The drawback is that they are not attractive when they can be seen in a smile. To date, there is no scientific evidence that there is any health risk related to silver fillings. A study published in The Journal of the American Dental Association, (February, 2008) studied a group of 507 children age 8-12 beginning in 1997. The study followed the children based on using silver fillings vs. white fillings and evaluated the neurological impact on the developing children. The conclusion of the study was: “This study fails to show that exposure to mercury in childhood as a consequence of treatment with silver/amalgam restorations is associated with a higher frequency of NSS’s (neurological soft signs) in childhood and adolescence”. The study further states: “This study results show clearly that children exposed to elemental mercury from dental amalgam, do not differ from similar children without amalgam exposure in terms of gross and fine neurological development”.