<!-- SPONSOR ROTATION 

//Javascript Created by Computerhope http://www.computerhope.com

//store the quotations in arrays

sponsor = new Array(3);

sponsor[0] = "<a id='sponsor' href='http://www.vababyandchildexpo.com' title='Va Baby &amp; Child Expo' target='_blank'><img src='_images/sponsor-va-baby-child-expo.gif' alt='Va Baby &amp; Child Expo'></a>";
sponsor[1] = "<a id='sponsor' href='http://www.vababyandchildexpo.com' title='Va Baby &amp; Child Expo' target='_blank'><img src='_images/sponsor-va-baby-child-expo.gif' alt='Va Baby &amp; Child Expo'></a>";
sponsor[2] = "<a id='sponsor' href='http://www.vababyandchildexpo.com' title='Va Baby &amp; Child Expo' target='_blank'><img src='_images/sponsor-va-baby-child-expo.gif' alt='Va Baby &amp; Child Expo'></a>";
sponsor[3] = "<a id='sponsor' href='http://www.vababyandchildexpo.com' title='Va Baby &amp; Child Expo' target='_blank'><img src='_images/sponsor-va-baby-child-expo.gif' alt='Va Baby &amp; Child Expo'></a>";

index = Math.floor(Math.random() * sponsor.length);

//done

// -->

<!-- NEWSLETTER FORM VALIDATION -->
function Validate() {
var sMessage = '';
var bFail = false;
var filter=/^.+@.+\..{2,4}$/
var bSelected = false
if (document.RegistrationForm.FirstName.value == '') {
	bFail = true;
	sMessage = sMessage + 'First Name is blank \n';
	document.RegistrationForm.FirstName.focus()}
if (document.RegistrationForm.LastName.value == '') {
	bFail = true;
	sMessage = sMessage + 'Last Name is blank \n';
	document.RegistrationForm.LastName.focus()}
if (document.layers||document.getElementById||document.all) {
	if (filter.test(document.RegistrationForm.Email.value)) { }
	else {
		bFail = true;
		sMessage = sMessage + 'Email Address is invalid \n';
		document.RegistrationForm.Email.focus() } }
if (bFail) {
	sHeader = 'The form was not submitted because of the following errors.\n';
	sHeader += 'Please correct these errors and resubmit.\n';
	sHeader += '_________________________________________________\n\n';
	sHeader += '';
	window.alert(sHeader + sMessage);
	return false; }
else {
	document.all.btnSubmit.disabled = true;
	return true; } 
}

<!-- CONTACT US FORM VALIDATION -->
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='Email Address is invalid\n';
      } else if (test!='R') {
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (val<min || max<val) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += 'Email Address is invalid\n'; }
  } if (errors) alert('The form was not submitted because of the following errors.\n' +'Please correct these errors and resubmit.\n' +'_________________________________________________\n\n'+errors);
  document.MM_returnValue = (errors == '');
}