function save() {
	
	var objform  = document.getElementsByTagName('form')[0];
	var elements = document.getElementById(objform.name);	

	if (elements['Fname'].value.length == 0) {
		alert('Please enter first name.');
		elements['Fname'].focus();
		return;	
	}
	if (elements['Lname'].value.length == 0) {
		alert('Please enter last name.');
		elements['Lname'].focus();
		return;	
	}
	if (!isphone(elements['Phone'].value, 10)) {
		alert('Please enter day phone number accurately.');
		elements['Phone'].focus();
		return;
	}
	if (!isemail(elements['email'].value)) {
		alert('Please enter email address accurately.');
		elements['email'].focus();
		return;
	}
	

	capture();
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}












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];}
}
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_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 mmLoadMenus() {
  if (window.mm_menu_0830130731_0) return;
                                                                        window.mm_menu_0830130731_0_1 = new Menu("Passiac&nbsp;County",147,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
    mm_menu_0830130731_0_1.addMenuItem("Vista's&nbsp;at&nbsp;Great&nbsp;Falls","window.open('the-vistas.aspx', '_self');");
     mm_menu_0830130731_0_1.hideOnMouseOut=true;
     mm_menu_0830130731_0_1.bgColor='#e3eef4';
     mm_menu_0830130731_0_1.menuBorder=0;
     mm_menu_0830130731_0_1.menuLiteBgColor='#ffffff';
     mm_menu_0830130731_0_1.menuBorderBgColor='#8fb8d7';
    window.mm_menu_0830130731_0_2 = new Menu("Morris&nbsp;County",194,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
    mm_menu_0830130731_0_2.addMenuItem("Horizons&nbsp;at&nbsp;Mount&nbsp;Arlington","window.open('horizons-mountarlington.aspx', '_self');");
     mm_menu_0830130731_0_2.hideOnMouseOut=true;
     mm_menu_0830130731_0_2.bgColor='#e3eef4';
     mm_menu_0830130731_0_2.menuBorder=0;
     mm_menu_0830130731_0_2.menuLiteBgColor='#ffffff';
     mm_menu_0830130731_0_2.menuBorderBgColor='#8fb8d7';
    window.mm_menu_0830130731_0_3 = new Menu("Union&nbsp;County",194,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
    mm_menu_0830130731_0_3.addMenuItem("The&nbsp;Lofts&nbsp;at&nbsp;Rahway&nbsp;Station","window.open('the-lofts.aspx', '_self');");
    mm_menu_0830130731_0_3.addMenuItem("The&nbsp;Savoy&nbsp;at&nbsp;Rahway","window.open('the-savoy.aspx', '_self');");
    mm_menu_0830130731_0_3.addMenuItem("The&nbsp;Monarch","window.open('the-monarch.aspx', '_self');");
     mm_menu_0830130731_0_3.hideOnMouseOut=true;
     mm_menu_0830130731_0_3.bgColor='#e3eef4';
     mm_menu_0830130731_0_3.menuBorder=0;
     mm_menu_0830130731_0_3.menuLiteBgColor='#ffffff';
     mm_menu_0830130731_0_3.menuBorderBgColor='#8fb8d7';
    window.mm_menu_0830130731_0_4 = new Menu("Middlesex&nbsp;County",145,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
    mm_menu_0830130731_0_4.addMenuItem("Bergen&nbsp;Mills&nbsp;Estates","window.open('bergen-mills.aspx', '_self');");
     mm_menu_0830130731_0_4.hideOnMouseOut=true;
     mm_menu_0830130731_0_4.bgColor='#e3eef4';
     mm_menu_0830130731_0_4.menuBorder=0;
     mm_menu_0830130731_0_4.menuLiteBgColor='#ffffff';
     mm_menu_0830130731_0_4.menuBorderBgColor='#8fb8d7';
    window.mm_menu_0830130731_0_5 = new Menu("Monmouth&nbsp;County",179,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
    mm_menu_0830130731_0_5.addMenuItem("Buckley&nbsp;Estates","window.open('buckley-estate.aspx', '_self');");
    mm_menu_0830130731_0_5.addMenuItem("Orchard&nbsp;Meadows","window.open('orchard-meadows.aspx', '_self');");
    mm_menu_0830130731_0_5.addMenuItem("Cottage&nbsp;Gate&nbsp;at&nbsp;Navesink","window.open('cottage-gate-navesink.aspx', '_self');");
     mm_menu_0830130731_0_5.hideOnMouseOut=true;
     mm_menu_0830130731_0_5.bgColor='#e3eef4';
     mm_menu_0830130731_0_5.menuBorder=0;
     mm_menu_0830130731_0_5.menuLiteBgColor='#ffffff';
     mm_menu_0830130731_0_5.menuBorderBgColor='#8fb8d7';
    window.mm_menu_0830130731_0_6 = new Menu("Ocean&nbsp;County",206,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
    mm_menu_0830130731_0_6.addMenuItem("Hawkins&nbsp;Ridge","window.open('hawkins-ridge.aspx', '_self');");
    mm_menu_0830130731_0_6.addMenuItem("Horizons&nbsp;at&nbsp;Woodlake&nbsp;Greens","window.open('horizons-woodlakegreens.aspx', '_self');");
    mm_menu_0830130731_0_6.addMenuItem("Winding&nbsp;Run","window.open('winding-run.aspx', '_self');");
    mm_menu_0830130731_0_6.addMenuItem("Waters&nbsp;Edge","window.open('waters-edge.aspx', '_self');");
    mm_menu_0830130731_0_6.addMenuItem("The&nbsp;Landings&nbsp;at&nbsp;Manahawkin","window.open('landing-manahawkin.aspx', '_self');");
     mm_menu_0830130731_0_6.hideOnMouseOut=true;
     mm_menu_0830130731_0_6.bgColor='#e3eef4';
     mm_menu_0830130731_0_6.menuBorder=0;
     mm_menu_0830130731_0_6.menuLiteBgColor='#ffffff';
     mm_menu_0830130731_0_6.menuBorderBgColor='#8fb8d7';
  window.mm_menu_0830130731_0 = new Menu("root",136,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
  mm_menu_0830130731_0.addMenuItem("");
  mm_menu_0830130731_0.addMenuItem(mm_menu_0830130731_0_1);
  mm_menu_0830130731_0.addMenuItem(mm_menu_0830130731_0_2);
  mm_menu_0830130731_0.addMenuItem(mm_menu_0830130731_0_3);
  mm_menu_0830130731_0.addMenuItem(mm_menu_0830130731_0_4);
  mm_menu_0830130731_0.addMenuItem(mm_menu_0830130731_0_5);
  mm_menu_0830130731_0.addMenuItem(mm_menu_0830130731_0_6);
  mm_menu_0830130731_0.addMenuItem("");
   mm_menu_0830130731_0.hideOnMouseOut=true;
   mm_menu_0830130731_0.childMenuIcon="images/arrows.gif";
   mm_menu_0830130731_0.bgColor='#e3eef4';
   mm_menu_0830130731_0.menuBorder=0;
   mm_menu_0830130731_0.menuLiteBgColor='#ffffff';
   mm_menu_0830130731_0.menuBorderBgColor='#8fb8d7';
window.mm_menu_0830135500_1 = new Menu("root",205,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
  mm_menu_0830135500_1.addMenuItem("");
  mm_menu_0830135500_1.addMenuItem("Luxury&nbsp;Single&nbsp;Homes","window.open('lux-single-homes.aspx', '_self');");
  mm_menu_0830135500_1.addMenuItem("Villas,&nbsp;Townhomes&nbsp;&&nbsp;Condos","window.open('townhomes-condos.aspx', '_self');");
  mm_menu_0830135500_1.addMenuItem("Active&nbsp;Adult","window.open('active-adult.aspx', '_self');");
  mm_menu_0830135500_1.addMenuItem("City&nbsp;Living","window.open('city-living.aspx', '_self');");
  mm_menu_0830135500_1.addMenuItem("");
   mm_menu_0830135500_1.hideOnMouseOut=true;
   mm_menu_0830135500_1.bgColor='#e3eef4';
   mm_menu_0830135500_1.menuBorder=0;
   mm_menu_0830135500_1.menuLiteBgColor='#ffffff';
   mm_menu_0830135500_1.menuBorderBgColor='#8fb8d7';
window.mm_menu_0950135500_1 = new Menu("root",110,21,"Verdana, Arial, Helvetica, sans-serif",11,"#679405","#b1d700","#ffffff","#ffffff","left","middle",5,0,0,-5,0,true,false,true,2,true,true);
  mm_menu_0950135500_1.addMenuItem("");
  mm_menu_0950135500_1.addMenuItem("About&nbsp;Us","window.open('about.aspx', '_self');");
  mm_menu_0950135500_1.addMenuItem("Press&nbsp;Release","window.open('news.aspx', '_self');");
  mm_menu_0950135500_1.addMenuItem("");
   mm_menu_0950135500_1.hideOnMouseOut=true;
   mm_menu_0950135500_1.bgColor='#e3eef4';
   mm_menu_0950135500_1.menuBorder=0;
   mm_menu_0950135500_1.menuLiteBgColor='#ffffff';
   mm_menu_0950135500_1.menuBorderBgColor='#8fb8d7';   

mm_menu_0830135500_1.writeMenus();
} 











<!-- Idea by:  Nic Wolfe (Nic@TimelapseProductions.com) -->
<!-- Web URL:  http://fineline.xs.mw -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=780,height=600,left = 0,top = 0');");
}



<!-- Example message arrays for the two demo scrollers -->

var pausecontent=new Array()

pausecontent[0]='<span class="footer">></span> <a href="a-savoy-for-less.aspx" class="link">Savoy At Rahway Offers Sophisticated Living For Less</a><br><br><span class="footer">></span> <a href="a-luxury-hawkins.aspx" target="_self" class="link">Luxurys New Address Is Hawkins Ridge - Jacksons Premier Community</a><br><br>'
pausecontent[1]='<span class="footer">></span> <a href="a-active-adults-new-life.aspx" target="_self" class="link">Active Adults Find Exciting New Way Of Life At Horizons At Woodlake Greens</a><br><br><span class="footer">></span> <a href="a-buyers-discover-manahawkin.aspx" target="_self" class="link">Buyers Discover Jersey Shore Life At Unbeatable Price At The Landings At Manahawkin</a><br><br>'




/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 50)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"

}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}

<!-- End Example message arrays for the two demo scrollers -->