/* [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','6601',jdecode('Home'),jdecode(''),'/6601.html','true',[],'',''],
	['PAGE','18201',jdecode('Realtors'),jdecode(''),'/18201/index.html','true',[ 
		['PAGE','24634',jdecode('Georgia+Realtors'),jdecode(''),'/18201/24634.html','true',[],'',''],
		['PAGE','26734',jdecode('Claim+Statistics'),jdecode(''),'/18201/26734.html','true',[],'','']
	],'',''],
	['PAGE','18701',jdecode('Stucco+Homeowners'),jdecode(''),'/18701/index.html','true',[ 
		['PAGE','25434',jdecode('Facts'),jdecode(''),'/18701/25434.html','true',[],'','']
	],'',''],
	['PAGE','6801',jdecode('Stucco+Inspection'),jdecode(''),'/6801/index.html','true',[ 
		['PAGE','25455',jdecode('Facts'),jdecode(''),'/6801/25455.html','true',[],'',''],
		['PAGE','39034',jdecode('Inspection+Protocol'),jdecode(''),'/6801/39034.html','true',[],'','']
	],'',''],
	['PAGE','6822',jdecode('Stucco+Repair'),jdecode(''),'/6822/index.html','true',[ 
		['PAGE','25476',jdecode('Facts'),jdecode(''),'/6822/25476.html','true',[],'',''],
		['PAGE','36734',jdecode('Picture+of+Damages'),jdecode(''),'/6822/36734.html','true',[],'',''],
		['PAGE','48334',jdecode('Stucco+Repair+Pictures'),jdecode(''),'/6822/48334.html','true',[],'','']
	],'',''],
	['PAGE','6843',jdecode('Stucco+Moisture+Guarantee'),jdecode(''),'/6843/index.html','true',[ 
		['PAGE','25497',jdecode('Facts'),jdecode(''),'/6843/25497.html','true',[],'',''],
		['PAGE','28634',jdecode('Claim+Statistics'),jdecode(''),'/6843/28634.html','true',[],'','']
	],'',''],
	['PAGE','6864',jdecode('Stucco+Seminars'),jdecode(''),'/6864.html','true',[],'',''],
	['PAGE','19101',jdecode('References'),jdecode(''),'/19101/index.html','true',[ 
		['PAGE','21412',jdecode('Letters'),jdecode(''),'/19101/21412.html','true',[],'',''],
		['PAGE','30334',jdecode('Feedback'),jdecode(''),'/19101/30334.html','true',[],'','']
	],'',''],
	['PAGE','6885',jdecode('Contact+Us'),jdecode(''),'/6885.html','true',[],'',''],
	['PAGE','22623',jdecode('Comparison'),jdecode(''),'/22623.html','true',[],'','']];
var siteelementCount=22;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1763';
theSitetree.keyvisualName='tischler.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1763',
				keyvisualName: 	'tischler.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6601',
internalId:  '',
customField: '20090807-004042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6801',
internalId:  '',
customField: '20090810-222056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6822',
internalId:  '',
customField: '20090810-222218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6843',
internalId:  '',
customField: '20090807-004416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6885',
internalId:  '',
customField: '20090512-103444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6864',
internalId:  '',
customField: '20090512-100212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18201',
internalId:  '',
customField: '20090527-202904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18701',
internalId:  '',
customField: '20090810-222021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19101',
internalId:  '',
customField: '20090710-170346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21412',
internalId:  '',
customField: '20090527-202235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22623',
internalId:  '',
customField: '20090704-101156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24634',
internalId:  '',
customField: '20090527-203259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25434',
internalId:  '',
customField: '20090527-203323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25455',
internalId:  '',
customField: '20090527-203353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25476',
internalId:  '',
customField: '20090527-203434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25497',
internalId:  '',
customField: '20090527-203500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26734',
internalId:  '',
customField: '20100223-084429'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '6601',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-14452002']={
webappId:    '1501',
documentId:  '6601',
internalId:  '14452002',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28634',
internalId:  '',
customField: '20100223-084349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30334',
internalId:  '',
customField: '20100219-164308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36734',
internalId:  '',
customField: '20090628-123419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48334',
internalId:  '',
customField: '20090712-205010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39034',
internalId:  '',
customField: '20090709-191316'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVFL30INHQWT';
var companyName   = 'SIR+Inc.';
var htmlTitle	  = 'Stucco+Inspections+%26+Repair';
var metaKeywords  = '';
var metaContents  = '';
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();
};
