/* [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','4597',jdecode('Home'),jdecode(''),'/4597.html','true',[],'',''],
	['PAGE','4654',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4654.html','true',[],'',''],
	['PAGE','4681',jdecode('Qui+suis-je+%3F'),jdecode(''),'/4681/index.html','true',[ 
		['PAGE','6402',jdecode('Ma+philosophie'),jdecode(''),'/4681/6402.html','true',[],'','']
	],'',''],
	['PAGE','4708',jdecode('Services'),jdecode(''),'/4708.html','true',[],'',''],
	['PAGE','23003',jdecode('Toilettage'),jdecode(''),'/23003/index.html','true',[ 
		['PAGE','46655',jdecode('ABC+du+toilettage'),jdecode(''),'/23003/46655.html','true',[],'','']
	],'',''],
	['PAGE','75101',jdecode('Albums+chiens+toilett%C3%A9s'),jdecode(''),'/75101/index.html','true',[ 
		['PAGE','75122',jdecode('Berger+de+Bergame'),jdecode(''),'/75101/75122.html','true',[],'',''],
		['PAGE','75143',jdecode('Berger+de+Brie'),jdecode(''),'/75101/75143.html','true',[],'',''],
		['PAGE','75206',jdecode('Bichon+%3A++Fris%C3%A9+-+Maltais'),jdecode(''),'/75101/75206.html','true',[],'',''],
		['PAGE','75689',jdecode('Bobtail'),jdecode(''),'/75101/75689.html','true',[],'',''],
		['PAGE','75710',jdecode('Bouvier+Bernois'),jdecode(''),'/75101/75710.html','true',[],'',''],
		['PAGE','75731',jdecode('Bouvier+des+Flandres'),jdecode(''),'/75101/75731.html','true',[],'',''],
		['PAGE','75248',jdecode('Cairn+Terrier'),jdecode(''),'/75101/75248.html','true',[],'',''],
		['PAGE','75269',jdecode('Caniche'),jdecode(''),'/75101/75269.html','true',[],'',''],
		['PAGE','75164',jdecode('Colley'),jdecode(''),'/75101/75164.html','true',[],'',''],
		['PAGE','75332',jdecode('Colley+Barbu'),jdecode(''),'/75101/75332.html','true',[],'',''],
		['PAGE','75311',jdecode('Cocker+%3A+Am%C3%A9ricain+-+Anglais'),jdecode(''),'/75101/75311.html','true',[],'',''],
		['PAGE','75353',jdecode('Coton+de+Tul%C3%A9ar'),jdecode(''),'/75101/75353.html','true',[],'',''],
		['PAGE','75521',jdecode('Fox+Terrier'),jdecode(''),'/75101/75521.html','true',[],'',''],
		['PAGE','79001',jdecode('L%C3%A9vrier+%3A+Afgan'),jdecode(''),'/75101/79001.html','true',[],'',''],
		['PAGE','75374',jdecode('Norfolk+-+Norwich+Terrier'),jdecode(''),'/75101/75374.html','true',[],'',''],
		['PAGE','75416',jdecode('P%C3%A9kinois'),jdecode(''),'/75101/75416.html','true',[],'',''],
		['PAGE','75437',jdecode('Schnauzer+-+Riesenschnauzer'),jdecode(''),'/75101/75437.html','true',[],'',''],
		['PAGE','75479',jdecode('Scottish+Terrier'),jdecode(''),'/75101/75479.html','true',[],'',''],
		['PAGE','80301',jdecode('Sealyham+Terrier'),jdecode(''),'/75101/80301.html','true',[],'',''],
		['PAGE','75185',jdecode('Shetland'),jdecode(''),'/75101/75185.html','true',[],'',''],
		['PAGE','75500',jdecode('Shih-Tzu'),jdecode(''),'/75101/75500.html','true',[],'',''],
		['PAGE','75542',jdecode('Springer+Spaniel+%22English%22'),jdecode(''),'/75101/75542.html','true',[],'',''],
		['PAGE','75563',jdecode('Teckel'),jdecode(''),'/75101/75563.html','true',[],'',''],
		['PAGE','75584',jdecode('Terre-Neuve'),jdecode(''),'/75101/75584.html','true',[],'',''],
		['PAGE','75605',jdecode('Terrier+du+Tibet'),jdecode(''),'/75101/75605.html','true',[],'',''],
		['PAGE','75626',jdecode('Westie'),jdecode(''),'/75101/75626.html','true',[],'',''],
		['PAGE','75647',jdecode('Yorkshire+Terrier'),jdecode(''),'/75101/75647.html','true',[],'',''],
		['PAGE','75668',jdecode('Multiraces'),jdecode(''),'/75101/75668.html','true',[],'','']
	],'',''],
	['PAGE','25805',jdecode('Albums+chats+toilett%C3%A9s'),jdecode(''),'/25805/index.html','true',[ 
		['PAGE','83701',jdecode('Devon+Rex'),jdecode(''),'/25805/83701.html','true',[],'',''],
		['PAGE','98301',jdecode('Sacr%C3%A9+de+Birmanie'),jdecode(''),'/25805/98301.html','true',[],'',''],
		['PAGE','83901',jdecode('For%C3%AAt+Norv%C3%A9gien'),jdecode(''),'/25805/83901.html','true',[],'',''],
		['PAGE','83922',jdecode('Maine+Coon'),jdecode(''),'/25805/83922.html','true',[],'',''],
		['PAGE','68358',jdecode('Siamois'),jdecode(''),'/25805/68358.html','true',[],'','']
	],'',''],
	['PAGE','64653',jdecode('Album+des+Avant-Apr%C3%A8s+'),jdecode(''),'/64653.html','true',[],'',''],
	['PAGE','23030',jdecode('Education+canine'),jdecode(''),'/23030/index.html','true',[ 
		['PAGE','45773',jdecode('Astuces+%C3%A9ducation'),jdecode(''),'/23030/45773.html','true',[],'','']
	],'',''],
	['PAGE','28005',jdecode('Album+chiens+au+travail'),jdecode(''),'/28005.html','true',[],'',''],
	['PAGE','64440',jdecode('Alimentation+Chien-Chat'),jdecode(''),'/64440.html','true',[],'',''],
	['PAGE','65472',jdecode('Sp%C3%A9cial+chiots%2Fchatons'),jdecode(''),'/65472.html','true',[],'',''],
	['PAGE','7002',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/7002/index.html','true',[ 
		['PAGE','7003',jdecode('Entr%C3%A9es'),jdecode(''),'/7002/7003.html','false',[],'','']
	],'',''],
	['PAGE','4735',jdecode('Contact'),jdecode(''),'/4735.html','true',[],'',''],
	['PAGE','7302',jdecode('Acc%C3%A8s'),jdecode(''),'/7302.html','true',[],'',''],
	['PAGE','7402',jdecode('Itin%C3%A9raire'),jdecode(''),'/7402.html','true',[],'',''],
	['PAGE','19703',jdecode('Liens'),jdecode(''),'/19703.html','true',[],'','']];
var siteelementCount=54;
theSitetree.topTemplateName='Fotoalbum';
theSitetree.paletteFamily='EFE0BE';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='349';
theSitetree.graphicsetId='403';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='EFE0BE';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Fotoalbum',
				paletteFamily: 	'EFE0BE',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'349',
				graphicsetId: 	'403',
				contentColor: 	'000000',
				contentBGColor: 'EFE0BE',
				a_color: 		'EFE0BE',
				b_color: 		'FFF9EA',
				c_color: 		'635F55',
				d_color: 		'736B59',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4654',
internalId:  '',
customField: '20100505-145414'
};
webappMappings['1002']=webappMappings['1002-7002ABW0X0INXVK3']={
webappId:    '1002',
documentId:  '7002',
internalId:  '7002ABW0X0INXVK3',
customField: 'icq=false'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '7302',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '7402',
internalId:  'routing',
customField: 'fr_FR'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4597',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-2061718']={
webappId:    '1501',
documentId:  '4597',
internalId:  '2061718',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20100506-082625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4681',
internalId:  '',
customField: '20100506-083413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6402',
internalId:  '',
customField: '20100506-083735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4708',
internalId:  '',
customField: '20100506-083038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23003',
internalId:  '',
customField: '20090131-153955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46655',
internalId:  '',
customField: '20090208-104146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23030',
internalId:  '',
customField: '20090131-155731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45773',
internalId:  '',
customField: '20090131-160043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64440',
internalId:  '',
customField: '20090131-161258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75374',
internalId:  '',
customField: '20090206-193531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64653',
internalId:  '',
customField: '20101103-160225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25805',
internalId:  '',
customField: '20101102-103525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28005',
internalId:  '',
customField: '20100708-174631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65472',
internalId:  '',
customField: '20101110-115621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7002',
internalId:  '',
customField: '20090131-125540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7003',
internalId:  '',
customField: '20040530-192954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4735',
internalId:  '',
customField: '20090115-153655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7302',
internalId:  '',
customField: '20071030-112110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7402',
internalId:  '',
customField: '20071030-111904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19703',
internalId:  '',
customField: '20090612-150135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83922',
internalId:  '',
customField: '20101028-110539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83901',
internalId:  '',
customField: '20090206-194201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83701',
internalId:  '',
customField: '20090206-192720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75668',
internalId:  '',
customField: '20090303-113012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75647',
internalId:  '',
customField: '20101028-111143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75626',
internalId:  '',
customField: '20090206-194021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75605',
internalId:  '',
customField: '20090223-173248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75584',
internalId:  '',
customField: '20090206-193932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75563',
internalId:  '',
customField: '20090206-193910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75542',
internalId:  '',
customField: '20090206-193845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75500',
internalId:  '',
customField: '20090206-193818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75479',
internalId:  '',
customField: '20090206-193649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75437',
internalId:  '',
customField: '20090206-193624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75416',
internalId:  '',
customField: '20090206-193556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80301',
internalId:  '',
customField: '20090206-193715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75185',
internalId:  '',
customField: '20090206-193738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79001',
internalId:  '',
customField: '20090206-193505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75122',
internalId:  '',
customField: '20090206-192833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75710',
internalId:  '',
customField: '20090206-193028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75353',
internalId:  '',
customField: '20090206-193412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75521',
internalId:  '',
customField: '20090206-193438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75101',
internalId:  '',
customField: '20101103-155746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75143',
internalId:  '',
customField: '20090206-192902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75206',
internalId:  '',
customField: '20090206-192935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75689',
internalId:  '',
customField: '20090206-193003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75731',
internalId:  '',
customField: '20090206-193055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75164',
internalId:  '',
customField: '20090206-193206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75332',
internalId:  '',
customField: '20090225-113557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75248',
internalId:  '',
customField: '20090204-180733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75269',
internalId:  '',
customField: '20090429-121733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75311',
internalId:  '',
customField: '20090206-193341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98301',
internalId:  '',
customField: '20101102-103600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68358',
internalId:  '',
customField: '20090206-194241'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INXVK3';
var companyName   = 'El%C3%A9gance';
var htmlTitle	  = 'toilettage+chiens+chats+animaux';
var metaKeywords  = 'Toilettage+chiens+chats';
var metaContents  = 'Toilettage+chiens+chats++soins+du+pelage+Elegance';
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();
};

