/* [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','4584',jdecode('Home'),jdecode(''),'/4584.html','true',[],'',''],
	['PAGE','4930',jdecode('Le+Dr+Samuel+Debard'),jdecode(''),'/4930.html','true',[],'',''],
	['PAGE','20704',jdecode('M.D.H.'),jdecode(''),'/20704.html','true',[],'',''],
	['PAGE','5092',jdecode('Hom%C3%A9opathie'),jdecode(''),'/5092.html','true',[],'',''],
	['PAGE','5227',jdecode('Metalfree'),jdecode(''),'/5227.html','true',[],'',''],
	['PAGE','5281',jdecode('Traitements+laser'),jdecode(''),'/5281.html','true',[],'',''],
	['PAGE','63028',jdecode('Bleaching'),jdecode(''),'/63028.html','true',[],'',''],
	['PAGE','5524',jdecode('Parodontologie'),jdecode(''),'/5524.html','true',[],'',''],
	['PAGE','65325',jdecode('La+R.D.G.'),jdecode(''),'/65325.html','true',[],'',''],
	['PAGE','65940',jdecode('Le+Candida'),jdecode(''),'/65940.html','true',[],'',''],
	['PAGE','6203',jdecode('Electrogalvanisme+'),jdecode(''),'/6203.html','true',[],'',''],
	['PAGE','20204',jdecode('Champs+perturbant'),jdecode(''),'/20204.html','true',[],'',''],
	['PAGE','6230',jdecode('Cariologie'),jdecode(''),'/6230.html','true',[],'',''],
	['PAGE','7509',jdecode('Contact'),jdecode(''),'/7509/index.html','true',[ 
		['PAGE','7536',jdecode('Adresse%2C+T%C3%A9l%C3%A9phone'),jdecode(''),'/7509/7536.html','true',[],'',''],
		['PAGE','7563',jdecode('Comment+nous+trouver'),jdecode(''),'/7509/7563.html','true',[],'','']
	],'',''],
	['PAGE','12402',jdecode('Nous+trouver'),jdecode(''),'/12402.html','true',[],'',''],
	['PAGE','19304',jdecode('Conseils+d%26%23x27%3Bhygi%C3%A8ne'),jdecode(''),'/19304.html','true',[],'',''],
	['PAGE','19555',jdecode('Consigli+all%26%23x27%3Bigiene'),jdecode(''),'/19555.html','true',[],'',''],
	['PAGE','21604',jdecode('Publications'),jdecode(''),'/21604/index.html','true',[ 
		['PAGE','22304',jdecode('FOS1'),jdecode(''),'/21604/22304.html','true',[],'',''],
		['PAGE','22331',jdecode('FOS2'),jdecode(''),'/21604/22331.html','true',[],'',''],
		['PAGE','22358',jdecode('FOS3'),jdecode(''),'/21604/22358.html','true',[],'',''],
		['PAGE','23304',jdecode('E.G.B.'),jdecode(''),'/21604/23304.html','true',[],'','']
	],'',''],
	['PAGE','69392',jdecode('Articles'),jdecode(''),'/69392/index.html','true',[ 
		['PAGE','69448',jdecode('P.M.B.'),jdecode(''),'/69392/69448.html','true',[],'',''],
		['PAGE','69457',jdecode('Praticiens+PMB'),jdecode(''),'/69392/69457.html','true',[],'',''],
		['PAGE','69466',jdecode('Nouvelle+page'),jdecode(''),'/69392/69466.html','true',[],'','']
	],'',''],
	['PAGE','49600',jdecode('Sympathicoth%C3%A9rapie'),jdecode(''),'/49600.html','true',[],'',''],
	['PAGE','47928',jdecode('L%26%23x27%3Bauriculoth%C3%A9rapie'),jdecode(''),'/47928.html','true',[],'',''],
	['PAGE','47531',jdecode('Mad+as+a+hatter'),jdecode(''),'/47531.html','true',[],'',''],
	['PAGE','69758',jdecode('Praticiens+PMB'),jdecode(''),'/69758.html','true',[],'',''],
	['PAGE','21631',jdecode('Sheda+odonto-sto'),jdecode(''),'/21631.html','true',[],'',''],
	['PAGE','62438',jdecode('Cours%3A+Parodontologie'),jdecode(''),'/62438.html','true',[],'',''],
	['PAGE','23904',jdecode('Autres+cours'),jdecode(''),'/23904/index.html','true',[ 
		['PAGE','24204',jdecode('Auriculoth%C3%A9rapie'),jdecode(''),'/23904/24204.html','true',[],'',''],
		['PAGE','25004',jdecode('Homeopathie'),jdecode(''),'/23904/25004.html','true',[],'',''],
		['PAGE','25031',jdecode('Neuralth%C3%A9rapie'),jdecode(''),'/23904/25031.html','true',[],'',''],
		['PAGE','25058',jdecode('Bioth%C3%A9rapie'),jdecode(''),'/23904/25058.html','true',[],'',''],
		['PAGE','25085',jdecode('Sympathicoth%C3%A9rapie'),jdecode(''),'/23904/25085.html','true',[],'','']
	],'',''],
	['PAGE','25708',jdecode('English+Lectures+'),jdecode(''),'/25708.html','true',[],'',''],
	['PAGE','34205',jdecode('Acc%C3%A8s'),jdecode(''),'/34205.html','true',[],'',''],
	['PAGE','66290',jdecode('FORUM'),jdecode(''),'/66290.html','true',[],'',''],
	['PAGE','46807',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/46807/index.html','true',[ 
		['PAGE','46808',jdecode('Entr%C3%A9es'),jdecode(''),'/46807/46808.html','false',[],'','']
	],'',''],
	['PAGE','71120',jdecode('Liens+utiles'),jdecode(''),'/71120.html','true',[],'',''],
	['PAGE','80101',jdecode('Blog+de+discussion'),jdecode(''),'/80101.html','true',[],'','']];
var siteelementCount=47;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1760';
theSitetree.keyvisualName='student.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1760',
				keyvisualName: 	'student.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-2035140']={
webappId:    '1501',
documentId:  '4584',
internalId:  '2035140',
customField: '1501'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '12402',
internalId:  'routing',
customField: 'fr_FR'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4584',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '34205',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1002']=webappMappings['1002-46807ABW0X0INX3FE']={
webappId:    '1002',
documentId:  '46807',
internalId:  '46807ABW0X0INX3FE',
customField: 'icq=false'
};
webappMappings['7008']=webappMappings['7008-2367']={
webappId:    '7008',
documentId:  '7509',
internalId:  '2367',
customField: 'language:fr;country:FR;'
};
webappMappings['7008']=webappMappings['7008-2368']={
webappId:    '7008',
documentId:  '4584',
internalId:  '2368',
customField: 'language:fr;country:FR;'
};
webappMappings['1003']=webappMappings['1003-abw0x0inx3fe1118aa687fe']={
webappId:    '1003',
documentId:  '66290',
internalId:  'abw0x0inx3fe1118aa687fe',
customField: 'fr:FR:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4930',
internalId:  '',
customField: '20070526-094755'
};
webappMappings['7008']=webappMappings['7008-2369']={
webappId:    '7008',
documentId:  '62438',
internalId:  '2369',
customField: 'language:fr;country:FR;'
};
webappMappings['7008']=webappMappings['7008-2370']={
webappId:    '7008',
documentId:  '69758',
internalId:  '2370',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4584',
internalId:  '',
customField: '20100722-185031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20704',
internalId:  '',
customField: '20050212-175850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5092',
internalId:  '',
customField: '20070526-103013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5227',
internalId:  '',
customField: '20061217-150233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5281',
internalId:  '',
customField: '20091226-180216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63028',
internalId:  '',
customField: '20061211-191555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5524',
internalId:  '',
customField: '20100722-210655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65325',
internalId:  '',
customField: '20071025-092656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65940',
internalId:  '',
customField: '20100722-190241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6203',
internalId:  '',
customField: '20061210-192212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20204',
internalId:  '',
customField: '20061211-200334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6230',
internalId:  '',
customField: '20061211-194407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7509',
internalId:  '',
customField: '20071025-102546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7536',
internalId:  '',
customField: '20071025-101738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7563',
internalId:  '',
customField: '20040520-211844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12402',
internalId:  '',
customField: '20050122-215941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19304',
internalId:  '',
customField: '20070619-071216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19555',
internalId:  '',
customField: '20091226-202157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21604',
internalId:  '',
customField: '20050224-084613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22304',
internalId:  '',
customField: '20040522-181826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22331',
internalId:  '',
customField: '20040522-182236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22358',
internalId:  '',
customField: '20040522-175540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23304',
internalId:  '',
customField: '20040522-183006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69392',
internalId:  '',
customField: '20070619-184139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69448',
internalId:  '',
customField: '20070619-185637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69457',
internalId:  '',
customField: '20070619-114427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69466',
internalId:  '',
customField: '20070619-114427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49600',
internalId:  '',
customField: '20050205-142628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47928',
internalId:  '',
customField: '20050119-155739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47531',
internalId:  '',
customField: '20050119-150116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69758',
internalId:  '',
customField: '20091226-200549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21631',
internalId:  '',
customField: '20050119-152657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62438',
internalId:  '',
customField: '20100315-083518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23904',
internalId:  '',
customField: '20070526-094432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24204',
internalId:  '',
customField: '20061211-194814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25004',
internalId:  '',
customField: '20061211-195039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25031',
internalId:  '',
customField: '20061211-200435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25058',
internalId:  '',
customField: '20061211-195402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25085',
internalId:  '',
customField: '20040523-123038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25708',
internalId:  '',
customField: '20090126-093204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34205',
internalId:  '',
customField: '20041231-170653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66290',
internalId:  '',
customField: '20070325-215916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46807',
internalId:  '',
customField: '20070619-070712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46808',
internalId:  '',
customField: '20050115-170813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71120',
internalId:  '',
customField: '20080218-134630'
};
webappMappings['7050']=webappMappings['7050-1523']={
webappId:    '7050',
documentId:  '80101',
internalId:  '1523',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80101',
internalId:  '',
customField: '20100722-212622'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INX3FE';
var companyName   = 'Docteur+Samuel+Debard';
var htmlTitle	  = 'La+m%C3%A9decine+dentaire+holistique';
var metaKeywords  = 'Candidose+buccale.+Candida+albicans.+Biostimulation.+Biostimulation+gingivale.+Laser+YAP.+M%C3%A9decine+dentaire+holistique.+Homeopathie.+Laser+Dentaire+Lokki.Neuralth%C3%A9rapie.+Champs+perturbateurs.+Medicina+dentaria+olistica.Hygi%C3%A8ne+bucco-dentaire.+Parodontologie+m%C3%A9dicale+biologique.+P.M.B.++PMB+.+Biostimulation.Parodontologie.Laser.Phytoth%C3%A9rapie.Neuralth%C3%A9rapie.Sympathicoth%C3%A9rapie.Maladie+parodontale.+Hom%C3%A9opathie.+Auriculoth%C3%A9rapie.+Cariologie.Prophylaxie.Salive.+Gencive.+Gingive.Igiene+dento-orale.+Malatia+parodontale.Omeopatia.+Fitoterapia.Medicina+dentaria+olistica';
var metaContents  = 'Traitement+de+la+maladie+parodontale+et+les+soins+dentaires++avec+utilisation+de+lhom%C3%A9opathie+et+principalement+du+laser+de+puissance.M%C3%A9decine+dentaire+holistique.Traitement+de+la+Candidose+buccale.+Candida+albicans.';
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();
};
