//---------General Enquery----------// function validate() { if (document.getElementById("txtDescription").value.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g, '').replace(/\s+/g, ' ').length == 0) { document.getElementById("txtDescription").focus(); alert("Kindly Fill Description"); return false; } else if (document.getElementById("txtName").value.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g, '').replace(/\s+/g, ' ').length == 0) { document.getElementById("txtName").focus(); alert("Kindly Fill Name"); return false; } else if (document.getElementById("txtAddress").value.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g, '').replace(/\s+/g, ' ').length == 0) { document.getElementById("txtAddress").focus(); alert("Kindly Fill Address"); return false; } else if (document.getElementById("txtCity").value.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g, '').replace(/\s+/g, ' ').length == 0) { document.getElementById("txtCity").focus(); alert("Kindly Fill City"); return false; } else if (document.getElementById("OptionCountry").options[document.getElementById("OptionCountry").selectedIndex].text == "Select Country") { document.getElementById("OptionCountry").focus(); alert("Kindly Select Country"); return false; } else if (document.getElementById("txtPhone").value.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g, '').replace(/\s+/g, ' ').length == 0) { document.getElementById("txtPhone").focus(); alert("Kindly Fill Phone or Mobile No"); return false; } else if (document.getElementById("txtEmail").value.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g, '').replace(/\s+/g, ' ').length < 10) { document.getElementById("txtEmail").focus(); alert("Kindly Fill Email id."); return false; } else if (document.getElementById("txtEmail").value.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g, '').replace(/\s+/g, ' ').length > 0) { var emailPat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/; var emailid = document.getElementById("txtEmail").value; var matchArray = emailid.match(emailPat); if (matchArray == null) { alert("Email Address is not in Correct Formate"); document.getElementById("txtEmail").focus(); return false; } else { return true; } } } //---------General Enquery End----------// function numbersonly(e) { var unicode = e.charCode ? e.charCode : e.keyCode if (unicode >= 48 && unicode <= 57) { return true; } else { if (unicode == 8 || unicode == 9 || unicode == 40 || unicode == 41 || unicode == 45 || unicode == 44 || unicode == 43 || unicode == 32 || unicode == 107) { return true; } else { alert("Kindly Enter only Numeric Value"); return false; } } } function textCounter(field, counter, maxlimit, linecounter) { // text width// var fieldWidth = parseInt(field.offsetWidth); var charcnt = field.value.length; // trim the extra text if (charcnt > maxlimit) { field.value = field.value.substring(0, maxlimit); } else { // progress bar percentage var percentage = parseInt(100 - ((maxlimit - charcnt) * 100) / maxlimit); //document.getElementById(counter).style.width = parseInt((fieldWidth * percentage) / 100) + "px"; document.getElementById(counter).innerHTML = "Limit: " + percentage + "%" // color correction on style from CCFFF -> CC0000 setcolor(document.getElementById(counter), percentage, "background-color"); } } function setcolor(obj, percentage, prop) { obj.style[prop] = "rgb(80%," + (100 - percentage) + "%," + (100 - percentage) + "%)"; }
Shudhikaran Drug De Addiction Center

SHUDDHIKARAN DRUG DE ADDICTION CENTER

Hanuman Mandir Road Near Apollo Clinic,Betiyahata ,Gorakhpur

Branch : Near DIG Bungalow,Bilandpur ,Gorakhpur

हनुमान मंदिर रोड के निकट अपोलो क्लिनिक, बेतियाहाता, गोरखपुर

निकट डीआईजी बंगला , बिलंदपुर, गोरखपुर

CONTACT US : +91-8574454801, 8182055247

FEEDBACK FORM