<!--
var imgloada = new Array();
var imgloado = new Array();
var imgloadc = new Array();

//Array Initializations
//initialize the A array
function initArrayA()	{
for (var i = 355; i <= 525; i++) 					{	
	imgloada[i] = new Image();
	imgloada[i].src = "images/agifs/tba-" + i + ".gif";
													}
													
						}

//initialize the O array
function initArrayO()	{
for (var i = 296; i <= 500; i++) 					{	
	imgloado[i] = new Image();
	imgloado[i].src = "images/ogifs/tba-" + i + ".gif";
													}
													
						}
													
//initialize the C array
function initArrayC()	{
for (var i = 313; i <= 500; i++) 					{	
	imgloadc[i] = new Image();
	imgloadc[i].src = "images/cgifs/tbc-" + i + ".gif";
													}


						}


//Animation Functions						
//play the A animation
function hereGoesA(godex, stopdex) 	{	
	if (godex <= stopdex)	{
		window.document.titled.src=imgloada[godex].src;							
		godexpass = godex + 1;
		stopdexpass = stopdex;
		the_timeout=setTimeout("hereGoesA(godexpass,stopdexpass)", 37);

							}

			else	{
				clearTimeout(the_timeout);
					}
					
									}											
//play the O animation
function hereGoesO(godex, stopdex) 	{	
	if (godex <= stopdex)	{
		window.document.titled.src=imgloado[godex].src;							
		godexpass = godex + 1;
		stopdexpass = stopdex;
		the_timeout=setTimeout("hereGoesO(godexpass,stopdexpass)", 37);

							}

			else	{
				clearTimeout(the_timeout);
					}
					
									}
									
//play the C animation
function hereGoesC(godex, stopdex) 	{	
	if (godex <= stopdex)	{
		window.document.titled.src=imgloadc[godex].src;							
		godexpass = godex + 1;
		stopdexpass = stopdex;
		the_timeout=setTimeout("hereGoesC(godexpass,stopdexpass)", 37);

							}

			else	{
				clearTimeout(the_timeout);
					}
					
									}
									



function textBoxChange(id, pushbutton)		{
	if (pushbutton == 'awards' )  	{	
		document.getElementById(id).innerHTML = "<h1>Soak It In.</h1><h2>A Short List of Our Achievements</h2><ul class='list01'><li>2006 F.A.M.E. award winner for Interior Merchandising for homes over $900,000</li><li>Celebrating 20+ years</li><li>Active Member National Association of Home Builders</li><li>Active Member Jersey Shore Builders of Central Jersey<ul><li>Outstanding Service Award</li><li>Rookie of the Year Award</li><li>Associate of the Quarter Award</li><li>Co-Chair Installation Dinner Committee</li></ul></li><li>Active Member 50+ Housing Council</li><li>Certification in Lifestyle Merchandising, Advertising and Promotion Strategies, IRM III</li></ul>"
							
									}					
	
	if (pushbutton == 'history' )  	{	
			document.getElementById(id).innerHTML = "<h1>Rest Assured.<br> We know what we're doing.</h1><p class='para01'>Homes are our business, but we are also homeowners. We've been through everything a homeowner can experience. Construction, remodeling, and re-designs, so we understand. We have families, too.</p>"
							
							
									}


	if (pushbutton == 'philosophy' )  	{	
		document.getElementById(id).innerHTML = "<h1>How to Create an Atmosphere</h1><p class='para01'>Designers are important. The right designer coordinates the flow of rooms through color, furniture styles and accesories to complete the look of the home. Every detail contributes to the look and feel of the interior&mdash;paint or wallcovering, comfortable furniture appropriate to the room's activities, themed rooms for children, and accessories that reflect the personality of your market&mdash;they all count.</p><p class='para01'>Whatever the audience, each home needs to reflect the lifestyle the people live, enticing them to feel as though they could move in tomorrow. Whether we are creating a model home with emotional memory points or working with a residential client to make their house a home, the end result will always be &ldquo;I can live here forever&rdquo;.</p>"
							
										}
										
											}
											



function createCookie(name,value,days) 	{
	if (days) 	{
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
				}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
										}
										
										

function readCookie(name) 						{
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) 			{
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
											}
	return null;
												}

function eraseCookie(name) {
	createCookie(name,"",-1);
}

function popupwindow(index)
{
        if(index==1)
        {
                site="img01.html"
        }
        
        if(index==2)
        {
                site="img02.html"
        }
        
        if(index==3)
        {
                site="img03.html"
        }
        
        if(index==4)
        {
                site="img04.html"
        }
        
        if(index==5)
        {
                site="img05.html"
        }
        
        if(index==6)
        {
                site="img06.html"
        }
        
        if(index==7)
        {
                site="img07.html"
        }
        
        if(index==8)
        {
                site="img08.html"
        }
        
        if(index==9)
        {
                site="img09.html"
        }
        
        if(index==10)
        {
                site="img10.html"
        }
        
        if(index==11)
        {
                site="img11.html"
        }
        
        if(index==12)
        {
                site="img12.html"
        }
        
        if(index==13)
        {
                site="img13.html"
        }
        
        if(index==14)
        {
                site="img14.html"
        }
        
        if(index==15)
        {
                site="img15.html"
        }
        
        
        window.open(site,"newwindow","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizeable=1,width=507,height=380")
}
// -->							