/* [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','301',jdecode('Home'),jdecode(''),'/301.html','true',[],'',''],
	['PAGE','352',jdecode('Dr.+Andr%C3%A9+Maranh%C3%A3o'),jdecode(''),'/352.html','true',[],'',''],
	['PAGE','55401',jdecode('English'),jdecode(''),'/55401/index.html','true',[ 
		['PAGE','55422',jdecode('Who+we+are'),jdecode(''),'/55401/55422.html','true',[],'',''],
		['PAGE','55443',jdecode('How+we+work'),jdecode(''),'/55401/55443.html','true',[],'',''],
		['PAGE','55464',jdecode('Facial+Surgery'),jdecode(''),'/55401/55464.html','true',[],'',''],
		['PAGE','55485',jdecode('Breast+Surgery'),jdecode(''),'/55401/55485.html','true',[],'',''],
		['PAGE','55506',jdecode('Abdominoplasty'),jdecode(''),'/55401/55506.html','true',[],'',''],
		['PAGE','55527',jdecode('Post+Bariatric'),jdecode(''),'/55401/55527.html','true',[],'',''],
		['PAGE','55548',jdecode('Liposuction'),jdecode(''),'/55401/55548.html','true',[],'','']
	],'',''],
	['PAGE','394',jdecode('Not%C3%ADcias'),jdecode(''),'/394.html','true',[],'',''],
	['PAGE','2901',jdecode('Anestesia+um+Mito'),jdecode(''),'/2901.html','true',[],'',''],
	['PAGE','6801',jdecode('P%C3%B3s-Cirurgia+Bari%C3%A1trica'),jdecode(''),'/6801.html','true',[],'',''],
	['PAGE','415',jdecode('Fotos+%2F+Pics'),jdecode(''),'/415.html','true',[],'',''],
	['PAGE','436',jdecode('Contato+%2F+Find+us'),jdecode(''),'/436.html','true',[],'',''],
	['PAGE','457',jdecode('Hor%C3%A1rios+%2F+Office+Time'),jdecode(''),'/457.html','true',[],'',''],
	['PAGE','478',jdecode('Cirurgias'),jdecode(''),'/478/index.html','true',[ 
		['PAGE','499',jdecode('Pl%C3%A1stica+P%C3%B3s-Bari%C3%A1trica'),jdecode(''),'/478/499.html','true',[],'',''],
		['PAGE','520',jdecode('Cirurgia+facial'),jdecode(''),'/478/520.html','true',[],'',''],
		['PAGE','541',jdecode('P%C3%A1lpebras'),jdecode(''),'/478/541.html','true',[],'',''],
		['PAGE','562',jdecode('Nariz'),jdecode(''),'/478/562.html','true',[],'',''],
		['PAGE','583',jdecode('Queixo'),jdecode(''),'/478/583.html','true',[],'',''],
		['PAGE','604',jdecode('Orelhas'),jdecode(''),'/478/604.html','true',[],'',''],
		['PAGE','625',jdecode('Mamoplastia'),jdecode(''),'/478/625.html','true',[],'',''],
		['PAGE','7701',jdecode('Ginecomastia'),jdecode(''),'/478/7701.html','true',[],'',''],
		['PAGE','646',jdecode('Implantes+Mam%C3%A1rios'),jdecode(''),'/478/646.html','true',[],'',''],
		['PAGE','53301',jdecode('Pl%C3%A1stica+Masculina'),jdecode(''),'/478/53301.html','true',[],'',''],
		['PAGE','14601',jdecode('Pl%C3%A1stica+Abdominal'),jdecode(''),'/478/14601.html','true',[],'',''],
		['PAGE','667',jdecode('Cirurgia+de+Membros'),jdecode(''),'/478/667.html','true',[],'',''],
		['PAGE','688',jdecode('Lipo+%2FHidrolipoaspira%C3%A7%C3%A3o'),jdecode(''),'/478/688.html','true',[],'',''],
		['PAGE','709',jdecode('Tumores+de+Pele'),jdecode(''),'/478/709.html','true',[],'',''],
		['PAGE','730',jdecode('Reconstru%C3%A7%C3%A3o+de+Mama'),jdecode(''),'/478/730.html','true',[],'',''],
		['PAGE','751',jdecode('Cirurgia+Reparadora'),jdecode(''),'/478/751.html','true',[],'','']
	],'',''],
	['PAGE','14622',jdecode('Est%C3%A9tica'),jdecode(''),'/14622/index.html','true',[ 
		['PAGE','21501',jdecode('ULTRASHAPE'),jdecode(''),'/14622/21501.html','true',[],'',''],
		['PAGE','45001',jdecode('ACCENT'),jdecode(''),'/14622/45001.html','true',[],'',''],
		['PAGE','5422',jdecode('Toxina+Botul%C3%ADnica'),jdecode(''),'/14622/5422.html','true',[],'',''],
		['PAGE','772',jdecode('Preenchimentos'),jdecode(''),'/14622/772.html','true',[],'',''],
		['PAGE','14643',jdecode('Carboxiterapia'),jdecode(''),'/14622/14643.html','true',[],'',''],
		['PAGE','14664',jdecode('Drenagem+Linf%C3%A1tica'),jdecode(''),'/14622/14664.html','true',[],'','']
	],'',''],
	['PAGE','3601',jdecode('Orienta%C3%A7%C3%B5es'),jdecode(''),'/3601/index.html','true',[ 
		['PAGE','3622',jdecode('Pr%C3%A9-operat%C3%B3rio'),jdecode(''),'/3601/3622.html','true',[],'',''],
		['PAGE','3643',jdecode('P%C3%B3s-operat%C3%B3rio'),jdecode(''),'/3601/3643.html','true',[],'',''],
		['PAGE','3664',jdecode('Prescri%C3%A7%C3%B5es'),jdecode(''),'/3601/3664.html','true',[],'','']
	],'',''],
	['PAGE','3685',jdecode('Nutri%C3%A7%C3%A3o'),jdecode(''),'/3685/index.html','true',[ 
		['PAGE','40001',jdecode('Dicas'),jdecode(''),'/3685/40001.html','true',[],'',''],
		['PAGE','40022',jdecode('Not%C3%ADcias'),jdecode(''),'/3685/40022.html','true',[],'','']
	],'',''],
	['PAGE','793',jdecode('Equipe'),jdecode(''),'/793.html','true',[],'',''],
	['PAGE','877',jdecode('Links+interessantes'),jdecode(''),'/877.html','true',[],'',''],
	['PAGE','3406',jdecode('Livro+de+visitas%2FVisitors+Area'),jdecode(''),'/3406/index.html','true',[ 
		['PAGE','3401',jdecode('Servi%C3%A7o+de+bilhetes'),jdecode(''),'/3406/3401.html','false',[],'','']
	],'','']];
var siteelementCount=51;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B5D3B5';
theSitetree.keyvisualId='1987';
theSitetree.keyvisualName='rose.jpg';
theSitetree.fontsetId='330';
theSitetree.graphicsetId='384';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'pt',
  country: 'BR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'B5D3B5',
				keyvisualId: 	'1987',
				keyvisualName: 	'rose.jpg',
				fontsetId: 		'330',
				graphicsetId: 	'384',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'B5D3B5',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-3406avec10ineemw']={
webappId:    '1002',
documentId:  '3406',
internalId:  '3406avec10ineemw',
customField: 'icq=false'
};
webappMappings['1501']=webappMappings['1501-2671634']={
webappId:    '1501',
documentId:  '301',
internalId:  '2671634',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '301',
internalId:  '1006',
customField: '1006'
};
webappMappings['7005']=webappMappings['7005-395']={
webappId:    '7005',
documentId:  '478',
internalId:  '395',
customField: 'language:pt;country:BR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '301',
internalId:  '',
customField: '20100118-204242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '352',
internalId:  '',
customField: '20091104-200008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55401',
internalId:  '',
customField: '20090831-083633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55422',
internalId:  '',
customField: '20080701-214639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55443',
internalId:  '',
customField: '20090831-195959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55464',
internalId:  '',
customField: '20080701-213450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55485',
internalId:  '',
customField: '20080701-213528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55506',
internalId:  '',
customField: '20080731-081058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55527',
internalId:  '',
customField: '20080731-090201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55548',
internalId:  '',
customField: '20080701-213851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '394',
internalId:  '',
customField: '20100118-205424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2901',
internalId:  '',
customField: '20070220-114241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6801',
internalId:  '',
customField: '20090127-194110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21501',
internalId:  '',
customField: '20080408-160121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '415',
internalId:  '',
customField: '20091223-222214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '436',
internalId:  '',
customField: '20090410-095609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '457',
internalId:  '',
customField: '20080728-091543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '478',
internalId:  '',
customField: '20091216-102711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '499',
internalId:  '',
customField: '20090127-194747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '520',
internalId:  '',
customField: '20080323-093712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '541',
internalId:  '',
customField: '20070310-095656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '562',
internalId:  '',
customField: '20070705-093052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '583',
internalId:  '',
customField: '20070310-120223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '604',
internalId:  '',
customField: '20070310-120333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '625',
internalId:  '',
customField: '20070501-122246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7701',
internalId:  '',
customField: '20070923-151702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '646',
internalId:  '',
customField: '20070919-071043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53301',
internalId:  '',
customField: '20080616-062147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14601',
internalId:  '',
customField: '20070128-105416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '667',
internalId:  '',
customField: '20070310-115843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '688',
internalId:  '',
customField: '20100118-202904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '709',
internalId:  '',
customField: '20080317-223438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '730',
internalId:  '',
customField: '20070919-062839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '751',
internalId:  '',
customField: '20070310-121738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14622',
internalId:  '',
customField: '20090127-134549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45001',
internalId:  '',
customField: '20080408-160012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5422',
internalId:  '',
customField: '20080408-155759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '772',
internalId:  '',
customField: '20080408-155929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14643',
internalId:  '',
customField: '20070308-083230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14664',
internalId:  '',
customField: '20070308-093758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3601',
internalId:  '',
customField: '20080616-061930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3622',
internalId:  '',
customField: '20091104-201809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3643',
internalId:  '',
customField: '20070128-105213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3664',
internalId:  '',
customField: '20091104-202137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3685',
internalId:  '',
customField: '20090127-192444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40001',
internalId:  '',
customField: '20070927-080312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40022',
internalId:  '',
customField: '20091216-102608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '793',
internalId:  '',
customField: '20080718-053240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '877',
internalId:  '',
customField: '20090518-174214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3406',
internalId:  '',
customField: '20080622-084435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3401',
internalId:  '',
customField: '20070310-122007'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INEEMW';
var companyName   = 'Dr.+Andr%C3%A9+Maranh%C3%A3o+-+Cirurgi%C3%A3o+Pl%C3%A1stico';
var htmlTitle	  = '';
var metaKeywords  = 'Andre+Maranhao%2C+Cirurgia+Plastica+Pos+Bariatrica%2C+Cirurgia+Bariatrica%2C+Cirurgia+Plastica++Estatica+e+Reparadora%2C+Botox%2C+Preenchimento%2C+Lipoaspiracao%2C+lipoescultura%2C+Beleza%2C+Cancer+de+Pele%2C+Tumor+de+Pele%2C+Cirurgia+Reparadora%2C+ULTRASHAPE%2C+Protese+de+mama%2C+Rio+de+Janeiro%2C+Obesidade+M%C3%B3rbida%2C+ACCENT%2C+Silicone%2C+Protese%2C++Fabio+Viegas%2C++Paulo+Athaide%2C++Carlos+Saboya%2C++Fernando+Barroso%2C+Prof.+Jose+Ribamar%2C+Plastica%2C+Lipo%2C+Implante';
var metaContents  = 'Cirurgia+Pl%C3%A1stica%2C++Cirurgia+Pl%C3%A1stica+Pos+Gastroplastia%2C+Cirurgia+Bariatrica%2C++Cirurgia+Est%C3%A9tica%2C+Cirurgia+Reparadora%2C++Andre+Maranhao%2C+Obesidade+Morbida%2C+Botox%2C+Preenchimento+Facial%2C+Orienta%C3%A7%C3%B5es+pr%C3%A9-operat%C3%B3rias%2C+Mamoplastia%2C+Abdominoplastia%2C+Ginecomastia%2C+Face-lifting%2C+Palpebras%2C+Anestesia%2C+Lipoaspira%C3%A7%C3%A2o%2C+Lipoescultura%2C+Cirurgia+Pl%C3%A1stica+Pos-Bari%C3%A1trica%2C+Pl%C3%A1stica+Bari%C3%A1trica%2C+Face%2C+Carboxiterapia%2C+ULTRASHAPE%2C+Implante+de+Mama%2C+Rio+de+Janeiro%2C+Obesidade+M%C3%B3rbida%2C+ACCENT%2C+Silicone%2C+Fabio+Viegas%2C+F%C3%A1bio+Viegas%2C+Beleza%2C+Ipanema%2C+Fernando+Barroso%2C+Carlos+Saboya%2C+Paulo+Athaide%2C+Lipo%2C+Plastica%2C+UERJ';
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();
};
