STRIVEWIRE Newsletter

Subscribe To Receive Our Free Newsletter Full of Healthy Tips And Information To Help You Lead A Healthier Lifestyle.

Also Receive 4 Free Ebooks on Low Back Pain, Good Posture, Healthy Tips And Arthritis.

Free Ebooks

// <![CDATA[
function echeck4(str) {
var at="@"
var dot="."
var lat=str.indexOf(at)
var lstr=str.length
var ldot=str.indexOf(dot)
if (str.indexOf(at)==-1){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(at,(lat+1))!=-1){
alert("Invalid E-mail ID")
return false
}
if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(dot,(lat+2))==-1){
alert("Invalid E-mail ID")
return false
}
if (str.indexOf(" ")!=-1){
alert("Invalid E-mail ID")
return false
}
return true
}
function check_frm4(){
if(document.showme_frm4.subscriber_firstname.value==""){
alert("Please Enter your Name");
document.showme_frm4.subscriber_firstname.focus();
return false;
}//End If
if(document.showme_frm4.subscriber_email.value==""){
alert("Please Enter your Primary Email");
document.showme_frm4.subscriber_email.focus();
return false;
}//End If
if(echeck4(document.showme_frm4.subscriber_email.value)==false){
document.showme_frm4.subscriber_email.value="";
document.showme_frm4.subscriber_email.focus();
return false;
}//End If
//Add by Jeya Prakash.K On 07-12-08
if(document.showme_frm4.subscriber_usertype.value=="0"){
alert("Please Select Your User Type");
document.showme_frm4.subscriber_usertype.focus();
return false;
}//End If
if(document.getElementById('showme').innerHTML!=""){
return false;
}//End If
return true
}//end If
function CheckMailExist4(email_val){
var url = "http://www.therapynewsletter.com/dev/ajax_addsimulator.php?email="+email_val+"&uid=409&f_submit=showme";
if (window.XMLHttpRequest) {
req1 = new XMLHttpRequest;
}else if (window.ActiveXObject) {
req1 = new ActiveXObject("Microsoft.XMLHTTP");
}//End If
if (req1) {
req1.onreadystatechange = processSavesimulator4;
req1.open("GET",url, true);
req1.send(null);
}else{
alert("Please use latest version of the current browser to function properly");
doesNotSupport = false;
}//End If
}//End Function
function processSavesimulator4() {
if (req1.readyState == 4) {
if (req1.status == 200) {
if(req1.responseText==1){
document.showme_frm4.subscriber_email.value="";
document.showme_frm4.subscriber_email.focus();
alert("Email Already Exist");
document.getElementById('showme').innerHTML="Email Already Exist“;
}else{
document.getElementById(‘showme’).innerHTML=””;
}
}//End If
}//End If
}//End Function
// ]]
// ]]>

Sign Up For Our Exclusive, Free Patient Newsletter! Get 4 Free Ebooks On Posture,Arthritis, Low Back Pain & General Health!
  • Prevention of low back pain
  • Eliminating arthritis
  • Secrets to great posture
  • Overcoming shoulder dysfunction
  • Addressing knee replacements
  • Overcome arthritis
  • Running injuries and the cure
  • Home remedies for neck pain
  • Best endurance exercises
  • Weight loss tips
  • Dealing with chronic pain and fatigue
  • Stroke prevention and treatment
  • Avoiding deep vein thrombosis
  • Family involvement in prevention of heart disease
Name:
Email:
User Type : Select Any Doctor Media Others Patient Client