/* [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','97912',jdecode('Home+'),jdecode(''),'/97912.html','true',[],'',''],
	['PAGE','552',jdecode('A+equipe'),jdecode(''),'/552.html','true',[],'',''],
	['PAGE','25201',jdecode('Placa+do+Carro'),jdecode(''),'/25201.html','true',[],'',''],
	['PAGE','8822',jdecode('Servi%C3%A7os+oferecidos'),jdecode(''),'/8822.html','true',[],'',''],
	['PAGE','74212',jdecode('Livro+jornal%C3%ADstico'),jdecode(''),'/74212.html','true',[],'',''],
	['PAGE','79012',jdecode('%C3%81lbum+tradicional'),jdecode(''),'/79012.html','true',[],'',''],
	['PAGE','112612',jdecode('%C3%81lbuns+panor%C3%A2micos'),jdecode(''),'/112612.html','true',[],'',''],
	['PAGE','143123',jdecode('Linha+Infantil'),jdecode(''),'/143123.html','true',[],'',''],
	['PAGE','136023',jdecode('Book+'),jdecode(''),'/136023.html','true',[],'',''],
	['PAGE','140323',jdecode('Anima%C3%A7%C3%A3o'),jdecode(''),'/140323.html','true',[],'',''],
	['PAGE','140344',jdecode('Publicidade'),jdecode(''),'/140344.html','true',[],'',''],
	['PAGE','92312',jdecode('V%C3%ADdeos'),jdecode(''),'/92312.html','true',[],'',''],
	['PAGE','145023',jdecode('%C3%81lbum+Virtual'),jdecode(''),'/145023.html','true',[],'',''],
	['PAGE','80512',jdecode('Momentos+2007'),jdecode(''),'/80512.html','true',[],'',''],
	['PAGE','105212',jdecode('Momentos+2008'),jdecode(''),'/105212.html','true',[],'',''],
	['PAGE','144523',jdecode('Momentos+2009'),jdecode(''),'/144523.html','true',[],'',''],
	['PAGE','143723',jdecode('Orkut'),jdecode(''),'/143723.html','true',[],'',''],
	['PAGE','50822',jdecode('Localiza%C3%A7%C3%A3o'),jdecode(''),'/50822.html','true',[],'',''],
	['PAGE','501',jdecode('Fa%C3%A7a+seu+or%C3%A7amento'),jdecode(''),'/501.html','true',[],'','']];
var siteelementCount=19;
theSitetree.topTemplateName='Neon';
theSitetree.paletteFamily='FF6600';
theSitetree.keyvisualId='843';
theSitetree.keyvisualName='sektflasche.jpg';
theSitetree.fontsetId='163';
theSitetree.graphicsetId='195';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'pt',
  country: 'BR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Neon',
				paletteFamily: 	'FF6600',
				keyvisualId: 	'843',
				keyvisualName: 	'sektflasche.jpg',
				fontsetId: 		'163',
				graphicsetId: 	'195',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'6699CC',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50822',
internalId:  '',
customField: '20100324-141303'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '97912',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '97912',
internalId:  '1501',
customField: '1501'
};
webappMappings['7008']=webappMappings['7008-52']={
webappId:    '7008',
documentId:  '501',
internalId:  '52',
customField: 'language:pt;country:BR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20100324-133938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25201',
internalId:  '',
customField: '20091218-121705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140323',
internalId:  '',
customField: '20100326-071256'
};
webappMappings['1501']=webappMappings['1501-4437223']={
webappId:    '1501',
documentId:  '97912',
internalId:  '4437223',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97912',
internalId:  '',
customField: '20100324-133237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8822',
internalId:  '',
customField: '20091118-101648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20080109-131815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74212',
internalId:  '',
customField: '20100327-085559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79012',
internalId:  '',
customField: '20100326-072728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112612',
internalId:  '',
customField: '20081218-171039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92312',
internalId:  '',
customField: '20091208-073345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80512',
internalId:  '',
customField: '20100327-084703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105212',
internalId:  '',
customField: '20100327-132633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145023',
internalId:  '',
customField: '20100327-135445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140344',
internalId:  '',
customField: '20100327-130809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136023',
internalId:  '',
customField: '20100326-073625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143123',
internalId:  '',
customField: '20100327-093142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143723',
internalId:  '',
customField: '20100327-130629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144523',
internalId:  '',
customField: '20100327-135551'
};
webappMappings['7060']=webappMappings['7060-c197bc7e4e96e5ac216c39a973ef4302']={
webappId:    '7060',
documentId:  '145023',
internalId:  'c197bc7e4e96e5ac216c39a973ef4302',
customField: 'language:pt;country:BR;'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INVO4H';
var companyName   = 'Novidades+em+2010+%21%21%21';
var htmlTitle	  = 'Dinhos...+fazendo+da+sua+imagem%2C+a+nossa+imagem.';
var metaKeywords  = 'fotografos+profissionais+de+casamento%2C+fotografos+jornalisticos%2C+dia+da+noiva%2C+fotografos+de+casamento%2C+%C3%81lbum+para+casamento%2C+profissionais+de+foto+e+filmagem%2C+site+de+casamento%2C+site+de+noivas%2C+site+de+noivos%2C+wedding+book%2C+%C3%A1lbum+livro%2C+filmagem+de+casamentos%2C+fotojornalismo+para+casamentos%2C+c%C3%A2meras+digitais%2C+fot%C3%B3grafo+profissional%2C+Dinhos+fotografias%2C+reportagem%2C+noivas+e+noivos%2C+fotografo+de+noivas%2C+fotojornalismo+para+debutante%2C+est%C3%BAdio+de+filmagem%2C+equipe+de+filmagem%2C+planos+de+filmagens%2C+est%C3%BAdio+de+fotos%2C+est%C3%BAdio+de+filmes%2C+est%C3%BAdio+fotogr%C3%A1fico%2C+empresa+de+foto%2C+empresa+de+v%C3%ADdeo%2C+cinegrafista+profissional%2C+%C3%A1lbum+livro%2C+wedding+book%2C+';
var metaContents  = 'dinhos+fot%C3%B3grafos+de+casamentos+%C3%A9+uma+empresa+s%C3%A9ria+ao+reportar+casamentos.Equipamentos%2C+que+nos+ofererecem+total+liberdade%2C+de+escolha+de+foco+em+uma+imagem.+Temos+a+seguran%C3%A7a+de+executar+uma+trabalho+em+alta+qualidade+de+resolu%C3%A7%C3%A3o+e+transpar%C3%AAncia+em+qualquer+tipo+de+evento.+N%C3%B3s+da+equipe+Dinhos+Fotojornalismo+Personalizamos+o+seu+livro+de+casamento+do+in%C3%ADcio+ao+fim.+Pois+contamos+com+profissionais+especialistas+em+fotografar+seu+casamento.Garanta+a+sua+vaga+pelo+%2811%29+3989-6128+ou+8971-5838+++++Videojornalismo.+A+equipe+dinhosfotoevideo.com++al%C3%A9m+de+ter+uma+estrutura+completa+para+cobrir+o+seu+evento%2C+cria+a+sua+imagem+dando+personalidade%2C+entretenimento+e+emo%C3%A7%C3%A3o+a+cada+grava%C3%A7%C3%A3o+capturada.+Profissionais+t%C3%A9cnicos%2C+que+elaboram+do+in%C3%ADcio+ao+final+projetos+de+grava%C3%A7%C3%A3o+de+eventos+socias%2C+empresariais+e+outros.++Fotografia.+para+uma+boa+fotografia%2C+se+faz+nescess%C3%A1rio+aprofundar-se+no+momento%2C+estar+preparado+e+contar+com+a+emo%C3%A7%C3%A3o.+A+dinhosfotoevideo.com+oferece+qualidade+de+imagem+e+acabamento+para+o+seu+evento+ou++++Equipe.+Em+resumo%2C+voc%C3%AA+deve+saber+que+a+dinhosfotoevideo.com+pode+contar+com+profissionais+competentes%2C+pois+a+equipe+j%C3%A1+%C3%A9+desde+1995+um+sin%C3%B4nimo+de+excel%C3%AAncia+em+fotos+e+v%C3%ADdeos.+A+nossa+maior+compet%C3%AAncia+est%C3%A1+no+estilo+jornal%C3%ADstico.+Receba+seus+%C3%A1lbuns+e++DVD%C2%B4s+peronalizados%2C+saiba+mais...++produtos+e+servi%C3%A7osKit+Jornal%C3%ADstico%3A+R%24+1750%2C00%C2%B7%0920+p%C3%A1ginas+20x30+diagramadas+%28fotos+panor%C3%A2micas%2C+PB%2C+montagens%29.+%C2%B7%09%C3%A1lbum+encadernado+estilo+livro++%C2%B7%09lamina%C3%A7%C3%A3o+brilhante+ou+fosca+das+p%C3%A1ginas+%C2%B7%09foto+na+capa+N%C3%B3s+da+equipe+Dinhos+Fotojornalismo+Personalizamos+o+seu+livro+de+casamento+do+in%C3%ADcio+ao+fim.+Pois+contamos+com+profissionais+especialistas+em+fotografar+seu+casamento.Garanta+a+sua+vaga+pelo+%2811%29+3989-6128+ou+8971-5838';
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();
};
