function checkEmail(myForm) {
if (myForm.first.value=="")
{
    alert ("Invalid First Name")
    return(false);
}
if (myForm.last.value=="")
{
    alert ("Invalid Last Name")
    return(false);
}
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.email.value)){
return (true)
}
alert("Invalid E-mail Address! Please re-enter.")
return (false)
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


/*************************************************************************
  This code is from Dynamic Web Coding
  at http://www.dyn-web.com/
  Copyright 2001-3 by Sharon Paine
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  Permission granted to use this code
  as long as this entire notice is included.
*************************************************************************/
function initImgRotation() {
  // create rotating image objects here
  // arguments: image name, rotation speed
  var rotator1 = new rotateImgObj('img1',4000);
  // add the images to rotate into that image object
rotator1.addImages("homeimg3.jpg","homeimg4.jpg","homeimg5.jpg","homeimg6.jpg");

  // starts rotation for all defined rotateImgObjs
  for (var i=0; i<rotateImgObjs.length; i++)
    rotateImgObjs[i].timer = setInterval(rotateImgObjs[i].animString + ".rotate()", rotateImgObjs[i].speed);
}

// If all the images you wish to display are in the same location, you can specify the path here
rotateImgObj.imagesPath = "images/";

rotateImgObjs = []; // holds all rotating image objects defined
// constructor
function rotateImgObj(nm,s) {
  this.speed = s; this.ctr=0; this.timer=0;
  this.imgObj = document.images[nm]; // get reference to the image object
  this.index = rotateImgObjs.length; rotateImgObjs[this.index] = this;
  this.animString = "rotateImgObjs[" + this.index + "]";

  this.addImages = addRotatingImages;
  this.rotate = rotateImg;
}
// preloads images
function addRotatingImages() {
  this.imgObj.imgs = [];
  for (var i=0; i<arguments.length; i++) {
    this.imgObj.imgs[i] = new Image();
    this.imgObj.imgs[i].src = rotateImgObj.imagesPath + arguments[i];
  }
}

// controls rotation
function rotateImg() {
  if (this.ctr < this.imgObj.imgs.length-1) this.ctr++;
  else this.ctr = 0;
  this.imgObj.src = this.imgObj.imgs[this.ctr].src;
}



var mswidth=400;
var msheight=60;
var mspause=6000 //
var msspeed=200 // 1000=1s

var msblinks=1 //if only one message: value 0 (indefinitely).

var sbcolor="";

var sbground="";

//border for blinking area: 1, ... ;
//set it 0(zero) for no border;
var sborder=0;
// <-- end Parameters

// begin: Blinker's Messages -->
var singlemessage=new Array();

//Messages --> as many as you'd like: set to your own;
//A <DIV class=... ...> and </DIV> pair is recommended for each
//row of a message for alignment and/or Size, Color, ... control.
//Inside any message you MUST use \' in lieu of ';

singlemessage[0]='....one of the best things that I liked were the sample Specification that you gave us to us to get agreed upon in writing. I also liked the sample contracts. These two things were worth the price of your product. I am a Civil Engineer... Nickey Strahan, Arkansas <img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk" Target="_blank">more</a><BR> <BR>Nickey Strahan, Arkansas<br><BR>';
singlemessage[1]='Your building guide is the BEST! In the past I have purchased a few books on "how to build or how to be your own GC" but nothing has compared to your product. I loved the fact I could download it and modify the ... Rose Reiner, Minot AFB ND  <img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a> <BR><BR>Rose Reiner, Minot AFB ND <BR>';
singlemessage[2]='You package was very useful in understanding the big picture of building a house.The example contract and specs. were great! I will use these as a template when I have finished drawing our house plans (by hand) ... Edwin Griffin, Tennessee <img src="images/trans.gif" width="15" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a><br><br>Edwin Griffin, Tennessee<br><br>';
singlemessage[3]='I am finding it very useful and full of common sense information. There are some invaluable questions to ask your builder and things to look out for.<br> Steve Marietti, Minnesota  <img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a>';
singlemessage[4]='Jim, overall this is a great manual. The only thing that has slowed me down, is that I am building in Texas. ... We dont build underground here. (Very few basements) Besides that its sound great for beginners ... Jeff Novosad, Texas <img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a> ';
singlemessage[5]='The guide is very good -- I especially was intrigued by the health guide, as I am a season allergy suffer (and dust &amp; mold as well). The section about chemicals in building materials is very interesting. There is a local builder... D.G., Minnesota <img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a>';
singlemessage[6]='I enjoyed reading the House "N Home Building Guide. I dont know if I will go ahead and build a house, but if I do, Im sure the many tips in your book will help me get a better house for less money. I especially like to idea of taking  ... Marie Nelson, Maryland<img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a>';
singlemessage[7]='I have enjoyed the information that I receive from House. I am always looking for new tips and info since we will be building in the spring. I think that the guide I purchased will be very useful. Thank you ... Carmen Wood, Pennsylvania<img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a>';
singlemessage[8]='The guide has been helpful as we are in the beginning stages of building a new home. We are interviewing builders and reviewing home plans at this point. The information has been helpful during the interview process. We look forward ... Bob Harris, Virginia<img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a>';
singlemessage[9]='I have read your Guide and found it very informative. I have not yet begun to build my house yet, but hopefully within the next year or two. I am quite sure that your guide is going to save me thousands of dollars. ... Dr. Jason Graf, North Carolina<img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a>';
singlemessage[10]='I truly appreciate your extra efforts to send the hard copy to us as well, which was received yesterday in the mail. In todays time, so few companies go the extra step to remedy a situation, it is nice to know there are still ... Thank you! ... M.C., Georgia<img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a>';
singlemessage[11]='I absolutely do not mind if you use all or part of the quote in the previous e-mail or this one. Please do not take this wrong, but there are so many time that a &quot;100% guarantee&quot; gives you about a 50 / 50 shot of ever ... P.K Michaels, M.D., Florida<img src="images/trans.gif" width="30" height="10"><a href="testimonial.html" class="YellowLInk"  Target="_blank">more</a>';

 // begin: Blinker's Algorithm -->
var kkk=0;var timer1 = null;var timer2 = null;if(singlemessage.length==1) msblinks=0;var resumesmsb=msblinks;iki=0;function dmmg11(){dmdiv.innerHTML=singlemessage[iki];timer1=setTimeout("dmmg12(dmdiv.style.top=msheight)",mspause);if(singlemessage.length>1&&msblinks>0) msblinks--;return;}function dmmg12(){timer2=setTimeout("dmmg11(dmdiv.style.top=0)",msspeed);if(singlemessage.length>1&&msblinks==0){msblinks=resumesmsb;if(iki==singlemessage.length-1) iki=0;else iki++;}return;}function ns4mg11(){ns4blinkdiv.document.write(singlemessage[iki]);ns4blinkdiv.document.close();timer1=setTimeout("ns4mg12(ns4blinkdiv.top=msheight)",mspause);if(singlemessage.length>1&&msblinks>0) msblinks--;return;}function ns4mg12(){timer2=setTimeout("ns4mg11(ns4blinkdiv.top=0)",msspeed);if(singlemessage.length>1&&msblinks==0){msblinks=resumesmsb;if(iki==singlemessage.length-1) iki=0;else iki++;}return;}
function startb(){if(document.getElementById){dmdiv=document.getElementById('blinkingdiv');dmmg11(dmdiv);}else if(document.all){dmdiv=blinkingdiv;dmmg11();}else if(document.layers){ns4blinkdiv=document.ns4blinkb0.document.ns4blinkb1;ns4blinkdiv.visibility='show';ns4mg11();}}
// <-- end Algorithm
