/* [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','1801',jdecode('Home'),jdecode(''), jdecode('%2F1801.html'), 'true',[],'',''],
	['PAGE','1852',jdecode('About+Us'),jdecode(''), jdecode('%2F1852.html'), 'true',[],'',''],
	['PAGE','1873',jdecode('Contact+Us'),jdecode(''), jdecode('%2F1873.html'), 'true',[],'',''],
	['PAGE','5901',jdecode('GET+A+QUOTE'),jdecode(''), jdecode('%2F5901.html'), 'true',[],'',''],
	['PAGE','10501',jdecode('Moving+Guide'),jdecode(''), jdecode('%2F10501.html'), 'true',[],'',''],
	['PAGE','10522',jdecode('Moving+Pets'),jdecode(''), jdecode('%2F10522.html'), 'true',[],'',''],
	['PAGE','10543',jdecode('Auto+Transportation'),jdecode(''), jdecode('%2F10543.html'), 'true',[],'',''],
	['PAGE','7801',jdecode('Referalls'),jdecode(''), jdecode('%2F7801.html'), 'false',[],'',''],
	['PAGE','12801',jdecode('Check+out+Your+Mover'),jdecode(''), jdecode('%2F12801.html'), 'true',[],'',''],
	['PAGE','8301',jdecode('Testimonials'),jdecode(''), jdecode('%2F8301.html'), 'true',[],'','']];
var siteelementCount=10;
theSitetree.topTemplateName='Georgia';
theSitetree.paletteFamily='6080D3';
theSitetree.keyvisualId='5988';
theSitetree.keyvisualName='kv_5988.jpg';
theSitetree.fontsetId='11118';
theSitetree.graphicsetId='11911';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='6080D3';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp35-attweb',
  product: 'WSCSYSSSSLY0X9RC'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Georgia',
				paletteFamily: 	'6080D3',
				keyvisualId: 	'5988',
				keyvisualName: 	'kv_5988.jpg',
				fontsetId: 		'11118',
				graphicsetId: 	'11911',
				contentColor: 	'FFFFFF',
				contentBGColor: '6080D3',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['7008']=webappMappings['7008-18730']={
webappId:    '7008',
documentId:  '1873',
internalId:  '18730',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1801',
internalId:  '',
customField: '20111228-115912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1852',
internalId:  '',
customField: '20100911-182210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1873',
internalId:  '',
customField: '20100910-212935'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5901',
internalId:  '',
customField: '20100911-170104'
};
webappMappings['7008']=webappMappings['7008-19092']={
webappId:    '7008',
documentId:  '5901',
internalId:  '19092',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7801',
internalId:  '',
customField: '20100911-072415'
};
webappMappings['1002']=webappMappings['1002-8301avf340i710ts']={
webappId:    '1002',
documentId:  '8301',
internalId:  '8301avf340i710ts',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8301',
internalId:  '',
customField: '20100911-140039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10501',
internalId:  '',
customField: '20100913-132815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10522',
internalId:  '',
customField: '20100914-132444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10543',
internalId:  '',
customField: '20100911-210336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12801',
internalId:  '',
customField: '20100913-214349'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVF340I710TS';
var companyName   = 'Sureway+Moving+%26+Storage+888-455-9990';
var htmlTitle	  = '';
var metaKeywords  = 'apartments%2C%0D%0Aauto+movers%2C%0D%0Acommercial+movers%2C%0D%0Acorporate+relocation%2C%0D%0Afurniture+movers%2C%0D%0Ahousehold+movers%2C%0D%0Alight+movers%2C%0D%0Alocal+movers%2C%0D%0Along+distance+movers%2C%0D%0Amove%2C%0D%0Amover%2C%0D%0Amoving%2C%0D%0Amoving+and+storage%2C%0D%0Amoving+companies%2C%0D%0Amoving+company%2C%0D%0Amoving+services%2C%0D%0Amoving+tips%2C%0D%0Aoffice+movers%2C%0D%0Apacking%2C%0D%0Apeople+movers%2C%0D%0Apiano+movers%2C%0D%0Aprofessional+movers%2C%0D%0Areal+estate%2C%0D%0Arelocating%2C%0D%0Arelocation%2C%0D%0Aremovals%2C%0D%0Aresidential+movers%2C%0D%0Aresidential+movers+moving+company%2C%0D%0Aself+storage%2C%0D%0Ashipping%2C%0D%0Astorage%2C%0D%0Atransportation%2C%0D%0Atrucking%2C%0D%0Avan+lines%2C%0D%0Acrating%2C%0D%0Afurniture%2C%0D%0Afurniture+mover%2C%0D%0Afurniture+movers%2C%0D%0Ahousehold+goods%2C%0D%0Ahousehold+movers%2C%0D%0Ainterstate+moving%2C%0D%0Along+haul%2C%0D%0Amove%2C%0D%0Amovers%2C%0D%0Amoving%2C%0D%0Amoving+and+storage+company%2C%0D%0Amoving+company%2C%0D%0Amoving+furniture%2C%0D%0Amoving+household+furniture%2C%0D%0Anational+moving+company%2C%0D%0Apacking%2C%0D%0Arelocation%2C%0D%0Afind+moving+company%2C%0D%0Alocal+moving+company%2C%0D%0Along+distance+moving+company%2C%0D%0Amover%2C%0D%0Amovers%2C%0D%0Amoves%2C%0D%0Amoving%2C%0D%0Amoving+and+storage%2C%0D%0Amoving+companies%2C%0D%0Amoving+service%2C%0D%0Amoving+truck%2C%0D%0Amoving+van%2C%0D%0Anational+moving+company%2C%0D%0Apacking%2C%0D%0Aprofessional+moving+company%2C%0D%0Areal+estate%2C%0D%0Arelocation%2C%0D%0Arelocation+moving+company%2C%0D%0Aresidential+movers+moving+company%2C%0D%0Aresidential+moving+company%2C%0D%0Astorage%2C%0D%0Avan+line%2C%0D%0Avan+lines%2C%0D%0Avanline%2C%0D%0Abusiness+relocator%2C%0D%0Acommercial+movers%2C%0D%0Acorporate+moves%2C%0D%0Alocal+movers%2C%0D%0Alocal+moving+specialists%2C%0D%0Amovers%2C%0D%0Amoving%2C%0D%0Amoving+and+storage%2C%0D%0Amoving+businesses%2C%0D%0Amoving+companies%2C%0D%0Amoving+trucks%2C%0D%0Anew+residential+movers%2C%0D%0Apackers%2C%0D%0Apacking%2C%0D%0Apacking+supplies%2C%0D%0Arelocation%2C%0D%0Aresidential+movers+moving+company%2C%0D%0Astorage%2C%0D%0Acommercial+moving+and+storage%2C%0D%0Acorporate+relocation%2C%0D%0Ainterstate+moving%2C%0D%0Alocal+move%2C%0D%0Amove%2C%0D%0Amover%2C%0D%0Amovers%2C%0D%0Amoving%2C%0D%0Amoving+and+storage+companies%2C%0D%0Amoving+and+storage+company%2C%0D%0Amoving+and+storage+office%2C%0D%0Amoving+and+storage+services%2C%0D%0Amoving+and+storage+software%2C%0D%0Amoving+companies%2C%0D%0Amoving+company%2C%0D%0Amoving+tips%2C%0D%0Apacking%2C%0D%0Arelocation%2C%0D%0Arelocation+services%2C%0D%0Astorage%2C%0D%0Avan+lines%2C%0D%0Awarehousing%2C+';
var metaContents  = 'Sureway+Moving+and+Storage+services+include+complete+packing+and+unpacking%2C+local%2C+long+distance%2C+international%2C+residential%2C+and+commercial+moves%2C+as+well+as+full-service+storage.+We+are+fully+licensed+and+insured.+We+offer+very+competitive+pricing+including+our+offer+to+beat+any+reliable+competitor%E2%80%99s+price+by+at+least+10%25%21%0D%0A%0D%0A';
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();
};

