/* [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','401',jdecode('Home'),jdecode(''),'/401.html','true',[],'',''],
	['PAGE','24922',jdecode('Arquitetura'),jdecode(''),'/24922.html','true',[],'',''],
	['PAGE','24964',jdecode('Animais'),jdecode(''),'/24964.html','true',[],'',''],
	['PAGE','53401',jdecode('Blog'),jdecode(''),'/53401.html','true',[],'',''],
	['PAGE','110401',jdecode('Betty+Lagerd%C3%A9re-Fhashion'),jdecode(''),'/110401.html','true',[],'',''],
	['PAGE','118201',jdecode('Colombia+%C3%A9s+pasi%C3%B3n'),jdecode(''),'/118201.html','true',[],'',''],
	['PAGE','59101',jdecode('Cia.Mar%C3%ADtima%2Fspfw2008'),jdecode(''),'/59101.html','true',[],'',''],
	['PAGE','36864',jdecode('Cultura+Sertaneja-PE'),jdecode(''),'/36864.html','true',[],'',''],
	['PAGE','36843',jdecode('Cultura+Ind%C3%ADgena'),jdecode(''),'/36843.html','true',[],'',''],
	['PAGE','61201',jdecode('Cultura+Afro-Brasileira'),jdecode(''),'/61201.html','true',[],'',''],
	['PAGE','73701',jdecode('Cultura+Alem%C3%A2'),jdecode(''),'/73701.html','true',[],'',''],
	['PAGE','36822',jdecode('Cultura+Japonesa'),jdecode(''),'/36822.html','true',[],'',''],
	['PAGE','36906',jdecode('Cultura+Boliviana'),jdecode(''),'/36906.html','true',[],'',''],
	['PAGE','99901',jdecode('Desenhos'),jdecode(''),'/99901.html','true',[],'',''],
	['PAGE','47843',jdecode('Dupont-calend%C3%A1rio'),jdecode(''),'/47843.html','true',[],'',''],
	['PAGE','102401',jdecode('Ensaio+de+site'),jdecode(''),'/102401.html','true',[],'',''],
	['PAGE','24901',jdecode('Esportes'),jdecode(''),'/24901.html','true',[],'',''],
	['PAGE','473',jdecode('Fotosub%2FNaufr%C3%A1gios'),jdecode(''),'/473.html','true',[],'',''],
	['PAGE','36801',jdecode('Folclore'),jdecode(''),'/36801.html','true',[],'',''],
	['PAGE','47822',jdecode('JONH+DEERE-clip'),jdecode(''),'/47822.html','true',[],'',''],
	['PAGE','98001',jdecode('Jetwaves-Imbituba-SC'),jdecode(''),'/98001.html','true',[],'',''],
	['PAGE','86201',jdecode('Jiu-jitsu'),jdecode(''),'/86201.html','true',[],'',''],
	['PAGE','36885',jdecode('Maracat%C3%BA+Rural-PE'),jdecode(''),'/36885.html','true',[],'',''],
	['PAGE','87622',jdecode('Moda-Eduardo+Ferreira'),jdecode(''),'/87622.html','true',[],'',''],
	['PAGE','118243',jdecode('Museo+del+Oro-Colombia'),jdecode(''),'/118243.html','true',[],'',''],
	['PAGE','118222',jdecode('Museo+de+la+Esmeralda'),jdecode(''),'/118222.html','true',[],'',''],
	['PAGE','47801',jdecode('Momboj%C3%B3'),jdecode(''),'/47801.html','true',[],'',''],
	['PAGE','5001',jdecode('Naufr%C3%A1gios++Serrambi-PE'),jdecode(''),'/5001.html','true',[],'',''],
	['PAGE','31001',jdecode('Produtos'),jdecode(''),'/31001.html','true',[],'',''],
	['PAGE','24943',jdecode('Paisagens'),jdecode(''),'/24943.html','true',[],'',''],
	['PAGE','31043',jdecode('Retratos+'),jdecode(''),'/31043.html','true',[],'',''],
	['PAGE','124901',jdecode('Rio+de+Janeiro.'),jdecode(''),'/124901.html','true',[],'',''],
	['PAGE','452',jdecode('reparodepiscina.com'),jdecode(''),'/452.html','true',[],'',''],
	['PAGE','98701',jdecode('Sal%C3%A3o+do+automovel-SP'),jdecode(''),'/98701.html','true',[],'',''],
	['PAGE','108301',jdecode('SPFW09-Moda'),jdecode(''),'/108301.html','true',[],'',''],
	['PAGE','31022',jdecode('Surf+'),jdecode(''),'/31022.html','true',[],'',''],
	['PAGE','87601',jdecode('Skate-pro-BRAZIL'),jdecode(''),'/87601.html','true',[],'',''],
	['PAGE','47885',jdecode('SIVI2006-+RISW07'),jdecode(''),'/47885.html','true',[],'',''],
	['PAGE','71801',jdecode('Veleiros+Cl%C3%A1ssicos-RJ'),jdecode(''),'/71801.html','true',[],'',''],
	['PAGE','76001',jdecode('Em+breve-+CUBA'),jdecode(''),'/76001.html','true',[],'',''],
	['PAGE','49601',jdecode('.www.abissaldive.com.br'),jdecode(''),'/49601.html','true',[],'',''],
	['PAGE','53506',jdecode('Livro+de+visitas%2FF%C3%B3rum'),jdecode(''),'/53506/index.html','true',[ 
		['PAGE','53501',jdecode('Servi%C3%A7o+de+bilhetes'),jdecode(''),'/53506/53501.html','false',[],'','']
	],'',''],
	['PAGE','104901',jdecode('Tech+diver%2Fboat+for+rent'),jdecode(''),'/104901.html','true',[],'','']];
var siteelementCount=44;
theSitetree.topTemplateName='Stars';
theSitetree.paletteFamily='3C5284';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10466';
theSitetree.graphicsetId='10913';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='3C5284';
var localeDef={
  language: 'pt',
  country: 'BR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stars',
				paletteFamily: 	'3C5284',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10466',
				graphicsetId: 	'10913',
				contentColor: 	'FFFFFF',
				contentBGColor: '3C5284',
				a_color: 		'3C5284',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-7227791']={
webappId:    '1501',
documentId:  '401',
internalId:  '7227791',
customField: '1501'
};
webappMappings['7060']=webappMappings['7060-2cb8097a6cf08d296ab4bd5c10bd3e59']={
webappId:    '7060',
documentId:  '5001',
internalId:  '2cb8097a6cf08d296ab4bd5c10bd3e59',
customField: 'language:pt;country:BR;'
};
webappMappings['7050']=webappMappings['7050-738']={
webappId:    '7050',
documentId:  '53401',
internalId:  '738',
customField: 'language:pt;country:BR;'
};
webappMappings['1002']=webappMappings['1002-53506avec10inzm6e']={
webappId:    '1002',
documentId:  '53506',
internalId:  '53506avec10inzm6e',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20100704-170757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24922',
internalId:  '',
customField: '20091110-090931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24964',
internalId:  '',
customField: '20091027-041958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59101',
internalId:  '',
customField: '20091027-043306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99901',
internalId:  '',
customField: '20091027-052803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24901',
internalId:  '',
customField: '20091027-053647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102401',
internalId:  '',
customField: '20091027-053201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20100619-093620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36801',
internalId:  '',
customField: '20090708-091043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86201',
internalId:  '',
customField: '20091027-070845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87622',
internalId:  '',
customField: '20091027-071134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31022',
internalId:  '',
customField: '20091027-060849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87601',
internalId:  '',
customField: '20091027-060957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98701',
internalId:  '',
customField: '20091027-060438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36885',
internalId:  '',
customField: '20091027-071028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5001',
internalId:  '',
customField: '20091027-054828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24943',
internalId:  '',
customField: '20091027-055740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31001',
internalId:  '',
customField: '20091027-055423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31043',
internalId:  '',
customField: '20091027-055850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76001',
internalId:  '',
customField: '20091027-061236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61201',
internalId:  '',
customField: '20091027-051143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36822',
internalId:  '',
customField: '20091027-052418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36843',
internalId:  '',
customField: '20091027-050954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36864',
internalId:  '',
customField: '20091027-043457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36906',
internalId:  '',
customField: '20091109-135327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73701',
internalId:  '',
customField: '20091027-051309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47801',
internalId:  '',
customField: '20080824-090003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47822',
internalId:  '',
customField: '20080509-105608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98001',
internalId:  '',
customField: '20091027-070758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47843',
internalId:  '',
customField: '20091027-053032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71801',
internalId:  '',
customField: '20091027-061155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47885',
internalId:  '',
customField: '20091027-061051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49601',
internalId:  '',
customField: '20091125-133319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20080824-204656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53401',
internalId:  '',
customField: '20090122-080731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53506',
internalId:  '',
customField: '20091027-062114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53501',
internalId:  '',
customField: '20080611-085036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104901',
internalId:  '',
customField: '20091027-062948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108301',
internalId:  '',
customField: '20091027-060728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110401',
internalId:  '',
customField: '20091027-042342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118201',
internalId:  '',
customField: '20091027-043139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118222',
internalId:  '',
customField: '20091029-142912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118243',
internalId:  '',
customField: '20091027-071354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124901',
internalId:  '',
customField: '20091027-060003'
};
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INZM6E';
var companyName   = 'WWW.FOTOSPORT.JOR.BR';
var htmlTitle	  = '';
var metaKeywords  = 'Reparo+de+piscina%2C+servi%C3%A7os+subaqu%C3%A0ticos%2Cinspe%C3%A7%C3%A3o+em+foto+e+video%2C+foto++e+video+submarino%2C+fotoe+video+profissional%2C+foto+de+esportes%2C+surf%2Ciatismo%2Cfotosubmarina%2Capoio+para+filmagens+submarinas+de+cinema+e+video.Profissional+photographer%2Cunderwater+photographer%2Cwww.abissaldive.com.br.Aluguel+de+lancha%2Cboat+for+rent%2Cbarco+de+alquiler%2Cbarca+per+afitare%2C+fotografia+em+geral%2C+submarina%2C+casamentos%2Cpublicit%C3%A1ria%2Cesportiva%2C+fotojornalismo.Moda+S%C3%A3o+Paulo+fashion+week%28spfw%29%2Ccultura+colombiana%2Cmuseu+do+ouro+em+Bogot%C3%A1%2CColombia%2Cmuseu+internacional+da+esmeralda+Bogot%C3%A1%2C+flores+da+colombia%2Ccampeonato+mundial+de+windsurf+em+Ilhabela%2CS%C3%A3o+Paulo%2CBrasil%2Cwww.abws.org.br.mergulho%2Cdiving%2Fregata+Richards+de+veleiros+antigos+em+B%C3%BAzios%2C+Rio+de+Janeiro.';
var metaContents  = 'Servi%C3%A7os+subaqu%C3%A1ticos%2Creparos+de+piscina+e+instala%C3%A7%C3%B5es+submarinas.Inspe%C3%A7%C3%A3o+em+foto+e+video.Fotografia+profissional+%2C+foto+esportiva+em+geral+%2C+especialidade+em+fotografia+de+surf%2C+iatismo+e+foto+submarina%2Copera%C3%A7%C3%B5es+de+filmagem+de+cinema+e+publicit%C3%A1ria.++Underwater+services%2Cpool+repair+and+pipeline.Underwater+foto+and+video+inspection.Profissional++photographer%2C++all+sports%2C+surf%2C+sailing%2C+underwater+photographer+and+movie+maker.windsurf%2CColombia+%C3%A9s+pasi%C3%B3n%2Cmuseo+internacional+de+la+esmeralda%2Cmuseo+del+oro+en+Bogot%C3%A1%2Cparque+del+caf%C3%A9+en+Montenegro%28Colombia%29%2CLa+Candelaria%2Cfoto+arquivo%2Cimagens+submarinas%2Cwildlife+pictures%2Cphotojournalism%2Cfotojornalismo%2Cfotografia.Moda+%2Cfashion.visanet%2Cfashion+week%2CRegata+Richards+de+veleiros+cl%C3%A1ssicos+B%C3%BAzios-+RJ';
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();
};
