var RunningIE4 = (msieversion() >=4);
var timer1;
var timer2;
var loadingImage = false;

function msieversion() {
	var ua = window.navigator.userAgent
	var msie = ua.indexOf ( "MSIE " )
	if ( msie > 0 )		// is Microsoft Internet Explorer; return version number
		return parseInt ( ua.substring ( msie+5, ua.indexOf ( ".", msie ) ) )
	else
		return 0	// is other browser
}

if (RunningIE4) {
  changePic = dissolvePix
  } else {
  changePic  = switchPic}

function switchPic(picObj, newSrc) {
  loadingImage = true;
  picObj.src = newSrc;
  loadingImage = false;
}

function dissolvePix(picObj, imgfile){
// This is for IE4 or later, and dissolves the images together using a visual filter.
  loadingImage = true;
picObj.filters.revealTrans.Apply();        
picObj.src = imgfile
picObj.filters.revealTrans.Play()   
  loadingImage = false;
}  // end of function


function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

FP_preloadImgs('images/hm5.jpg','images/hm0.jpg','images/hm1.jpg','images/hm2.jpg','images/hm3.jpg','images/hm4.jpg');

var photoImage = new Array();

photoImage[0] = "images/pt_ot2_sm.jpg";
photoImage[1] = "images/pt_ex1_sm.jpg";
photoImage[2] = "images/pt_ex2_sm.jpg";
photoImage[3] = "images/pt_ex3_sm.jpg";
photoImage[4] = "images/pt_ex5_sm.jpg";
photoImage[5] = "images/pt_ex6_sm.jpg";
photoImage[6] = "images/pt_ex7_sm.jpg";
photoImage[7] = "images/pt_ex4_sm.jpg";
photoImage[8] = "images/pt_fp1_sm.jpg";
photoImage[9] = "images/pt_kn1_sm.jpg";
photoImage[10] = "images/pt_kn2_sm.jpg";
photoImage[11] = "images/pt_kn3_sm.jpg";
photoImage[12] = "images/pt_lr1_sm.jpg";
photoImage[13] = "images/pt_lr2_sm.jpg";
photoImage[14] = "images/pt_lr3_sm.jpg";
photoImage[15] = "images/pt_br1_sm.jpg";
photoImage[16] = "images/pt_ot1_sm.jpg";

var curphotoImage = 0;
var maxphotoImage = 16;

var homeImage = new Array();

homeImage[0] = "images/hm0.jpg";
homeImage[1] = "images/hm1.jpg";
homeImage[2] = "images/hm2.jpg";
homeImage[3] = "images/hm3.jpg";
homeImage[4] = "images/hm4.jpg";
homeImage[5] = "images/hm5.jpg";

var curhomeImage = 5;
var maxhomeImage = 5;

var cityImage = new Array();

cityImage[0] = "images/anisq1.gif";
cityImage[1] = "images/anisq2.gif";
cityImage[2] = "images/anisq3.gif";
cityImage[3] = "images/anisq4.gif";
cityImage[4] = "images/anisq5.gif";
cityImage[5] = "images/anisq6.gif";
cityImage[6] = "images/anisq7.gif";
cityImage[7] = "images/anisq8.gif";
cityImage[8] = "images/anisq9.gif";

var curcityImage = 8;
var maxcityImage = 8;


var pausephotoImage = false;
var currMenu = "BtnHome";

var lobjleft=0;

cntoabs_Sec0=285;
cntoabs_Sec1=268;
cntoabs_Sec2=268;
cntoabs_CityTextarea=305;
cntoabs_FeaturesTextarea=500;
cntoabs_FloorPlansMenu=765;
cntoabs_PhotoTourImg=385;
cntoabs_PhotoTourMenu=523;

cntoabs_music=765;

function LoadImage(imageName,imageFile)
{
  if ((!document.images) || loadingImage) return;
  loadingImage = true;
	try{
		document.images[imageName].src = imageFile;
	}
	catch(err)
	{
	};
  loadingImage = false;
}

function autoSizePage(){ 
	available_width = document.body.clientWidth;
	this.obj = document.getElementById("oabs_bgmain").style;
	
	lobjleft = Math.floor(available_width/2) - 370;
	
	if (lobjleft<8)
	{
		lobjleft=8;
	};
	
	lobjleftold = parseInt(this.obj.left);
	this.obj.left = lobjleft;
	
	if (lobjleft<=lobjleftold)
	{
		lobjleft = (lobjleftold-lobjleft)*-1;
	}
	else
	{
		lobjleft = lobjleft-lobjleftold;
	};

	if (lobjleft!=0){
		this.obj = document.getElementById("oabs_menu").style;
		this.obj.left = parseInt(this.obj.left) + lobjleft;
		
		cntoabs_Sec0=cntoabs_Sec0 + lobjleft;
		cntoabs_Sec1=cntoabs_Sec1 + lobjleft;
		cntoabs_Sec2=cntoabs_Sec2 + lobjleft;
		cntoabs_CityTextarea=cntoabs_CityTextarea + lobjleft;
		cntoabs_FeaturesTextarea=cntoabs_FeaturesTextarea + lobjleft;
		cntoabs_FloorPlansMenu=cntoabs_FloorPlansMenu + lobjleft;
		cntoabs_PhotoTourImg=cntoabs_PhotoTourImg + lobjleft;
		cntoabs_PhotoTourMenu=cntoabs_PhotoTourMenu + lobjleft;

		cntoabs_music=cntoabs_music + lobjleft;
	};
	switch (currMenu)
	{
	case "BtnHome":
		this.obj = document.getElementById("oabs_Sec1").style;
		this.obj.left = cntoabs_Sec1;
		this.obj = document.getElementById("oabs_Sec2").style;
		this.obj.left = cntoabs_Sec2;
		break
	case "BtnCity":
		this.obj = document.getElementById("oabs_Sec0").style;
		this.obj.left = cntoabs_Sec0;
		this.obj = document.getElementById("oabs_Sec1").style;
		this.obj.left = cntoabs_Sec1;
		this.obj = document.getElementById("oabs_Sec2").style;
		this.obj.left = cntoabs_Sec2;
		this.obj = document.getElementById("oabs_CityTextarea").style;
		this.obj.left = cntoabs_CityTextarea;
		break
	case "BtnLocation":
		this.obj = document.getElementById("oabs_Sec0").style;
		this.obj.left = cntoabs_Sec0;
		this.obj = document.getElementById("oabs_Sec1").style;
		this.obj.left = cntoabs_Sec1;
		this.obj = document.getElementById("oabs_Sec2").style;
		this.obj.left = cntoabs_Sec2;
		break
	case "BtnFeatures":
		this.obj = document.getElementById("oabs_Sec0").style;
		this.obj.left = cntoabs_Sec0;
		this.obj = document.getElementById("oabs_Sec1").style;
		this.obj.left = cntoabs_Sec1;
		this.obj = document.getElementById("oabs_Sec2").style;
		this.obj.left = cntoabs_Sec2;
		this.obj = document.getElementById("oabs_FeaturesTextarea").style;
		this.obj.left = cntoabs_FeaturesTextarea;
		break
	case "BtnFloorPlans":
		this.obj = document.getElementById("oabs_Sec0").style;
		this.obj.left = cntoabs_Sec0;
		this.obj = document.getElementById("oabs_Sec1").style;
		this.obj.left = cntoabs_Sec1;
		this.obj = document.getElementById("oabs_Sec2").style;
		this.obj.left = cntoabs_Sec2;
		this.obj = document.getElementById("oabs_FloorPlansMenu").style;
		this.obj.left = cntoabs_FloorPlansMenu;
		break
	case "BtnPhotoTour":
		this.obj = document.getElementById("oabs_Sec0").style;
		this.obj.left = cntoabs_Sec0;
		this.obj = document.getElementById("oabs_Sec1").style;
		this.obj.left = cntoabs_Sec1;
		this.obj = document.getElementById("oabs_PhotoTourImg").style;
		this.obj.left = cntoabs_PhotoTourImg;
		this.obj = document.getElementById("oabs_PhotoTourMenu").style;
		this.obj.left = cntoabs_PhotoTourMenu;
		break
	case "BtnContactUs":
		this.obj = document.getElementById("oabs_Sec0").style;
		this.obj.left = cntoabs_Sec0;
		this.obj = document.getElementById("oabs_Sec1").style;
		this.obj.left = cntoabs_Sec1;
		this.obj = document.getElementById("oabs_Sec2").style;
		this.obj.left = cntoabs_Sec2;
		this.obj = document.getElementById("oabs_Sec3").style;
		this.obj.left = cntoabs_Sec2;
		break
	};
	this.obj = document.getElementById("oabs_music").style;
	this.obj.left = cntoabs_music;

}

function goHomeInit()
{
lstr="<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"100\" height=\"24\" id=\"bgsound\" align=\"middle\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"movie\" value=\"bgsound.swf\" /><param name=\"menu\" value=\"false\" /><param name=\"quality\" value=\"medium\" /><param name=\"wmode\" value=\"opaque\" /><param name=\"bgcolor\" value=\"#413B01\" /><embed src=\"bgsound.swf\" menu=\"false\" quality=\"medium\" wmode=\"opaque\" bgcolor=\"#413B01\" width=\"100\" height=\"24\" name=\"bgsound\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" /></object>";
document.getElementById('oabs_music').innerHTML=lstr;
lstr=document.getElementById('bgsound').outerHTML;
document.getElementById('bgsound').outerHTML=lstr;

	currMenu = "BtnHome";
	
	LoadImage('oBtnHome','images/btnhomesel.gif');
	LoadMenu1();
		
	lstr="";	
	lstr=lstr + "<img id='oabs_Sec1' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12); position:absolute; top:19px; left:268px; z-index:5' >";
	lstr=lstr + "<div id='oabs_Sec2' style=\"position:absolute; top:378px; left:268px; z-index:5; background-color:#E4D8CD; height:90px; width:607px; \">";
	lstr=lstr + "<div style='position:relative; top:-8px; left:55px;' ><img src='images/anitwelcome.gif'/></div>";
	lstr=lstr + "<div style='position:relative; top:-19px; left:20px; font-size:8pt; font-weight:bold; margin-bottom:0px;'>Condominiums start at $105,000<a href='emailfriend.asp' target='_blank' style='position: relative; left: 150px;'>E-mail this website to a friend</a></div></div>";

	document.getElementById('oBodyMain').innerHTML=lstr;
	autoSizePage();



	changePic(document.images["oabs_Sec1"], homeImage[curhomeImage]);

	FP_preloadImgs('images/bgasheville.jpg','images/bglocation.jpg','images/anislocation.gif','images/fp0.gif','images/bgfeatures.jpg','images/bgcontactus.jpg');

	timer1=setTimeout( "Showhome();", 6000);
}

function LoadMenu1(){LoadImage('oBtnCity','images/anibtncity.gif'); setTimeout("LoadMenu2();",100);}
function LoadMenu2(){LoadImage('oBtnLocation','images/anibtnlocation.gif');	setTimeout("LoadMenu3();",100);}
function LoadMenu3(){LoadImage('oBtnFloorPlans','images/anibtnfloorplans.gif'); setTimeout("LoadMenu4();",150);}
function LoadMenu4(){LoadImage('oBtnPhotoTour','images/anibtnphototour.gif'); setTimeout("LoadMenu5();",170);}
function LoadMenu5(){LoadImage('oBtnFeatures','images/anibtnfeatures.gif');	setTimeout("LoadMenu6();",200);}
function LoadMenu6(){LoadImage('oBtnContactUs','images/anibtncontactus.gif');}

function Showhome()
{
	clearTimeout(timer1);
	if (currMenu == "BtnHome")
	{
		curhomeImage=curhomeImage+1;
		if (curhomeImage>maxhomeImage){
			curhomeImage=0;
		}
		changePic(document.images["oabs_Sec1"], homeImage[curhomeImage]);
		if (currMenu == "BtnHome")
		{
			timer1=setTimeout( "Showhome();", 5000);
		}
	}
}

function goHome()
{
	currMenu = "BtnHome";
	
	LoadImage('oBtnHome','images/btnhomesel.gif');
	LoadImage('oBtnCity','images/btncity.gif');
	LoadImage('oBtnLocation','images/btnlocation.gif');
	LoadImage('oBtnFloorPlans','images/btnfloorplans.gif');
	LoadImage('oBtnPhotoTour','images/btnphototour.gif');
	LoadImage('oBtnFeatures','images/btnfeatures.gif');
	LoadImage('oBtnContactUs','images/btncontactus.gif');
	
	lstr="";	
	lstr=lstr + "<img id='oabs_Sec1' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12); position:absolute; top:19px; left:268px; z-index:5' >";
	lstr=lstr + "<div id='oabs_Sec2' style=\"position:absolute; top:378px; left:268px; z-index:5; background-color:#E4D8CD; height:90px; width:607px; \">";
	lstr=lstr + "<div style='margin:8px 0px 37px 55px; color:#755634; font-family:Georgia; font-size:20pt; font-weight: bold' >Welcome Home to Woodland Trails</div>";
	lstr=lstr + "<div style='position:relative; top:-19px; left:20px; font-size:8pt; font-weight:bold; margin-bottom:0px;'>Condominiums start at $105,000<a href='emailfriend.asp' target='_blank' style='position: relative; left: 150px;'>E-mail this website to a friend</a></div></div>";

	document.getElementById('oBodyMain').innerHTML=lstr;
	autoSizePage();

	changePic(document.images["oabs_Sec1"], homeImage[curhomeImage]);
	timer1=setTimeout( "Showhome();", 5000);

}
function goCity()
{
	currMenu = "BtnCity";
	
	LoadImage('oBtnHome','images/btnhome.gif');
	LoadImage('oBtnCity','images/btncitysel.gif');
	LoadImage('oBtnLocation','images/btnlocation.gif');
	LoadImage('oBtnFloorPlans','images/btnfloorplans.gif');
	LoadImage('oBtnPhotoTour','images/btnphototour.gif');
	LoadImage('oBtnFeatures','images/btnfeatures.gif');
	LoadImage('oBtnContactUs','images/btncontactus.gif');

	lstr="";	
	lstr=lstr + "<img id='oabs_Sec0' src='images/anitasheville.gif' style='position:absolute; top:2px; left:285px; z-index:10' />";
	lstr=lstr + "<img id='oabs_Sec1' src='images/tasheville.gif' style='position:absolute; top:19px; left:268px; z-index:0' />";
	lstr=lstr + "<img id='oabs_Sec2' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12); position:absolute; top:128px; left:268px; z-index:0' />";
	lstr=lstr + "<div id='oabs_CityTextarea' style='position:absolute; top:134px; left:305px; z-index:10;'></div>";

	document.getElementById('oBodyMain').innerHTML=lstr;
	
	changePic(document.images["oabs_Sec2"],"images/bgasheville.jpg");
	
	setTimeout( "ShowCity1();", 1000 );
	autoSizePage();
}

function ShowCity1()
{
	if (currMenu == "BtnCity")
	{
		lstr="";	
		lstr=lstr + "<textarea readonly='readonly' style='width:550px; height:120px; background-color: transparent; font-weight: bold; border-style:none; font-family:arial; font-size:8pt;' >";
		lstr=lstr + "\n\nAsheville is the largest city in the western portion of North Carolina.  Asheville has a thriving economy, the largest airport in the western part of the state, three large healthcare facilities, a state community college, and UNC-Asheville.  Asheville has been widely recognized for its quality of life, economic vitality and significant growth.";
		lstr=lstr + "\n\nAsheville&#8217;s location and altitude give the region an ideal climate having four beautiful seasons.  Average summer temperature is 71 degrees, and fall temperatures range from 40-70 degrees.";
		lstr=lstr + "\n\nHealthcare";
		lstr=lstr + "\n&#8226; Mission St. Joseph&#8217;s Hospital";
		lstr=lstr + "\n&#8226; Park Ridge Hospital";
		lstr=lstr + "\n&#8226; Veteran&#8217;s Administration Medical Center";
		lstr=lstr + "\n\nEducation";
		lstr=lstr + "\n&#8226; UNC-Asheville";
		lstr=lstr + "\n&#8226; Asheville Buncombe Community College";
		lstr=lstr + "\n&#8226; North Carolina Center for Creative Retirement";
		lstr=lstr + "\n&#8226; Western Carolina University";
		lstr=lstr + "\n&#8226; Warren Wilson College";
		lstr=lstr + "\n&#8226; Mars Hill College";
		lstr=lstr + "\n&#8226; Montreat-Anderson College";
		lstr=lstr + "\n&#8226; Brevard College";
		lstr=lstr + "\n\nAsheville has a solid folk and craft heritage, and celebrates the arts including music, painting, theatre and dance.";
		lstr=lstr + "\n\n";
		lstr=lstr + "\nWhat Others Say About Asheville:";
		lstr=lstr + "\n&#8226; One of the Five Best Places to Retire - Money Advisor, Consumer Reports September 2005";
		lstr=lstr + "\n&#8226; 8 of 10 Best Places to Live - MSN/Sperlings Best Places, July 2005";
		lstr=lstr + "\n&#8226; 19 of Top 25 Most Secure U.S. Places to Live - Farmers Insurance Group, June 2005";
		lstr=lstr + "\n&#8226; 31 of 168 Small Metros Best Places for Business and Careers - Forbes, May 2005";
		lstr=lstr + "\n&#8226; 31 of 394 Regions, Entrepreneurial/Innovation Index - Small Business Administration, April 2005";
		lstr=lstr + "\n&#8226; 8 of America&#8217;s Top 25 Small Town Arts Destinations - American Style, Summer 2005";
		lstr=lstr + "\n&#8226; 11 of 50 Best Places to Live - Men&#8217;s Journal April 2005";
		lstr=lstr + "\n&#8226; One of Ten Great Adventure Towns - National Geographic ADVENTURE Magazine, Sept 2004";
		lstr=lstr + "\n&#8226; One of &#8220;Five Cities That Are Special&#8221; - USA TODAY, July 2004";
		lstr=lstr + "\n&#8226; 10 of America&#8217;s Top 25 Arts Destinations - American Style, Summer 2004";
		lstr=lstr + "\n&#8226; Best Place to Live, Number 8 of 331 - Cities Ranked and Rated, March 2004";
		lstr=lstr + "\n\n";
		lstr=lstr + "</textarea>";
		lstr=lstr+"<img id='oQuotes' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12); position:absolute; top:163px; left:203px;' />";
	
		document.getElementById('oabs_CityTextarea').innerHTML=lstr;
		
		timer2=setTimeout( "ShowCity2();", 2000 );
	}
}

function ShowCity2()
{
	clearTimeout(timer2);
	if (currMenu == "BtnCity")
	{
		curcityImage=curcityImage+1;
		if (curcityImage>maxcityImage){
			curcityImage=0;
		}
		LoadImage('oQuotes', cityImage[curcityImage]);
		if (currMenu == "BtnCity")
		{
			timer2=setTimeout( "ShowCity2();", 3000);
		}
	}
}

function goLocation()
{
	currMenu = "BtnLocation";
	
	LoadImage('oBtnHome','images/btnhome.gif');
	LoadImage('oBtnCity','images/btncity.gif');
	LoadImage('oBtnLocation','images/btnlocationsel.gif');
	LoadImage('oBtnFloorPlans','images/btnfloorplans.gif');
	LoadImage('oBtnPhotoTour','images/btnphototour.gif');
	LoadImage('oBtnFeatures','images/btnfeatures.gif');
	LoadImage('oBtnContactUs','images/btncontactus.gif');

	lstr="";	
	lstr=lstr + "<img id='oabs_Sec0' src='images/anitlocation.gif' style='position:absolute; top:2px; left:285px; z-index:10' />";
	lstr=lstr + "<img id='oabs_Sec1' src='images/tlocation.gif' style='position:absolute; top:19px; left:268px; z-index:0' />";
	lstr=lstr + "<img id='oabs_Sec2' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12);position:absolute; top:128px; left:268px; z-index:5' />";

	document.getElementById('oBodyMain').innerHTML=lstr;
	autoSizePage();
	changePic(document.images["oabs_Sec2"],"images/bglocation.jpg");

	setTimeout( "ShowLocation();", 2000 );
}
function ShowLocation()
{
	if (currMenu == "BtnLocation")
	{
		LoadImage('oabs_Sec2','images/anislocation.gif');
	}
}

function goFeatures()
{

	currMenu = "BtnFeatures";
	
	LoadImage('oBtnHome','images/btnhome.gif');
	LoadImage('oBtnCity','images/btncity.gif');
	LoadImage('oBtnLocation','images/btnlocation.gif');
	LoadImage('oBtnFloorPlans','images/btnfloorplans.gif');
	LoadImage('oBtnPhotoTour','images/btnphototour.gif');
	LoadImage('oBtnFeatures','images/btnfeaturessel.gif');
	LoadImage('oBtnContactUs','images/btncontactus.gif');

	lstr="";	
	lstr=lstr + "<img id='oabs_Sec0' src='images/anitfeatures.gif' style='position:absolute; top:2px; left:285px; z-index:10' />";
	lstr=lstr + "<img id='oabs_Sec1' src='images/tfeatures.gif' style='position:absolute; top:19px; left:265px; z-index:0' />";
	lstr=lstr + "<img id='oabs_Sec2' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12); position:absolute; top:128px; left:268px; z-index:0' />";
	lstr=lstr + "<div id='oabs_bgFeatures' style='position:absolute; top:143px; left:500px; z-index:0;'></div>";
	lstr=lstr + "<div id='oabs_FeaturesTextarea' style='position:absolute; top:143px; left:500px; z-index:10;'></div>";

	document.getElementById('oBodyMain').innerHTML=lstr;
	changePic(document.images["oabs_Sec2"],"images/bgfeatures.jpg");		

	setTimeout( "ShowFeatures1();", 1000 );	

	autoSizePage();
}

function ShowFeatures1()
{
	if (currMenu == "BtnFeatures")
	{
		lstr="";
		lstr=lstr+"<img src='images/anifeatures.gif' style='position:relative; top:-1px; left:-26px; ' />";
		document.getElementById('oabs_FeaturesTextarea').innerHTML=lstr;
		
		setTimeout( "ShowFeatures2();", 1000 );
	}
}

function ShowFeatures2()
{
	if (currMenu == "BtnFeatures")
	{
		lstr="";
		lstr=lstr + "<textarea readonly='readonly' style='position:relative; top:0px; left:-24px; padding-left:25px; width:360px; height:117px; background-color: #F5C471; font-weight: bold; border-style:none; font-family:arial; font-size:8pt;' >";
		lstr=lstr + "\n\nFoundation:";
		lstr=lstr + "\n&#8226; Reinforced concrete slabs used for robust foundation";
		lstr=lstr + "\n&#8226; Expansion joints used to minimize cracking";
		lstr=lstr + "\n";
		lstr=lstr + "\nRoof:";
		lstr=lstr + "\n&#8226; 25 year Fiberglass Architectural asphalt roof shingles";
		lstr=lstr + "\nare installed over 30 pound felt and include 25 year ";
		lstr=lstr + "\nwarranty.";
		lstr=lstr + "\n&#8226; Engineered Roof Truss Structure";
		lstr=lstr + "\n&#8226; Ridge, soffit vents & cross ventilation to ensure roof";
		lstr=lstr + "\nventilation";
		lstr=lstr + "\n& airflow.  Drip edge installed along roof perimeter";
		lstr=lstr + "\n&#8226; Vinyl soffits and siding for low maintenance";
		lstr=lstr + "\n&#8226; Aluminum downspouts & gutters ";
		lstr=lstr + "\n";
		lstr=lstr + "\nSiding:";
		lstr=lstr + "\n&#8226; Long Life Integral colored Vinyl siding, which greatly";
		lstr=lstr + "\n  reduces cleaning maintenance, provides insulation ";
		lstr=lstr + "\n  and lowers operating costs";
		lstr=lstr + "\n";
		lstr=lstr + "\nElectrical:";
		lstr=lstr + "\n&#8226; Individually electric metered";
		lstr=lstr + "\n&#8226; Inside Major Brand electrical breaker panel 125A  ";
		lstr=lstr + "\n&#8226; Copper wiring for superior efficiency";
		lstr=lstr + "\n&#8226; GFCI in wet areas for electrical protection  ";
		lstr=lstr + "\n&#8226; 240V range & dryer connections";
		lstr=lstr + "\n";
		lstr=lstr + "\nHVAC:";
		lstr=lstr + "\n&#8226; Individual Energy Efficient Air Conditioner & Electric";
		lstr=lstr + "\n  Heat Pump.  ";
		lstr=lstr + "\n&#8226; 1.5 ton, split system; Major Brand manufacturer  ";
		lstr=lstr + "\n&#8226; Distributed ductwork HVAC distribution system &#8211; more";
		lstr=lstr + "\n  efficient and quieter than single outlet systems.";
		lstr=lstr + "\n&#8226; HVAC filters accessed inside for easy maintenance";
		lstr=lstr + "\n";
		lstr=lstr + "\nWater Heater:";
		lstr=lstr + "\n&#8226; Individual Energy Efficient 240V Electric Water Heater";
		lstr=lstr + "\n  to speed delivery of hot water  ";
		lstr=lstr + "\n&#8226; Generous 40 gal Low Boy, shelf mounted to preserve";
		lstr=lstr + "\n  space, Quick recovery";
		lstr=lstr + "\n";
		lstr=lstr + "\nWasher/Dryer:";
		lstr=lstr + "\n&#8226; Each unit includes inside connections for side by side";
		lstr=lstr + "\n  washer & dryer.";
		lstr=lstr + "\n&#8226; 240V Dryer connections";
		lstr=lstr + "\n";
		lstr=lstr + "\nPlumbing:";
		lstr=lstr + "\n&#8226; PVC plumbing supply and waste lines for long life";
		lstr=lstr + "\n  and easy service";
		lstr=lstr + "\n&#8226; Cut off valves under sink & toilet for easy maintenance";
		lstr=lstr + "\n";
		lstr=lstr + "\nSmoke Detectors:";
		lstr=lstr + "\n&#8226; Hard-wired Smoke Detectors with 9-volt battery backup";
		lstr=lstr + "\n  located outside each bedroom ";
		lstr=lstr + "\n";
		lstr=lstr + "\nWindows: ";
		lstr=lstr + "\n&#8226; Vinyl Thermal insulated";
		lstr=lstr + "\n&#8226; Dual pane";
		lstr=lstr + "\n";
		lstr=lstr + "\nDoors:  ";
		lstr=lstr + "\n&#8226; Six panel decorative doors";
		lstr=lstr + "\n&#8226; 30&#8221; wide for interior rooms, 36&#8221; for entry &#8211; assures";
		lstr=lstr + "\n  easy access";
		lstr=lstr + "\n";
		lstr=lstr + "\nBath:";
		lstr=lstr + "\n&#8226; Fiberglass pre-molded tub and shower";
		lstr=lstr + "\n&#8226; Acrylic tub surrounds for easy cleaning & less maintenance";
		lstr=lstr + "\n&#8226; Solid Wood Cabinets for timeless beauty, appeal & durability";
		lstr=lstr + "\n&#8226; Bath vanities are solid stained wood construction with cultured";
		lstr=lstr + "\n  marble integral sink";
		lstr=lstr + "\n&#8226; Wall mounted mirrors, exhaust fan in each bathroom";
		lstr=lstr + "\n";
		lstr=lstr + "\nKitchen:";
		lstr=lstr + "\n&#8226; Solid Wood Cabinets for timeless beauty, appeal & durability";
		lstr=lstr + "\n&#8226; Dishwasher ";
		lstr=lstr + "\n&#8226; Major Brand Appliances ";
		lstr=lstr + "\n&#8226; Double bowl stainless steel sinks";
		lstr=lstr + "\n";
		lstr=lstr + "\nInterior:";
		lstr=lstr + "\n&#8226; Carpeted bedrooms";
		lstr=lstr + "\n&#8226; Floor coverings &#8211; tile, carpet, vinyl composition tile";
		lstr=lstr + "\n&#8226; Acoustic Finished Ceilings";
		lstr=lstr + "\n&#8226; Vaulted ceilings on limited upstair units";
		lstr=lstr + "\n&#8226; Mini-blinds & vertical blinds included standard";
		lstr=lstr + "\n&#8226; Ceiling fans in each unit for ambience, greater comfort";
		lstr=lstr + "\n  and energy efficiency";
		lstr=lstr + "\n&#8226; Cable TV connections";
		lstr=lstr + "\n&#8226; Spacious closets";
		lstr=lstr + "\n";
		lstr=lstr + "\nExterior:";
		lstr=lstr + "\n&#8226; Exterior entry lighting and streetlighting";
		lstr=lstr + "\n&#8226; Concrete and asphalt sidewalks & pathways";
		lstr=lstr + "\n&#8226; Underground utilities";
		lstr=lstr + "\n&#8226; Natural wooded setting";
		lstr=lstr + "\n&#8226; Landscaped grounds";
		lstr=lstr + "\n&#8226; Most units have individual locked storage area ";
		lstr=lstr + "\n&#8226; Wood Framed Upper level walkways include wood pickets";
		lstr=lstr + "\n  and top rails";
		lstr=lstr + "\n&#8226; Approximately 2.5 parking spaces per unit";
		lstr=lstr + "\n&#8226; Mail Centers";
		lstr=lstr + "\n";
		lstr=lstr + "\nFireplaces:";
		lstr=lstr + "\n&#8226; Select units have ventless fireplaces with propane gas logs";
		lstr=lstr + "\n\n";
		lstr=lstr + "</textarea>";
		
		document.getElementById('oabs_FeaturesTextarea').innerHTML=lstr;
	}
}

function goFloorPlans()
{
	currMenu = "BtnFloorPlans";
	
	LoadImage('oBtnHome','images/btnhome.gif');
	LoadImage('oBtnCity','images/btncity.gif');
	LoadImage('oBtnLocation','images/btnlocation.gif');
	LoadImage('oBtnFloorPlans','images/btnfloorplanssel.gif');
	LoadImage('oBtnPhotoTour','images/btnphototour.gif');
	LoadImage('oBtnFeatures','images/btnfeatures.gif');
	LoadImage('oBtnContactUs','images/btncontactus.gif');

	lstr="";	
	lstr=lstr + "<img id='oabs_Sec0' src='images/anitfloorplans.gif' style='position:absolute; top:2px; left:285px; z-index:10' />";
	lstr=lstr + "<img id='oabs_Sec1' src='images/tfloorplans.gif' style='position:absolute; top:19px; left:268px; z-index:0' />";
	lstr=lstr + "<div id='oabs_Sec2' style='position:absolute; top:109px; left:268px; z-index:0' /><img id='oFP' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12); ' /></div>";
	lstr=lstr + "<div id='oabs_FloorPlansMenu' style='position:absolute; top:125px; left:765px; z-index:10; '>";
	lstr=lstr + "<a href='javascript:goFP1()' onmouseover=\"ma1.src='images/a1_omo.gif';\" onmouseout=\"ma1.src='images/a1.gif';\"><img id='ma1' src='images/a1.gif' /></a><br /><br /><a href='javascript:goFP2()'onmouseover=\"ma2.src='images/a2_omo.gif';\" onmouseout=\"ma2.src='images/a2.gif';\"><img id='ma2' src='images/a2.gif' /></a><br /><br /><a href='javascript:goFP3()' onmouseover=\"ma3.src='images/a3_omo.gif';\" onmouseout=\"ma3.src='images/a3.gif';\"><img id='ma3' src='images/a3.gif' /></a><br /><br /><a href='javascript:goFP4()' onmouseover=\"ma4.src='images/a4_omo.gif';\" onmouseout=\"ma4.src='images/a4.gif';\"><img id='ma4' src='images/a4.gif' /></a><br /><br /><a href='javascript:goFP5()' onmouseover=\"ma5.src='images/a5_omo.gif';\" onmouseout=\"ma5.src='images/a5.gif';\"><img id='ma5' src='images/a5.gif' /></a><br /><br /><a href='javascript:goSitePlan()' onmouseover=\"masiteplan.src='images/asiteplan_omo.gif';\" onmouseout=\"masiteplan.src='images/asiteplan.gif';\"><img id='masiteplan' src='images/asiteplan.gif' /></a></div>";
	
	document.getElementById('oBodyMain').innerHTML=lstr;
	autoSizePage();
	changePic(document.images["oFP"],"images/fp0.gif");		
}
function goSitePlan()
{
	document.getElementById('oabs_Sec2').innerHTML=	"<a href='floorplan.asp?fp=0' target='_blank'><img id='oFP' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12);' /></a>";
	changePic(document.images["oFP"],"images/siteplan.gif");
}
function goFP1()
{
	document.getElementById('oabs_Sec2').innerHTML=	"<a href='floorplan.asp?fp=1' target='_blank'><img id='oFP' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12);' /></a>";
	changePic(document.images["oFP"],"images/fp1.gif");
}
function goFP2()
{
	document.getElementById('oabs_Sec2').innerHTML=	"<a href='floorplan.asp?fp=2' target='_blank'><img id='oFP' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12);' /></a>";
	changePic(document.images["oFP"],"images/fp2.gif");
}
function goFP3()
{
	document.getElementById('oabs_Sec2').innerHTML=	"<a href='floorplan.asp?fp=3' target='_blank'><img id='oFP' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12);' /></a>";
	changePic(document.images["oFP"],"images/fp3.gif");
}
function goFP4()
{
	document.getElementById('oabs_Sec2').innerHTML=	"<a href='floorplan.asp?fp=4' target='_blank'><img id='oFP' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12);' /></a>";
	changePic(document.images["oFP"],"images/fp4.gif");
}
function goFP5()
{
	document.getElementById('oabs_Sec2').innerHTML=	"<a href='floorplan.asp?fp=5' target='_blank'><img id='oFP' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12);' /></a>";
	changePic(document.images["oFP"],"images/fp5.gif");
}

function goPhotoTour()
{
	currMenu = "BtnPhotoTour";
	
	LoadImage('oBtnHome','images/btnhome.gif');
	LoadImage('oBtnCity','images/btncity.gif');
	LoadImage('oBtnLocation','images/btnlocation.gif');
	LoadImage('oBtnFloorPlans','images/btnfloorplans.gif');
	LoadImage('oBtnPhotoTour','images/btnphototoursel.gif');
	LoadImage('oBtnFeatures','images/btnfeatures.gif');
	LoadImage('oBtnContactUs','images/btncontactus.gif');

	lstr="";	
	lstr=lstr + "<img id='oabs_Sec0' src='images/anitphototour.gif' style='position:absolute; top:2px; left:282px; z-index:10' />";
	lstr=lstr + "<img id='oabs_Sec1' src='images/tphototour.gif' style='position:absolute; top:19px; left:268px; z-index:0' />";
	lstr=lstr + "<img id='oabs_PhotoTourImg' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12); position:absolute; top:155px; left:385px; z-index:5' />";
	lstr=lstr + "<div id='oabs_PhotoTourMenu' style='position:absolute; top:438px; left:523px; z-index:10; '>";
	lstr=lstr + "<a href='javascript:goPlay()'onmouseover=\"mplay.src='images/btnplay_omo.gif';\" onmouseout=\"mplay.src='images/btnplay.gif';\"><img id='mplay' src='images/btnplay.gif' /></a>";
	lstr=lstr + "<a href='javascript:goPause()'onmouseover=\"mpause.src='images/btnpause_omo.gif';\" onmouseout=\"mpause.src='images/btnpause.gif';\"><img id='mpause' src='images/btnpause.gif' /></a>";
	lstr=lstr + "<a href='javascript:goPrev()' onmouseover=\"mprev.src='images/btnprev_omo.gif';\" onmouseout=\"mprev.src='images/btnprev.gif';\"><img id='mprev' src='images/btnprev.gif' /></a>";
	lstr=lstr + "<a href='javascript:goNext()' onmouseover=\"mnext.src='images/btnnext_omo.gif';\" onmouseout=\"mnext.src='images/btnnext.gif';\"><img id='mnext' src='images/btnnext.gif' /></a></div>";
	
	document.getElementById('oBodyMain').innerHTML=lstr;
	changePic(document.images["oabs_PhotoTourImg"],photoImage[curphotoImage]);
	autoSizePage();
	if (pausephotoImage == false)
	{
		pausephotoImage = true;
		setTimeout( "pausephotoImage = false; goNextAuto();", 5000 );	
	}
}

function goPause()
{
	pausephotoImage = true;
}
function goPlay()
{
	pausephotoImage = false;
	goNextAuto();
}
function goPrev()
{
	if (currMenu == "BtnPhotoTour")
	{
		curphotoImage=curphotoImage-1;
		if (curphotoImage<0){
			curphotoImage=maxphotoImage;
		}
		changePic(document.images["oabs_PhotoTourImg"],photoImage[curphotoImage]);
	}
}
function goNext()
{
	if (currMenu == "BtnPhotoTour")
	{
		curphotoImage=curphotoImage+1;
		if (curphotoImage>maxphotoImage){
			curphotoImage=0;
		}
		changePic(document.images["oabs_PhotoTourImg"],photoImage[curphotoImage]);
	}
}
function goNextAuto()
{
	if (currMenu == "BtnPhotoTour" && pausephotoImage == false)
	{
		curphotoImage=curphotoImage+1;
		if (curphotoImage>maxphotoImage){
			curphotoImage=0;
		}
		changePic(document.images["oabs_PhotoTourImg"],photoImage[curphotoImage]);
		if (currMenu == "BtnPhotoTour" && pausephotoImage == false)
		{
			setTimeout( "goNextAuto()", 5000);
		}
	}
}

function goContactUs()
{
	currMenu = "BtnContactUs";
	
	LoadImage('oBtnHome','images/btnhome.gif');
	LoadImage('oBtnCity','images/btncity.gif');
	LoadImage('oBtnLocation','images/btnlocation.gif');
	LoadImage('oBtnFloorPlans','images/btnfloorplans.gif');
	LoadImage('oBtnPhotoTour','images/btnphototour.gif');
	LoadImage('oBtnFeatures','images/btnfeatures.gif');
	LoadImage('oBtnContactUs','images/btncontactussel.gif');

	lstr="";	
	lstr=lstr + "<img id='oabs_Sec0' src='images/anitcontactus.gif' style='position:absolute; top:2px; left:285px; z-index:10' />";
	lstr=lstr + "<img id='oabs_Sec1' src='images/tcontactus.gif' style='position:absolute; top:19px; left:268px; z-index:0' />";
	lstr=lstr + "<img id='oabs_Sec2' src='images/clearpixel.gif' style='filter:revealTrans(Duration=0.7, Transition=12); margin-left:10px; position:absolute; top:109px; left:268px; z-index:5; ' />";
	lstr=lstr + "<input type='hidden' name='callmode' value='reqinfo' />";

	lstr=lstr + "<div id='oabs_Sec3' style='position:absolute; top:109px; left:268px; z-index:5; width:600px' >";

	lstr=lstr + "<table cellspacing='0' style='margin-left:270px' >";
	lstr=lstr + "<tr><td style='text-align:right' class='brwn'>* First Name:</td><td style='text-align:left'><input type='text' name='fname' size='28' class='brwn_drk' ></td></tr>";
	lstr=lstr + "<tr><td style='text-align:right' class='brwn'>* Last Name:</td><td style='text-align:left'><input type='text' name='lname' size='28' class='brwn_drk' ></td></tr>";
	lstr=lstr + "<tr><td style='text-align:right' class='brwn'>* Phone:</td><td style='text-align:left'><input type='text' name='phone' size='28' class='brwn_drk'></td></tr>";
	lstr=lstr + "<tr><td style='text-align:right' class='brwn'>* E-mail:</td><td style='text-align:left'><input type='text' name='youremail' size='28' class='brwn_drk'></td></tr>";
	lstr=lstr + "<tr><td style='text-align:right' class='brwn'>Comments:</td><td style='text-align:left'></td></tr>";
	lstr=lstr + "</table>";

	lstr=lstr + "<div align='left' style='position:relative; top:-14; left:360px; margin-bottom:0px;'>";
	lstr=lstr + "<textarea name='yourcomments' cols='26' rows='5' class='brwn_drk' style='vertical-align: top;'></textarea>";
	lstr=lstr + "<div class='brwn' style='margin-bottom:0px;'>* required fields";
	lstr=lstr + "<input type='image' src='images/btnsubmit.gif' name='Submit' style='margin:3px 0px 0px 60px;' /></div></div>";


	lstr=lstr + "<table cellspacing='0' style='margin-left:280px' >";
	lstr=lstr + "<tr><td valign='top' align='right'>";
	lstr=lstr + "<img src='images/bhlogo.gif' alt='Bevery-Hanks' /></td><td style='font-weight:bold;'>Beverly-Hanks & Associates<br />300 Executive Park<br />Asheville, NC 28801";
	lstr=lstr + "</td></tr><tr><td align='right' class='brwn'>Telephone:</td><td align='left' style='font-weight:bold;'>828-254-7221";
	lstr=lstr + "</td></tr><tr><td align='right' class='brwn'>Toll-Free:</td><td align='left' style='font-weight:bold;'>800-868-7221";
	lstr=lstr + "</td></tr><tr><td align='right' class='brwn'>E-mail:</td><td align='left' style='font-weight:bold;'><a href='mailto:jennifer@beverly-hanks.com?subject=Woodland Trails Info Request'>jennifer@beverly-hanks.com</a></td></tr>";
	lstr=lstr + "</table>";

	lstr=lstr + "</div>";


	document.getElementById('oBodyMain').innerHTML=lstr;
	autoSizePage();

	changePic(document.images["oabs_Sec2"],"images/bgcontactus.jpg");

}

function formvalidator(theForm)
{
	if (theForm.callmode.value == "reqinfo")
  	{
		if (theForm.fname.value == "")
	  	{
	  		alert("First Name is required.");
	    	theForm.fname.focus();
	    	return (false);
	  	}
	  	if (theForm.lname.value == "")
	  	{
	  		alert("Last Name is required.");
	    	theForm.lname.focus();
	    	return (false);
	  	}
	  	if (theForm.phone.value == "")
	  	{
	  		alert("Phone is required.");
	    	theForm.phone.focus();
	    	return (false);
	  	}
	  	if (theForm.youremail.value == "")
	  	{
	    	alert("E-mail is required.");
	    	theForm.youremail.focus();
	    	return (false);
	  	}
	
		lstr="";	
	
		lstr=lstr + "<table cellspacing='0' style='margin-left:280px' >";
		lstr=lstr + "<tr><td valign='center' align='right' colspan='2' style='height:226px;' class='brwn'>Thank you, your e-mail has been sent.</td></tr>";
		lstr=lstr + "<tr><td valign='top' align='right'>";
		lstr=lstr + "<img src='images/bhlogo.gif' alt='Bevery-Hanks' /></td><td style='font-weight:bold;'>Beverly-Hanks & Associates<br />300 Executive Park<br />Asheville, NC 28801";
		lstr=lstr + "</td></tr><tr><td align='right' class='brwn'>Telephone:</td><td align='left' style='font-weight:bold;'>828-254-7221";
		lstr=lstr + "</td></tr><tr><td align='right' class='brwn'>Toll-Free:</td><td align='left' style='font-weight:bold;'>800-868-7221";
		lstr=lstr + "</td></tr><tr><td align='right' class='brwn'>E-mail:</td><td align='left' style='font-weight:bold;'><a href='mailto:jennifer@beverly-hanks.com?subject=Woodland Trails Info Request'>jennifer@beverly-hanks.com</a></td></tr>";
		lstr=lstr + "</table>";
		
		lstr=lstr + "<input type='hidden' name='youremail' value='"+theForm.youremail.value+"' >";
		lstr=lstr + "<input type='hidden' name='fname' value='"+theForm.fname.value+"' >";
		lstr=lstr + "<input type='hidden' name='lname' value='"+theForm.lname.value+"' >";
		lstr=lstr + "<input type='hidden' name='phone' value='"+theForm.phone.value+"' >";
		lstr=lstr + "<input type='hidden' name='yourcomments' value='"+theForm.yourcomments.value+"' >";
		lstr=lstr + "<input type='hidden' name='callmode' value='reqinfo' />";
		
		document.getElementById('oabs_Sec3').innerHTML=lstr;
	}
	autoSizePage();
	return (true);
}

function procomo(tImg)
{
	if (currMenu==tImg)
	{
		LoadImage('o'+tImg,'images/'+tImg+'Sel.gif');
	}
	else
	{
		LoadImage('o'+tImg,'images/'+tImg+'.gif');
	}
}

