/* [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 theSitetree=[ 
	['PAGE','6001',jdecode('Home'),jdecode(''),'/6001.html','true',[],''],
	['PAGE','10601',jdecode('Atestato+M%C3%A9dico'),jdecode(''),'/10601.html','true',[],''],
	['PAGE','11301',jdecode('Atestado+de+Antecedente'),jdecode(''),'/11301.html','true',[],''],
	['PAGE','10685',jdecode('Carteira+de+Identidade'),jdecode(''),'/10685.html','true',[],''],
	['PAGE','10706',jdecode('Carteira+de+Vacina%C3%A7%C3%A3o'),jdecode(''),'/10706.html','true',[],''],
	['PAGE','9101',jdecode('Carteira+de+Motorista'),jdecode(''),'/9101.html','true',[],''],
	['PAGE','6136',jdecode('Certid%C3%A3o+de+Nascimento'),jdecode(''),'/6136.html','true',[],''],
	['PAGE','6157',jdecode('Certid%C3%A3o+de+Casamento'),jdecode(''),'/6157.html','true',[],''],
	['PAGE','6199',jdecode('Certid%C3%A3o+de+Registro'),jdecode(''),'/6199.html','true',[],''],
	['PAGE','6178',jdecode('Certid%C3%A3o+de+Obito'),jdecode(''),'/6178.html','true',[],''],
	['PAGE','10727',jdecode('Contrato+Social'),jdecode(''),'/10727.html','true',[],''],
	['PAGE','10748',jdecode('Certificados'),jdecode(''),'/10748.html','true',[],''],
	['PAGE','11322',jdecode('Certid%C3%A3o+Negativa'),jdecode(''),'/11322.html','true',[],''],
	['PAGE','10422',jdecode('Cidadania'),jdecode(''),'/10422.html','true',[],''],
	['PAGE','6501',jdecode('Conte%C3%BAdo+Program%C3%A1tico'),jdecode(''),'/6501.html','true',[],''],
	['PAGE','10790',jdecode('Diploma+de+Segundo+Grau'),jdecode(''),'/10790.html','true',[],''],
	['PAGE','6241',jdecode('Diploma+Brasileiro'),jdecode(''),'/6241.html','true',[],''],
	['PAGE','10811',jdecode('Diploma+Universit%C3%A1rio'),jdecode(''),'/10811.html','true',[],''],
	['PAGE','10664',jdecode('Hist%C3%B3rico+Escolar+Universit%C3%A1rio'),jdecode(''),'/10664.html','true',[],''],
	['PAGE','10643',jdecode('Hist%C3%B3rico+Escolar+de+Segundo+Grau'),jdecode(''),'/10643.html','true',[],''],
	['PAGE','10622',jdecode('Hist%C3%B3rico+Escolar+de+Primeiro+Grau'),jdecode(''),'/10622.html','true',[],''],
	['PAGE','11101',jdecode('Imposto+de+Renda'),jdecode(''),'/11101.html','true',[],''],
	['PAGE','6522',jdecode('Hist%C3%B3rico+Escolar'),jdecode(''),'/6522.html','true',[],''],
	['PAGE','10401',jdecode('Imigra%C3%A7%C3%A3o+Americana'),jdecode(''),'/10401.html','true',[],''],
	['PAGE','6115',jdecode('Imigra%C3%A7%C3%A3o'),jdecode(''),'/6115.html','true',[],''],
	['PAGE','6073',jdecode('Links'),jdecode(''),'/6073.html','true',[],''],
	['PAGE','6220',jdecode('Registro+de+Nascimento'),jdecode(''),'/6220.html','true',[],''],
	['PAGE','10769',jdecode('Registro+de+Empresa'),jdecode(''),'/10769.html','true',[],''],
	['PAGE','6094',jdecode('Servi%C3%A7os'),jdecode(''),'/6094.html','true',[],''],
	['PAGE','6262',jdecode('Tradu%C3%A7%C3%A3o+Juramentada+Americana'),jdecode(''),'/6262.html','true',[],''],
	['PAGE','9122',jdecode('Tradu%C3%A7%C3%A3o+Certificada'),jdecode(''),'/9122.html','true',[],''],
	['PAGE','9143',jdecode('Notariza%C3%A7%C3%A3o'),jdecode(''),'/9143.html','true',[],''],
	['PAGE','10443',jdecode('Naturaliza%C3%A7%C3%A3o'),jdecode(''),'/10443.html','true',[],''],
	['PAGE','9164',jdecode('Traduc%C3%A3o+de+Certificados+de+Nascimento'),jdecode(''),'/9164.html','true',[],''],
	['PAGE','9185',jdecode('Tradu%C3%A7%C3%A3o+de+Certificados+de+Casamento'),jdecode(''),'/9185.html','true',[],''],
	['PAGE','8501',jdecode('Everett'),jdecode(''),'/8501.html','true',[],''],
	['PAGE','8522',jdecode('Lowell'),jdecode(''),'/8522.html','true',[],''],
	['PAGE','8543',jdecode('Raleigh'),jdecode(''),'/8543.html','true',[],''],
	['PAGE','8564',jdecode('Marrieta'),jdecode(''),'/8564.html','true',[],''],
	['PAGE','8585',jdecode('Coral+Springs'),jdecode(''),'/8585.html','true',[],''],
	['PAGE','8606',jdecode('Oakland+Park'),jdecode(''),'/8606.html','true',[],''],
	['PAGE','8627',jdecode('Pembroke+Pines'),jdecode(''),'/8627.html','true',[],''],
	['PAGE','8648',jdecode('Deerfield+Beach'),jdecode(''),'/8648.html','true',[],''],
	['PAGE','8669',jdecode('Coconut+Creek'),jdecode(''),'/8669.html','true',[],''],
	['PAGE','8690',jdecode('Orange+County'),jdecode(''),'/8690.html','true',[],''],
	['PAGE','8711',jdecode('Nova+Iorque'),jdecode(''),'/8711.html','true',[],''],
	['PAGE','8732',jdecode('Mineola'),jdecode(''),'/8732.html','true',[],''],
	['PAGE','8753',jdecode('Astoria'),jdecode(''),'/8753.html','true',[],''],
	['PAGE','9001',jdecode('Staten+Island'),jdecode(''),'/9001.html','true',[],''],
	['PAGE','9022',jdecode('Long+Island+City'),jdecode(''),'/9022.html','true',[],''],
	['PAGE','9206',jdecode('Queens'),jdecode(''),'/9206.html','true',[],''],
	['PAGE','9227',jdecode('Brooklyn'),jdecode(''),'/9227.html','true',[],''],
	['PAGE','9248',jdecode('Los+Angeles'),jdecode(''),'/9248.html','true',[],''],
	['PAGE','9269',jdecode('San+Diego'),jdecode(''),'/9269.html','true',[],''],
	['PAGE','9290',jdecode('San+Francisco'),jdecode(''),'/9290.html','true',[],''],
	['PAGE','9311',jdecode('Sacramento'),jdecode(''),'/9311.html','true',[],''],
	['PAGE','9332',jdecode('Fresno'),jdecode(''),'/9332.html','true',[],''],
	['PAGE','9353',jdecode('Point+Loma'),jdecode(''),'/9353.html','true',[],''],
	['PAGE','9374',jdecode('Pacific+Beach'),jdecode(''),'/9374.html','true',[],''],
	['PAGE','9395',jdecode('Poway'),jdecode(''),'/9395.html','true',[],''],
	['PAGE','9416',jdecode('Miami'),jdecode(''),'/9416.html','true',[],''],
	['PAGE','9437',jdecode('Orlando'),jdecode(''),'/9437.html','true',[],''],
	['PAGE','9458',jdecode('Pompano+Beach'),jdecode(''),'/9458.html','true',[],''],
	['PAGE','9479',jdecode('Boca+Raton'),jdecode(''),'/9479.html','true',[],''],
	['PAGE','9500',jdecode('Tampa'),jdecode(''),'/9500.html','true',[],''],
	['PAGE','9521',jdecode('Ft.Lauderdale'),jdecode(''),'/9521.html','true',[],''],
	['PAGE','9542',jdecode('Tallahassee'),jdecode(''),'/9542.html','true',[],''],
	['PAGE','9563',jdecode('Newark'),jdecode(''),'/9563.html','true',[],''],
	['PAGE','9584',jdecode('Somerville'),jdecode(''),'/9584.html','true',[],''],
	['PAGE','9605',jdecode('Framingham'),jdecode(''),'/9605.html','true',[],''],
	['PAGE','9626',jdecode('Chicago'),jdecode(''),'/9626.html','true',[],''],
	['PAGE','9647',jdecode('Boston'),jdecode(''),'/9647.html','true',[],''],
	['PAGE','9668',jdecode('Houston'),jdecode(''),'/9668.html','true',[],''],
	['PAGE','9689',jdecode('Austin'),jdecode(''),'/9689.html','true',[],''],
	['PAGE','9710',jdecode('Havai'),jdecode(''),'/9710.html','true',[],''],
	['PAGE','9731',jdecode('Honolulu'),jdecode(''),'/9731.html','true',[],''],
	['PAGE','9752',jdecode('Phoenix'),jdecode(''),'/9752.html','true',[],''],
	['PAGE','9773',jdecode('Denver'),jdecode(''),'/9773.html','true',[],''],
	['PAGE','9794',jdecode('Seattle'),jdecode(''),'/9794.html','true',[],''],
	['PAGE','9815',jdecode('Long+Beach'),jdecode(''),'/9815.html','true',[],''],
	['PAGE','9836',jdecode('Las+Vegas'),jdecode(''),'/9836.html','true',[],''],
	['PAGE','9857',jdecode('Jacksonville'),jdecode(''),'/9857.html','true',[],''],
	['PAGE','10832',jdecode('Eugene'),jdecode(''),'/10832.html','true',[],''],
	['PAGE','10853',jdecode('Portland'),jdecode(''),'/10853.html','true',[],''],
	['PAGE','11401',jdecode('Refer%C3%AAncias'),jdecode(''),'/11401.html','true',[],''],
	['PAGE','11201',jdecode('Perguntas%3F+D%C3%BAvidas%3F'),jdecode(''),'/11201.html','true',[],''],
	['PAGE','6052',jdecode('Contact'),jdecode(''),'/6052.html','true',[],'']];
var siteelementCount=87;
theSitetree.topTemplateName='Undulate';
theSitetree.paletteFamily='413D42';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33116';
theSitetree.graphicsetId='14071';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='413D42';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Undulate',
				paletteFamily: 	'413D42',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33116',
				graphicsetId: 	'14071',
				contentColor: 	'FFFFFF',
				contentBGColor: '413D42',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6001',
internalId:  '',
customField: '20091101-011407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6052',
internalId:  '',
customField: '20091101-013754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6073',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6094',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6115',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6136',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6157',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6178',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6199',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6220',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6241',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6262',
internalId:  '',
customField: '20091101-004121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6501',
internalId:  '',
customField: '20091101-004926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6522',
internalId:  '',
customField: '20091101-004926'
};
webappMappings['1501']=webappMappings['1501-14568326']={
webappId:    '1501',
documentId:  '6001',
internalId:  '14568326',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '6001',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVFL30INHHN6';
var companyName   = 'Tradutor+Brasileiro+nos+Estados+Unidos+-+Tradu%C3%A7%C3%A3o+Juramentada+Americana+-+Portugu%C3%AAs%3DIngl%C3%AAs';
var htmlTitle	  = 'Tradutor+Brasileiro+nos+Estados+Unidos+-+Comunidade+Brasileira+nos+Estados+Unidos+-+Tradu%C3%A7%C3%A3o+Juramentada+Americana+-+Tradu%C3%A7%C3%A3o+de+Documentos+para+Imigra%C3%A7%C3%A3o+-+Tradu%C3%A7%C3%A3o+de+Documentos+para+Naturaliza%C3%A7%C3%A3o+Americana+-+Imigra%C3%A7%C3%A3o+dos+Estados+Unidos+-+Naturaliza%C3%A7%C3%A3o';
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();
};
