// JavaScript Document
// JavaScript Document
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 7;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Revision of Flash required
var requiredRevision = 0;
// the version of javascript supported
var jsVersion = 1.0;
// -----------------------------------------------------------------------------

// swap html
function changeText1(newText){
document.getElementById("changingText").innerHTML="<table width='458' border='0' cellspacing='0' cellpadding='0'><tr><td width='458' height='547' valign='top'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td><img src='images/laguna_beach_banner.jpg' width='402' height='50'></td></tr><tr><td height='19' align='left' valign='top'><img src='images/oc.jpg' width='402' height='19'></td></tr><tr><td><table width='458' height='49' border='0' cellpadding='0' cellspacing='0'><tr><td width='68' height='49'><img src='images/orange_logo.jpg' width='64' height='49'></td><td width='390' height='49' align='left' valign='middle' class='contact'><div align='left'><strong><a href='http://www.orangecounty.net/html/local.html' target='_blank'><font color='482f2d'>Click here</font></a></strong> for residence Resources</div></td></tr></table></td></tr><tr><td><img src='images/resorts.jpg' width='402' height='24'></td></tr><tr><td height='80' align='left' valign='top' class='areatext'>Montage Resort and Spa<br>30801 South Coast Highway<br>Laguna Beach, CA 92651<br>866-271-6953<br><strong><a href='http://www.montagelagunabeach.com'><font color='482f2d'>http://www.montagelagunabeach.com</font></a></strong></td></tr><tr><td><img src='images/art.jpg' width='401' height='20'></td></tr><tr><td height='100' align='left' valign='top' class='areatext'><p>Laguna Beach Art-A-Fair<br>July 2 - September 5<br>777 Laguna Canyon Road<br>Laguna Beach, CA 92651<br>Featuring over 130 artists and crafts-people from around the world. Meet artists, get hands-on demos or enjoy gourmet dining by a canyon waterfall. Located midway between the Festival of Arts and Sawdust Festival.<br><br><br><br><br></p></td></tr><tr><td height='51' align='right'><span class='areatext'><a href='#' onClick=\"changeText2('')\">More&nbsp;></a></span>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></table></td></tr></table>";
}

function changeText2(newText){
document.getElementById("changingText").innerHTML="<table width='458' border='0' cellspacing='0' cellpadding='0'><tr><td width='458' height='547' valign='top'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td><img src='images/laguna_beach_banner.jpg' width='402' height='50'></td></tr><tr><td><img src='images/art.jpg' width='401' height='20'></td></tr><tr><td height='100' align='left' valign='top' class='areatext'><p>Laguna Beach Art Galleries<br>First Thursday's Art Walk<br><font color='#66CC99'><a href='http://www.lagunabeach.com/art.html' target='_blank'><font color='482f2d'><strong>http://www.lagunabeach.com/art.html</strong></font></a></font><br>What Golf and Gambling are to Palm Springs and Las Vegas, Art is to Laguna Beach...Join over 40 galleries from 6 to 9 pm on the First Thursday of every month. Free shuttle service to gallery locations commencing at 6:15 pm from the Laguna Art Museum. Gallery events include artist demonstrations, lectures, appetizers and refreshments.</p><p>Laguna Beach Pageant of the Masters<br>July 7th - August 28<br>650 Laguna Canyon Road<br>Laguna Beach, CA 92651<br>The Festival of the Arts most famous attraction - incredibly faithful art re-creations of classical and contemporary works using real people posing to look exactly like their counterparts in the original pieces!<br><br><br><br><br><br></p><p>&nbsp;</p></td></tr><tr><td height='38' align='right'><span class='areatext'><a href='#' onClick=\"changeText1('')\"><&nbsp;Prev</a></span>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></table></td></tr></table>";
}

function changeText3(newText){
document.getElementById("changingText").innerHTML="<table width='458' border='0' cellspacing='0' cellpadding='0'><tr><td width='458' height='600' valign='top'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td><img src='images/laguna_niguel_banner.jpg' width='402' height='50'></td></tr><tr><td height='10' align='left' valign='top'><img src='images/oc.jpg' width='402' height='19'></td></tr><tr><td><table width='458' height='49' border='0' cellpadding='0' cellspacing='0'><tr><td width='68' height='49'><img src='images/orange_logo.jpg' width='64' height='49'></td><td width='390' height='49' align='left' valign='middle' class='contact'><div align='left'><strong><a href='http://www.orangecounty.net/html/local.html' target='_blank'><font color='482f2d'>Click here</font></a></strong>&nbsp;for residence Resources</div></td></tr></table></td></tr><tr><td><img src='images/neighborhoods.jpg' width='402' height='22'></td></tr><tr><td height='20' align='left' valign='top' class='areatext'><a href='#' onClick=\"changeText6('')\"><font color='482f2d'><strong>Crest De Ville</strong></font></a><br><a href='#' onClick=\"changeText7('')\"><font color='482f2d'><strong>Bear Brand Ridge</strong></font></a><br><a href='#' onClick=\"changeText8('')\"><font color='482f2d'><strong>Ocean Ranch</strong></font></a><br><a href='#' onClick=\"changeText9('')\"><font color='482f2d'><strong>South Peak</strong></font></a></td></tr><tr><td><img src='images/resorts.jpg' width='402' height='24'></td></tr><tr><td height='100' align='left' valign='top' class='areatext'>The Ritz-Carlton<br>One Ritz-Carlton Drive<br>Dana Point, CA 92629<br>949-240-2000<br> <a href='http://www.ritzcarlton.com/resorts/laguna_niguel'><strong><font color='482f2d'>http://www.ritzcarlton.com/resorts/laguna_niguel</font></strong></a></td></tr><tr><td><img src='images/restaurants.jpg' width='402' height='20'></td></tr><tr><td class='areatext'>Savannah Chop House<br>32441 Golden Lantern, Laguna Niguel, CA 92677<br>(In the Ocean Ranch II Center)<br><a href='www.culinaryadventures.com/Pages/Savannah.html'><strong><font color='482f2d'>www.culinaryadventures.com/Pages/Savannah.html<br><br></font></strong></a></td></tr><tr><td height='41' align='right'> <span class='areatext'><a href='#' onClick=\"changeText4('')\">More&nbsp;></a></span>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></table></td></tr></table>";
}

function changeText4(newText){
document.getElementById("changingText").innerHTML="<table width='458' border='0' cellspacing='0' cellpadding='0'><tr><td width='458' height='600' valign='top'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td><img src='images/laguna_niguel_banner.jpg' width='402' height='50'></td></tr><tr><td height='10' align='left' valign='top' class='areatext'>Laguna Niguel offers a fantastic variety of condominiums, townhouses, single family homes, and mega estates ranging in price from $300,000 to $1,000,000 and up. There are many prestigious ocean view communities, gorgeous and secure gated communities, condo communities and so much more in Laguna Niguel.<p>Laguna Niguel is a 14.72 square mile planned community surrounded by the cities of Dana Point, Laguna Beach, Laguna Hills, Mission Viejo, and San Juan Capistrano. Ideal for those that love the city and the great outdoors, over 1/3 of Laguna Niguel has been set aside for open space. The proximity to the coast provides an ideal climate which encourages a variety of year-round outdoor activities. Enjoy spending time with loved ones for a picnic at one of the two community or two regional parks, play with the little ones or take a quick stroll to one of the 23 neighborhood parks, three min-parks and two-small county parks, as well as the 6 local Riding and Hiking Trails maintained by the Laguna Niguel and Orange County Parks and Recreation Department or take your four-legged friends to the dog park.<br><br><br><br><br><br></p></td></tr><tr><td height='41' align='right'> <span class='areatext'><a href='#' onClick=\"changeText3('')\"><&nbsp;Prev</a>&nbsp;<a href='#' onClick=\"changeText5('')\">More&nbsp;></a></span>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></table></td></tr></table>";
}

function changeText5(newText){
document.getElementById("changingText").innerHTML="<table width='458' border='0' cellspacing='0' cellpadding='0'><tr><td width='458' height='600' valign='top'><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td><img src='images/laguna_niguel_banner.jpg' width='402' height='50'></td></tr><tr><td height='10' align='left' valign='top' class='areatext'><p>The Laguna Niguel real estate market has something for everyone; you'll soon discover that Laguna Niguel is an extraordinary community where you and your family will be proud to call home!<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></p></td></tr><tr><td height='41' align='right'> <span class='areatext'><a href='#' onClick=\"changeText4('')\"><&nbsp;Prev</a></span>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></table></td></tr></table>";
}

function changeText6(newText){
document.getElementById("changingText").innerHTML="<table width=380 border=0 cellspacing=0 cellpadding=0><tr><td width=380 height=600 valign=top><table width=425 border=0 cellspacing=0 cellpadding=0><tr><td><img src=images/laguna_niguel_banner.jpg width=402 height=50></td></tr><tr><td height=10 align=left valign=top><img src=images/oc.jpg width=402 height=19></td></tr><tr><td class=areatext><p>Laguna Niguel offers a fantastic variety of condominiums, townhouses, single family homes, and mega estates ranging in price from $300,000 to $1,000,000 and up. There are many prestigious ocean view communities, gorgeous and secure gated communities, condo communities and so much more in Laguna Niguel.<br><br>Laguna Niguel is a 14.72 square mile planned community surrounded by the cities of Dana Point, Laguna Beach, Laguna Hills, Mission Viejo, and San Juan Capistrano. Ideal for those that love the city and the great outdoors, over 1/3 of Laguna Niguel has been set aside for open space. The proximity to the coast provides an ideal climate which encourages a variety of year-round outdoor activities. Enjoy spending time with loved ones for a picnic at one of the two community or two regional parks, play with the little ones or take a quick stroll to one of the 23 neighborhood parks, three min-parks  and two-small county parks, as well as the 6 local Riding and Hiking Trails maintained by the Laguna Niguel and Orange County Parks and Recreation Department or take your four-legged friends to the dog park.<br><br>The Laguna Niguel real estate market has something for everyone; you'll soon discover that Laguna Niguel is an extraordinary community where you and your family will be proud to call home!</p></td></tr><tr><td height=37 valign=top><img src=images/neighborhoods.jpg width=402 height=22></td></tr><tr><td height=20 align=left valign=top><table width=100% height=60 border=0 cellpadding=0 cellspacing=0 class=areatext2><tr><td height=15><a href=# onClick=\"changeText6('')\"><font color=482f2d><strong>Crest de Ville</strong></font></a><br><div class=areatext>Enjoy living in the security of Crest de Ville's 24 Hour gate guarded community. Boasting today's contemporary designs blended with sophisticated architecture, Crest de Ville offers a pleasing harmony of integrated elements, working together to create a unique balance of finely crafted interiors and features. The estates in Crest de Ville are spacious homes, enhanced with meticulous attention to detail, within a picturesque and lushly landscaped surrounding. Crest de Ville is conveniently located adjacent to 7-acre public park and dedicated open space, biking, walking, skating trails to the ocean, close to public & private golf Courses, the Ritz Carlton resort, Dana Point Harbor, Laguna Beach, fine dining, shopping, and freeways.<br></div></p></td></tr><tr><td height=15><a href=# onClick=\"changeText7('')\"><font color=482f2d><strong>Bear Brand Ridge</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText8('')\"><font color=482f2d><strong>Ocean Ranch</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText9('')\"><font color=482f2d><strong>South Peak</strong></font></a></td></tr></table></td></tr><tr><td height=100></td></tr></table></td></tr></table>";
}

function changeText7(newText){
document.getElementById("changingText").innerHTML="<table width=380 border=0 cellspacing=0 cellpadding=0><tr><td width=380 height=600 valign=top><table width=425 border=0 cellspacing=0 cellpadding=0><tr><td><img src=images/laguna_niguel_banner.jpg width=402 height=50></td></tr><tr><td height=10 align=left valign=top><img src=images/oc.jpg width=402 height=19></td></tr><tr><td class=areatext><p>Laguna Niguel offers a fantastic variety of condominiums, townhouses, single family homes, and mega estates ranging in price from $300,000 to $1,000,000 and up. There are many prestigious ocean view communities, gorgeous and secure gated communities, condo communities and so much more in Laguna Niguel.<br><br>Laguna Niguel is a 14.72 square mile planned community surrounded by the cities of Dana Point, Laguna Beach, Laguna Hills, Mission Viejo, and San Juan Capistrano. Ideal for those that love the city and the great outdoors, over 1/3 of Laguna Niguel has been set aside for open space. The proximity to the coast provides an ideal climate which encourages a variety of year-round outdoor activities. Enjoy spending time with loved ones for a picnic at one of the two community or two regional parks, play with the little ones or take a quick stroll to one of the 23 neighborhood parks, three min-parks  and two-small county parks, as well as the 6 local Riding and Hiking Trails maintained by the Laguna Niguel and Orange County Parks and Recreation Department or take your four-legged friends to the dog park.<br><br>The Laguna Niguel real estate market has something for everyone; you'll soon discover that Laguna Niguel is an extraordinary community where you and your family will be proud to call home!</p></td></tr><tr><td height=37 valign=top><img src=images/neighborhoods.jpg width=402 height=22></td></tr><tr><td height=20 align=left valign=top><table width=100% height=60 border=0 cellpadding=0 cellspacing=0 class=areatext2><tr><td height=15><a href=# onClick=\"changeText6('')\"><font color=482f2d><strong>Crest de Ville</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText7('')\"><font color=482f2d><strong>Bear Brand Ridge</strong></font></a><br><div class=areatext>Bear Brand Ridge features fabulous ocean-close homes built by the established builders of A & M, J.M. Peters, and Warmington. Offering a variety of floor plans ranging from 2,300 to 3,600 square feet, many of these lots boast ocean views, while others offer huge backyards. A breathtaking park sits high atop this gated community, offering its residents panoramic views, walk-paths, playground and sport courts. This fantastic gated community is conveniently close to the theaters, fine dining, shopping, and recreation.<br></div></p></td></tr><tr><td height=15><a href=# onClick=\"changeText8('')\"><font color=482f2d><strong>Ocean Ranch</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText9('')\"><font color=482f2d><strong>South Peak</strong></font></a></td></tr></table></td></tr><tr><td height=100></td></tr></table></td></tr></table>";
}

function changeText8(newText){
document.getElementById("changingText").innerHTML="<table width=380 border=0 cellspacing=0 cellpadding=0><tr><td width=380 height=600 valign=top><table width=425 border=0 cellspacing=0 cellpadding=0><tr><td><img src=images/laguna_niguel_banner.jpg width=402 height=50></td></tr><tr><td height=10 align=left valign=top><img src=images/oc.jpg width=402 height=19></td></tr><tr><td class=areatext><p>Laguna Niguel offers a fantastic variety of condominiums, townhouses, single family homes, and mega estates ranging in price from $300,000 to $1,000,000 and up. There are many prestigious ocean view communities, gorgeous and secure gated communities, condo communities and so much more in Laguna Niguel.<br><br>Laguna Niguel is a 14.72 square mile planned community surrounded by the cities of Dana Point, Laguna Beach, Laguna Hills, Mission Viejo, and San Juan Capistrano. Ideal for those that love the city and the great outdoors, over 1/3 of Laguna Niguel has been set aside for open space. The proximity to the coast provides an ideal climate which encourages a variety of year-round outdoor activities. Enjoy spending time with loved ones for a picnic at one of the two community or two regional parks, play with the little ones or take a quick stroll to one of the 23 neighborhood parks, three min-parks  and two-small county parks, as well as the 6 local Riding and Hiking Trails maintained by the Laguna Niguel and Orange County Parks and Recreation Department or take your four-legged friends to the dog park.<br><br>The Laguna Niguel real estate market has something for everyone; you'll soon discover that Laguna Niguel is an extraordinary community where you and your family will be proud to call home!</p></td></tr><tr><td height=37 valign=top><img src=images/neighborhoods.jpg width=402 height=22></td></tr><tr><td height=20 align=left valign=top><table width=100% height=60 border=0 cellpadding=0 cellspacing=0 class=areatext2><tr><td height=15><a href=# onClick=\"changeText6('')\"><font color=482f2d><strong>Crest de Ville</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText7('')\"><font color=482f2d><strong>Bear Brand Ridge</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText8('')\"><font color=482f2d><strong>Ocean Ranch</strong></font></a><br><div class=areatext>Ocean Ranch is one of Laguna Niguel's finest communities offering prestigious semi-custom homes in a secure guard-gated community with awesome Catalina Island, canyon, city lights, hills, ocean and/or panoramic views.<p>Enjoy amenities such as expansive entry with soaring ceilings, abundant windows & skylights, multiple fireplaces, gourmet kitchen adjacent to a large family room, large master suite with retreat, vaulted ceilings, fireplace and balcony. Feature upgrades include travertine floors, distressed walnut floors, limestone floors & staircase, plantation shutters, formal office, hand crafted built-in's, stainless appliances, granite counters & wine coolers, and Smart home system for security and lighting. Outside you'll find extensive lush landscaping, many with waterfall, pool, spa, and outdoor cooking center.<p>This private cul-de-sac location is within walking distance to scrumptious dinning, entertaining movies, private St. Anne School, and close proximity to fantastic beaches, Dana Point Harbor, Ritz Carlton and The St. Regis resorts.<br></div></p></td></tr><tr><td height=15><a href=# onClick=\"changeText9('')\"><font color=482f2d><strong>South Peak</strong></font></a></td></tr></table></td></tr><tr><td height=100></td></tr></table></td></tr></table>";
}

function changeText9(newText){
document.getElementById("changingText").innerHTML="<table width=380 border=0 cellspacing=0 cellpadding=0><tr><td width=380 height=600 valign=top><table width=425 border=0 cellspacing=0 cellpadding=0><tr><td><img src=images/laguna_niguel_banner.jpg width=402 height=50></td></tr><tr><td height=10 align=left valign=top><img src=images/oc.jpg width=402 height=19></td></tr><tr><td class=areatext><p>Laguna Niguel offers a fantastic variety of condominiums, townhouses, single family homes, and mega estates ranging in price from $300,000 to $1,000,000 and up. There are many prestigious ocean view communities, gorgeous and secure gated communities, condo communities and so much more in Laguna Niguel.<br><br>Laguna Niguel is a 14.72 square mile planned community surrounded by the cities of Dana Point, Laguna Beach, Laguna Hills, Mission Viejo, and San Juan Capistrano. Ideal for those that love the city and the great outdoors, over 1/3 of Laguna Niguel has been set aside for open space. The proximity to the coast provides an ideal climate which encourages a variety of year-round outdoor activities. Enjoy spending time with loved ones for a picnic at one of the two community or two regional parks, play with the little ones or take a quick stroll to one of the 23 neighborhood parks, three min-parks  and two-small county parks, as well as the 6 local Riding and Hiking Trails maintained by the Laguna Niguel and Orange County Parks and Recreation Department or take your four-legged friends to the dog park.<br><br>The Laguna Niguel real estate market has something for everyone; you'll soon discover that Laguna Niguel is an extraordinary community where you and your family will be proud to call home!</p></td></tr><tr><td height=37 valign=top><img src=images/neighborhoods.jpg width=402 height=22></td></tr><tr><td height=20 align=left valign=top><table width=100% height=60 border=0 cellpadding=0 cellspacing=0 class=areatext2><tr><td height=15><a href=# onClick=\"changeText6('')\"><font color=482f2d><strong>Crest de Ville</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText7('')\"><font color=482f2d><strong>Bear Brand Ridge</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText8('')\"><font color=482f2d><strong>Ocean Ranch</strong></font></a></td></tr><tr><td height=15><a href=# onClick=\"changeText9('')\"><font color=482f2d><strong>South Peak</strong></font></a><br><div class=areatext>South Peak featuresunique custom homes offering luxury and elegance. This ocean-close, 24 hour gate-guarded community of about 300 homes, range in size from 3,800 square feet to more than 5,000 square feet. Select homes offer a distinctive ocean view that will take your breath away.<p>South Peak is conveniently located near public &amp; private golf Courses, The Ritz Carlton resort, biking, walking, skating trails to the ocean, a 7-acre public park and dedicated open space, minutes from Dana Point Harbor &amp; Laguna Beach, fine dining, award wining schools, freeways and shopping.<br></div></p></td></tr></table></td></tr><tr><td height=100></td></tr></table></td></tr></table>";
}

function changeText10(newText){
document.getElementById("changingText").innerHTML="";
}

// Fix Google Toolbar Autofill


  if(window.attachEvent)
    window.attachEvent("onload",setListeners);

  function setListeners(){
    inputList = document.getElementsByTagName("INPUT");
    for(i=0;i<inputList.length;i++){
      inputList[i].attachEvent("onpropertychange",restoreStyles);
      inputList[i].style.backgroundColor = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
      selectList[i].attachEvent("onpropertychange",restoreStyles);
      selectList[i].style.backgroundColor = "";
    }
  }

  function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "")
      event.srcElement.style.backgroundColor = "";
  }


///


function validZip(inZip) {
		if (inZip == "") {
			return false
		}
		for (i=0; i<inZip.length; i++) {
			if (inZip.charAt(i) < "0") {
				return false
			}
			if (inZip.charAt(i) > "9") {
				return false
			}
			if (inZip.length < 5) {
				return false
			}
		}
		return true
	}
	
	
function validTelAreaCode(inTelAreaCode) {
		for (i=0; i<inTelAreaCode.length; i++) {
			if (inTelAreaCode.charAt(i) < "0") {
				return false
			}
			if (inTelAreaCode.charAt(i) > "9") {
				return false
			}
			if (inTelAreaCode.length < 3) {
				return false
			}
		}
		return true
	}
	
function validTelNumber1(inTelNumber) {
		for (i=0; i<inTelNumber.length; i++) {
			if (inTelNumber.charAt(i) < "0") {
				return false
			}
			if (inTelNumber.charAt(i) > "9") {
				return false
			}
			if (inTelNumber.length < 3) {
				return false
			}
		}
		return true
	}
function validTelNumber2(inTelNumber) {
		for (i=0; i<inTelNumber.length; i++) {
			if (inTelNumber.charAt(i) < "0") {
				return false
			}
			if (inTelNumber.charAt(i) > "9") {
				return false
			}
			if (inTelNumber.length < 4) {
				return false
			}
		}
		return true
	}

function validEmail(Email) {
		invalidChars = " /:,;"
		
		for (i=0; i<invalidChars.lenght; i++) {
			badChar = invalidChars.charAt(i)
			if (Email.indexOf(badChar,0) > -1) {
				return false
			}
		}
		atPos = Email.indexOf("@",1)
		if (atPos == -1) {
			return false
		}
		if (Email.indexOf("@",atPos+1) != -1) {
			return false
		}
		periodPos = Email.indexOf(".",atPos)
		if (periodPos == -1) {
			return false
		}
		if (periodPos+3 > Email.length) {
			return false
		}
		return true
	}
	
	function numberCode(inNumber) {
		if (inNumber == "") {
			return false
		}
		for (i=0; i<inNumber.length; i++) {
			if (inNumber.charAt(i) < "0") {
				return false
			}
			if (inNumber.charAt(i) > "9") {
				return false
			}
		}
		return true
	}
	
	

	
function submitIt(passForm) {

	if (passForm.firstName.value == "") {
		alert("Please enter your First Name")
		passForm.firstName.focus()
		return false
	}

	if (passForm.lastName.value == "") {
		alert("Please enter your Last Name")
		passForm.lastName.focus()
		return false
	}
	if (passForm.email.value == "") {
		alert("Please enter your Email address")
		passForm.email.focus()
		return false
	}

	if (passForm.email.value != "") {
		if (!validEmail(passForm.email.value)) {
			alert("Invalid Email Address - Please enter a valid Email Address")
			passForm.email.focus()
			passForm.email.select()
			return false
		}	
	}
	if (passForm.zip.value != "") {
		if (!validZip(passForm.zip.value)) {
			alert("Please enter a valid Zip code")
			passForm.zip.focus()
			passForm.zip.select()
			return false
		}
	}
	if (passForm.phoneCode.value != "") {
		if (!validTelAreaCode(passForm.phoneCode.value)) {
			alert("Please enter a valid Telephone Area code")
			passForm.phoneCode.focus()
			passForm.phoneCode.select()
			return false
		}
	}
	if (passForm.phoneNum1.value != "") {
		if (!validTelNumber1(passForm.phoneNum1.value)) {
			alert("Please enter a valid Telephone Number")
			passForm.TelNumber.focus()
			passForm.TelNumber.select()
			return false
		}
	}
	if (passForm.phoneNum2.value != "") {
		if (!validTelNumber2(passForm.phoneNum2.value)) {
			alert("Please enter a valid Telephone Number")
			passForm.TelNumber.focus()
			passForm.TelNumber.select()
			return false
		}
	}
	if (passForm.cellCode.value != "") {
		if (!validTelAreaCode(passForm.cellCode.value)) {
			alert("Please enter a valid Cell Area code")
			passForm.cellCode.focus()
			passForm.cellCode.select()
			return false
		}
	}
	
	if (passForm.cellNum1.value != "") {
	if (!validTelNumber1(passForm.cellNum1.value)) {
		alert("Please enter a valid Cell Number")
		passForm.cellNum1.focus()
		passForm.cellNum1.select()
		return false
	}
	}
	if (passForm.cellNum2.value != "") {
	if (!validTelNumber2(passForm.cellNum2.value)) {
		alert("Please enter a valid Cell Number")
		passForm.cellNum2.focus()
		passForm.cellNum2.select()
		return false
	}
	}
	
	if (passForm.faxCode.value != "") {
	if (!validTelAreaCode(passForm.faxCode.value)) {
		alert("Please enter a valid Fax Area code")
		passForm.faxCode.focus()
		passForm.faxCode.select()
		return false
	}
	}
	
	if (passForm.faxNum1.value != "") {
	if (!validTelNumber1(passForm.faxNum1.value)) {
		alert("Please enter a valid Fax Number")
		passForm.faxNum1.focus()
		passForm.faxNum1.select()
		return false
	}
	}
	if (passForm.faxNum2.value != "") {
	if (!validTelNumber2(passForm.faxNum2.value)) {
		alert("Please enter a valid Fax Number")
		passForm.faxNum2.focus()
		passForm.faxNum2.select()
		return false
	}
	}	
		return true
	}

//-->


//popup
function popUp(strURL,strType,strHeight,strWidth) {
var strOptions="";
if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
window.open(strURL, 'newWin', strOptions);
}

//Swap Images	
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
