<!-- hide script from old browsers 

function checkform() {
  var wherecheck = 1;
  for (i=0;i<4;i++) {
    if (document.form1.whereFrom[i].checked) wherecheck=0; }
    if (document.form1.name.value == '') {alert ('Please enter your name');}
    else if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.form1.email.value)) {alert ('Please enter a valid email address');}
    else if (document.form1.subject.value == '') {alert ('Please select your reason for contact');}
    else if (document.form1.message.value == '') {alert ('Please enter your message');}
    else if (wherecheck) { alert ('Please select how you found us');}
    else {document.form1.submit();}
}

function frmCalculate(theForm){
 if(isNaN(theForm.txtInvestment.value)){theForm.txtInvestment.value=1;}
 if(isNaN(theForm.txtVolume.value)){theForm.txtVolume.value=0;}
 if(isNaN(theForm.txtConversion.value)){theForm.txtConversion.value=0;}
 if(isNaN(theForm.txtPrice.value)){theForm.txtPrice.value=1;}
 theForm.txtReturn.value=(theForm.txtVolume.value)*(theForm.txtConversion.value)/100*(theForm.txtPrice.value);
 if(theForm.txtReturn.value!=0){
   theForm.txtMonths.value=Math.round(300*theForm.txtInvestment.value/theForm.txtReturn.value)/12;
 } else {
   theForm.txtMonths.value="!Error";
   }
}

function open_about(){window.open('/about.html', 'about', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=375,height=400') ;}
function open_seodef(){window.open('/seo.html', 'seodef', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=375,height=400') ;}
function open_tellfriend(){window.open('/tell-friend.html', 'tellfriend', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=444,height=400') ;}
function open_linktosite(){window.open('/linktosite.html', 'linktosite', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=444,height=400') ;}
function open_contact(){window.open('/contact.html', 'contact', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=444,height=430') ;}
function open_inbdmain(){window.open('/inbdmain.html', 'inbdmain', 'menubar=0,location=0,scrollbars=0,resizable=1,status=0,width=670,height=440') ;}
function open_sendtest(){window.open('/sendtestimonial.html', 'sendtest', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=444,height=400') ;}
function open_linking(){window.open('/linking.html', 'linking', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=444,height=430') ;}
function open_compare(){window.open('seo-course-chart.html', 'compare', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=735,height=520') ;}
function open_freebook(){window.open('free-ebook.html', 'linking', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=444,height=430') ;}
function open_rank(){window.open('google-rank.php', 'rank', 'left=0,top=0,menubar=0,location=0,scrollbars=1,toolbar=1,resizable=1,status=1,width=800,height=600') ;}

function returnDate() {
    var this_month = new Array(12);
    this_month[0]  = "January";
    this_month[1]  = "February";
    this_month[2]  = "March";
    this_month[3]  = "April";
    this_month[4]  = "May";
    this_month[5]  = "June";
    this_month[6]  = "July";
    this_month[7]  = "August";
    this_month[8]  = "September";
    this_month[9]  = "October";
    this_month[10] = "November";
    this_month[11] = "December";

    var this_day = new Array(7);
    this_day[0]  = "Sunday";
    this_day[1]  = "Monday";
    this_day[2]  = "Tuesday";
    this_day[3]  = "Wednesday";
    this_day[4]  = "Thursday";
    this_day[5]  = "Friday";
    this_day[6]  = "Saturday";

    var today = new Date();
    var day   = today.getDate();
    var month = today.getMonth();
    var year  = today.getYear();
    var weekday = today.getDay();
    if (year< 1900) 
      year += 1900;
    SrcStr = (this_day[weekday]+", "+day+" "+this_month[month]+", "+year);
    document.write(SrcStr);	  
  }

<!--
function validate() {

var theMessage = "";
var noErrors = theMessage

// Make sure checkbox is checked
var boxCheck = false;
if (document.form1.confirm.checked) {
boxCheck = true; }
if (!boxCheck) {
theMessage = theMessage + "\n Please confirm you accept terms";
}

// If no errors, submit the form
if (theMessage == noErrors) {
return true;

} else {

// If errors were found, show alert message
alert(theMessage);
return false;
}
}

-->


// end hiding script from old browsers -->

