/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var POS_TARGET=8;
var theSitetree=[ 
	['PAGE','2101',jdecode('O2+Realty%2C+LLC'),jdecode(''), jdecode('%2F2101.html'), 'true',[],'',''],
	['PAGE','2152',jdecode('About+Us'),jdecode(''), jdecode('%2F2152.html'), 'true',[],'',''],
	['PAGE','2173',jdecode('Contact+Us'),jdecode(''), jdecode('%2F2173%2Findex.html'), 'true',[ 
		['PAGE','2194',jdecode('Ask+Us+via+E-Mail'),jdecode(''), jdecode('%2F2173%2F2194.html'), 'true',[],'','']
	],'',''],
	['PAGE','2215',jdecode('More+Information'),jdecode(''), jdecode('%2F2215%2Findex.html'), 'true',[ 
		['PAGE','2236',jdecode('Location'),jdecode(''), jdecode('%2F2215%2F2236.html'), 'true',[],'',''],
		['PAGE','2278',jdecode('Broker%26%23x27%3Bs+Corner'),jdecode(''), jdecode('%2F2215%2F2278.html'), 'true',[],'',''],
		['PAGE','12801',jdecode('Guestbook'),jdecode(''), jdecode('%2F2215%2F12801.html'), 'true',[],'','']
	],'',''],
	['PAGE','12501',jdecode('Search'),jdecode(''), jdecode('%2F12501.html'), 'true',[],'','']];
var siteelementCount=9;
theSitetree.topTemplateName='Transluszent';
theSitetree.paletteFamily='009900';
theSitetree.keyvisualId='9241';
theSitetree.keyvisualName='kv3.swf';
theSitetree.fontsetId='17360';
theSitetree.graphicsetId='12759';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'hypermart',
  product: 'WSCSYSSSSLY0XRNC'
};
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Transluszent',
				paletteFamily: 	'009900',
				keyvisualId: 	'9241',
				keyvisualName: 	'kv3.swf',
				fontsetId: 		'17360',
				graphicsetId: 	'12759',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['7008']=webappMappings['7008-9351']={
webappId:    '7008',
documentId:  '2194',
internalId:  '9351',
customField: 'language:en;country:US;'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '2236',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:true;'
};
webappMappings['7050']=webappMappings['7050-5570']={
webappId:    '7050',
documentId:  '2278',
internalId:  '5570',
customField: 'language:en;country:US;'
};
webappMappings['1002']=webappMappings['1002-12801aendu0inedqk']={
webappId:    '1002',
documentId:  '12801',
internalId:  '12801aendu0inedqk',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2101',
internalId:  '',
customField: '20120125-014338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2215',
internalId:  '',
customField: '20120125-013423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2236',
internalId:  '',
customField: '20100430-014321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12801',
internalId:  '',
customField: '20090128-102409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2278',
internalId:  '',
customField: '20110324-145336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2152',
internalId:  '',
customField: '20110907-010358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12501',
internalId:  '',
customField: '20090130-104734'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2101',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-12563742']={
webappId:    '1501',
documentId:  '2101',
internalId:  '12563742',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2173',
internalId:  '',
customField: '20120117-025819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2194',
internalId:  '',
customField: '20081213-233946'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '12501',
internalId:  'search',
customField: 'language:en;country:US;'
};
var webAppHostname = 'cgiwsc.enhancedsitebuilder.com:80';
var canonHostname = 'cmworker03.yourhostingaccount.com';
var accountId     = 'AENDU0INEDQK';
var companyName   = 'O2+Realty%2C+LLC';
var htmlTitle	  = 'O2+Realty%2C+LLC';
var metaKeywords  = 'Zaria%2C+Zaria+Senia%2C+Zaria+Owens%2C+LaSandra%2C+LaSandra%2C+Sean%2C+Owens%2C+Sean+Owens%2C+Sean+S.+Owens%2C+Sean+Sebastian+Owens%2C+LaSandra+D.+Owens%2C+LaSandra+D.+Owens%2C+LaSandra+Demetria+Owens%2C+LaSandra+Demetria+Owens%2C+LaSandra+Owens%2C+LaSandra+Owens%2C+LaSandra+D.+Blaine%2C+LaSandra+D.+Blaine%2C+LaSandra+Blaine%2C+LaSandra+Blaine%2C+LaSandra+Demetria+Blaine%2C+LaSandra+Demetria+Blaine%2C+Blaine-Owens%2C+LLC%2C+Jimmy+Hodo%2C+Jimmy+M.+Hodo%2C+Dora+Lucier%2C+Dora+K.+Lucier%2C+Jimmy+Myer+Hodo%2C+Dora+Kay+Lucier%2C+affordable%2C+living%2C+lake%2C+river%2C+community%2C+neighborhood%2C+investor%2C+investment%2C+homebuyer%2C+home+purchase%2C+house+purchase%2C+real+estate%2C+realty%2C+realtor%2C+hospice%2C+houses%2C+house%2C+home%2C+finance%2C+agent%2C+mortgage%2C+relocating%2C+relocation%2C+move%2C+moving%2C+residential%2C+commercial%2C+investment%2C+pictures%2C+address%2C+living+room%2C+basement%2C+full+basement%2C+partial+basement%2C+carport%2C+dining+room%2C+bedroom%2C+kitchen%2C+den%2C+bathroom%2C+spare+room%2C+mother-in-law+suite%2C+downstairs%2C+upstairs%2C+attic%2C+slab%2C+crawlspace%2C+porch%2C+view%2C+door%2C+garage%2C+acres%2C+acreage%2C+acre%2C+brick%2C+vinyl%2C+roof%2C+yard%2C+fireplace%2C+hardwood+floors%2C+floor%2C+washer%2C+dishwasher%2C+buying+real+estate%2C+buy+real+estate%2C+buy+houses%2C+buy+house%2C+home+loan%2C+home+loans%2C+purchase%2C+buying+house%2C+dryer%2C+land%2C+acreage%2C+acre%2C+equity%2C+apartments%2C+apartment%2C+condo%2C+condominium%2C+townhome%2C+townhouse%2C+HUD%2C+property+management%2C+sell+house%2C+selling+house%2C+carpet%2C+sell+real+estate%2C+South-Metro.com%2C+South+Metro%2C+grammcommunities.com%2C+Gramm+Country%2C+Gramm++Associates%2C+Gramm%2C+Jack+Evans+Construction%2C+Diamond+Real+Estate%2C+Daniels++Company%2C+Griffin%2C+Atlanta%2C+Stockbridge%2C+Georgia%2C+V-103%2C+Next+Radio+Superstar%2C+Henry+County%2C+Spalding+County%2C+Clayton+County%2C+Fulton+County%2C+Eagles+Landing%2C+Henry+Burch%2C+O2+Realty%2C+LLC%2C+PBS+Realty%2C+02%2C+02+Realty%2C+02realty.com%2C+PBS%2C+P.B.S.+Realty+Company%2C+P.B.S.+Realty%2C+o2realty.com%2C+Henry+Burch%2C+Henry+Burch+Subdivision%2C+Barnesville%2C+Lamar+County%2C+Pike+County%2C+Butts+County%2C+Upson+County%2C+Coweta+County%2C+Fayette+County%2C+Gwinnett+County%2C+Cobb+County%2C+DeKalb+County%2C+Palmetto%2C+Lawrenceville%2C+Mableton%2C+Buckhead%2C+Morrow%2C+South+Atlanta%2C+South+Fulton%2C+Georgia%2C+GA%2C+builder%2C+building%2C+construction%2C+minority%2C+woman+owned%2C+black+owned%2C+Fairburn%2C+Jonesboro%2C+Hampton%2C+Jackson%2C+Zebulon%2C+Experiment%2C+Thomaston%2C+Riverdale%2C+Property%2C+properties%2C+Property+Management%2C+rent%2C+rental%2C+March+of+Dimes%2C+WalkAmerica%2C+Zarias+Team%2C+March+for+Babies%2C+Pemco%2C+HUD+Homes%2C+HUD-Pemco%2C+foreclosure%2C+Mack+Clark%2C+Mack+C.+Clark%2C+Mack+Clark+Jr.%2C+twitter%2C+facebook%2C+youtube%2C+activerain%2C+myspace';
var metaContents  = 'Multi-Function+Business+including+Real+Estate+for+O2+Realty%2C+LLC';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getParentById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {
			if (ar[i][POS_CHILDS][j][POS_ID] == id) {
				// child found
				return ar[i];
			}
			var result=this.getParentById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getName = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAME];
	}
	return null;
};

theSitetree.getNavigationText = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAVIGATIONTEXT];
	}
	return null;
};

theSitetree.getHREF = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_HREF];
	}
	return null;
};

theSitetree.getIsNavigation = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_ISNAVIGATION];
	}
	return null;
};

theSitetree.getTemplateName = function(id, lastTemplateName, ar) {
	if (typeof(lastTemplateName) == 'undefined'){
		lastTemplateName = this.topTemplateName;
	}
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		var actTemplateName = ar[i][POS_TEMPLATENAME];
		if (actTemplateName == ''){
			actTemplateName = lastTemplateName;
		}
		if (ar[i][POS_ID] == id) {
			return actTemplateName;
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};

