/* [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','601',jdecode('Accueil'),jdecode(''),'/601.html','true',[],'',''],
	['PAGE','5101',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/5101/index.html','true',[ 
		['PAGE','5122',jdecode('Notre+philosophie'),jdecode(''),'/5101/5122.html','true',[],'',''],
		['PAGE','582022',jdecode('l%26%23x27%3BEleveur-Passion'),jdecode(''),'/5101/582022.html','true',[],'','']
	],'',''],
	['PAGE','61201',jdecode('Actualit%C3%A9'),jdecode(''),'/61201/index.html','true',[ 
		['PAGE','686716',jdecode('Septembre+2010'),jdecode(''),'/61201/686716.html','true',[],'',''],
		['PAGE','552922',jdecode('Les+films+du+Royaume'),jdecode(''),'/61201/552922.html','true',[],'',''],
		['PAGE','61243',jdecode('Sites++amis'),jdecode(''),'/61201/61243.html','true',[],'','']
	],'',''],
	['PAGE','633825',jdecode('Nos+2+races+d%26%23x27%3B%C3%A9levage'),jdecode(''),'/633825/index.html','true',[ 
		['PAGE','510122',jdecode('Descriptif'),jdecode(''),'/633825/510122.html','true',[],'',''],
		['PAGE','5185',jdecode('Nos+mamans'),jdecode(''),'/633825/5185.html','true',[],'',''],
		['PAGE','5164',jdecode('Nos+papas'),jdecode(''),'/633825/5164.html','true',[],'',''],
		['PAGE','600383',jdecode('Nos+retrait%C3%A9es'),jdecode(''),'/633825/600383.html','true',[],'',''],
		['PAGE','5143',jdecode('Nos+autres+amis'),jdecode(''),'/633825/5143.html','true',[],'',''],
		['PAGE','561322',jdecode('Ath%C3%A9na+et+M%C3%A9tis'),jdecode(''),'/633825/561322.html','true',[],'',''],
		['PAGE','691316',jdecode('Feeling'),jdecode(''),'/633825/691316.html','true',[],'',''],
		['PAGE','61601',jdecode('Hommage'),jdecode(''),'/633825/61601.html','true',[],'','']
	],'',''],
	['PAGE','560922',jdecode('Naissances'),jdecode(''),'/560922/index.html','true',[ 
		['PAGE','135501',jdecode('Nos+chiots+Cotons'),jdecode(''),'/560922/135501.html','true',[],'',''],
		['PAGE','621025',jdecode('Nos+chiots+Bouledogues'),jdecode(''),'/560922/621025.html','true',[],'',''],
		['PAGE','5206',jdecode('La+vie+de+nos+chiots'),jdecode(''),'/560922/5206.html','true',[],'',''],
		['PAGE','94501',jdecode('Album+des+b%C3%A9b%C3%A9s+'),jdecode(''),'/560922/94501.html','true',[],'','']
	],'',''],
	['PAGE','662216',jdecode('Rimini+et+ses+b%C3%A9b%C3%A9s'),jdecode(''),'/662216.html','true',[],'',''],
	['PAGE','367910',jdecode('Ecole+des+chiots'),jdecode(''),'/367910.html','true',[],'',''],
	['PAGE','5374',jdecode('Leurs+nouvelles+vies'),jdecode(''),'/5374.html','true',[],'',''],
	['PAGE','5227',jdecode('H%C3%B4tel-pension+5+%C3%A9toiles'),jdecode(''),'/5227/index.html','true',[ 
		['PAGE','92001',jdecode('Album+pension'),jdecode(''),'/5227/92001.html','true',[],'','']
	],'',''],
	['PAGE','5248',jdecode('Beaut%C3%A9-Bien-%C3%AAtre'),jdecode(''),'/5248/index.html','true',[ 
		['PAGE','5290',jdecode('Boutique'),jdecode(''),'/5248/5290.html','true',[],'','']
	],'',''],
	['PAGE','483122',jdecode('Archives'),jdecode(''),'/483122/index.html','true',[ 
		['PAGE','533722',jdecode('Janvier+2010'),jdecode(''),'/483122/533722.html','false',[],'',''],
		['PAGE','560222',jdecode('F%C3%A9vrier+2010'),jdecode(''),'/483122/560222.html','false',[],'',''],
		['PAGE','586933',jdecode('Mars+2010'),jdecode(''),'/483122/586933.html','false',[],'',''],
		['PAGE','615325',jdecode('Avril+2010'),jdecode(''),'/483122/615325.html','false',[],'',''],
		['PAGE','637725',jdecode('Mai+2010'),jdecode(''),'/483122/637725.html','false',[],'',''],
		['PAGE','654616',jdecode('Juin+2010'),jdecode(''),'/483122/654616.html','false',[],'',''],
		['PAGE','660816',jdecode('Juillet+2010'),jdecode(''),'/483122/660816.html','false',[],'',''],
		['PAGE','679016',jdecode('Ao%C3%BBt+2010'),jdecode(''),'/483122/679016.html','false',[],'',''],
		['PAGE','61264',jdecode('Nos+expositions+canines'),jdecode(''),'/483122/61264.html','false',[],'',''],
		['PAGE','5353',jdecode('Galerie+photos'),jdecode(''),'/483122/5353.html','false',[],'',''],
		['PAGE','61222',jdecode('Le+Quotidien+2008-2009'),jdecode(''),'/483122/61222.html','false',[],'',''],
		['PAGE','557222',jdecode('Pique-nique+2008'),jdecode(''),'/483122/557222.html','false',[],'','']
	],'',''],
	['PAGE','86801',jdecode('Remerciements'),jdecode(''),'/86801/index.html','true',[ 
		['PAGE','125401',jdecode('Lettre+de+remerciement'),jdecode(''),'/86801/125401.html','true',[],'','']
	],'',''],
	['PAGE','5311',jdecode('Contact'),jdecode(''),'/5311/index.html','true',[ 
		['PAGE','5332',jdecode('Adresse%2C+T%C3%A9l%C3%A9phone'),jdecode(''),'/5311/5332.html','true',[],'','']
	],'',''],
	['PAGE','33701',jdecode('Comment+nous+trouver'),jdecode(''),'/33701/index.html','true',[ 
		['PAGE','73201',jdecode('Acc%C3%A8s'),jdecode(''),'/33701/73201.html','true',[],'','']
	],'',''],
	['PAGE','36806',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/36806/index.html','true',[ 
		['PAGE','36801',jdecode('Entr%C3%A9es'),jdecode(''),'/36806/36801.html','false',[],'','']
	],'','']];
var siteelementCount=50;
theSitetree.topTemplateName='Bloom';
theSitetree.paletteFamily='FBE098';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33065';
theSitetree.graphicsetId='14049';
theSitetree.contentColor='232323';
theSitetree.contentBGColor='FBE098';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Bloom',
				paletteFamily: 	'FBE098',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33065',
				graphicsetId: 	'14049',
				contentColor: 	'232323',
				contentBGColor: 'FBE098',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '601',
internalId:  '1006',
customField: '1006'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '33701',
internalId:  'routing',
customField: 'fr_FR'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135501',
internalId:  '',
customField: '20100905-061825'
};
webappMappings['1002']=webappMappings['1002-36806abw0x0in2vke']={
webappId:    '1002',
documentId:  '36806',
internalId:  '36806abw0x0in2vke',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20100720-155135'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '73201',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61201',
internalId:  '',
customField: '20100905-061624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5101',
internalId:  '',
customField: '20100501-233858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5122',
internalId:  '',
customField: '20100501-234212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5143',
internalId:  '',
customField: '20100902-175545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5164',
internalId:  '',
customField: '20100809-091737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5185',
internalId:  '',
customField: '20100905-054044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5206',
internalId:  '',
customField: '20100320-153348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61222',
internalId:  '',
customField: '20100318-201411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61243',
internalId:  '',
customField: '20100402-210314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61264',
internalId:  '',
customField: '20100414-031059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94501',
internalId:  '',
customField: '20100904-094011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5227',
internalId:  '',
customField: '20100525-235731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92001',
internalId:  '',
customField: '20100904-091807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5248',
internalId:  '',
customField: '20100130-160222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5290',
internalId:  '',
customField: '20100129-192840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5353',
internalId:  '',
customField: '20100524-041409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5374',
internalId:  '',
customField: '20100905-053854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61601',
internalId:  '',
customField: '20100316-223809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86801',
internalId:  '',
customField: '20100716-203638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125401',
internalId:  '',
customField: '20100427-235542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36806',
internalId:  '',
customField: '20100319-202622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36801',
internalId:  '',
customField: '20071120-184849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5311',
internalId:  '',
customField: '20100221-123509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5332',
internalId:  '',
customField: '20100126-000455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33701',
internalId:  '',
customField: '20100126-000519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73201',
internalId:  '',
customField: '20071209-091331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '510122',
internalId:  '',
customField: '20100203-155824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '367910',
internalId:  '',
customField: '20100217-061510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '483122',
internalId:  '',
customField: '20100816-202533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '533722',
internalId:  '',
customField: '20100501-231034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '552922',
internalId:  '',
customField: '20100414-232850'
};
webappMappings['7060']=webappMappings['7060-0a3e049b7f5cee020f6cfc14cf493b8f']={
webappId:    '7060',
documentId:  '552922',
internalId:  '0a3e049b7f5cee020f6cfc14cf493b8f',
customField: 'language:fr;country:FR;'
};
webappMappings['7060']=webappMappings['7060-1787dcabe92b7905b2f7fa79ea70b8d6']={
webappId:    '7060',
documentId:  '557222',
internalId:  '1787dcabe92b7905b2f7fa79ea70b8d6',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '557222',
internalId:  '',
customField: '20100202-225703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '560222',
internalId:  '',
customField: '20100501-231127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '560922',
internalId:  '',
customField: '20100719-224052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '561322',
internalId:  '',
customField: '20100813-025047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '582022',
internalId:  '',
customField: '20100319-202343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '586933',
internalId:  '',
customField: '20100501-231234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '600383',
internalId:  '',
customField: '20100814-093537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '615325',
internalId:  '',
customField: '20100501-230954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '621025',
internalId:  '',
customField: '20100904-064917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '633825',
internalId:  '',
customField: '20100515-105730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '691316',
internalId:  '',
customField: '20100905-055439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '637725',
internalId:  '',
customField: '20100601-191851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '654616',
internalId:  '',
customField: '20100703-220335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '660816',
internalId:  '',
customField: '20100816-202208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '662216',
internalId:  '',
customField: '20100905-061503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '679016',
internalId:  '',
customField: '20100817-002714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '686716',
internalId:  '',
customField: '20100904-105119'
};
webappMappings['1501']=webappMappings['1501-18640025']={
webappId:    '1501',
documentId:  '601',
internalId:  '18640025',
customField: '1501'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0IN2VKE';
var companyName   = '';
var htmlTitle	  = '';
var metaKeywords  = 'COTON+DE+TULEAR-BOULEDOGUE-CHIENS-ANIMAUX-%C3%89LEVAGE-H%C3%94TEL-PENSION-TOILETTAGE-ROYAUME-DOGS-NOURRITURE-BOUTIQUE-RACE-SANS+P%C3%89DIGR%C3%89E-POILS-B%C3%89B%C3%89-CHIENS-FRAN%C3%87AIS-CHIOTS';
var metaContents  = '';
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();
};
