/* [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','4607',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4607.html','true',[],'',''],
	['PAGE','4901',jdecode('Gamin+IV'),jdecode(''),'/4901/index.html','true',[ 
		['PAGE','4955',jdecode('Dressage+et+saut'),jdecode(''),'/4901/4955.html','true',[],'',''],
		['PAGE','5009',jdecode('R%C3%A9sultats'),jdecode(''),'/4901/5009.html','true',[],'',''],
		['PAGE','13927',jdecode('Nouvelle+vie'),jdecode(''),'/4901/13927.html','true',[],'','']
	],'',''],
	['PAGE','16963',jdecode('James'),jdecode(''),'/16963/index.html','true',[ 
		['PAGE','5036',jdecode('Ev%C3%A8nements'),jdecode(''),'/16963/5036.html','true',[],'',''],
		['PAGE','18960',jdecode('R%C3%A9sultats'),jdecode(''),'/16963/18960.html','true',[],'','']
	],'',''],
	['PAGE','25347',jdecode('Antar%C3%A8s'),jdecode(''),'/25347/index.html','true',[ 
		['PAGE','21027',jdecode('R%C3%A9sultats'),jdecode(''),'/25347/21027.html','true',[],'','']
	],'',''],
	['PAGE','25469',jdecode('Dum+Spiro'),jdecode(''),'/25469.html','true',[],'',''],
	['PAGE','4982',jdecode('Don+Diego'),jdecode(''),'/4982.html','true',[],'',''],
	['PAGE','7331',jdecode('Liens'),jdecode(''),'/7331.html','true',[],'',''],
	['PAGE','8402',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/8402/index.html','true',[ 
		['PAGE','8403',jdecode('Entr%C3%A9es'),jdecode(''),'/8402/8403.html','false',[],'','']
	],'','']];
var siteelementCount=15;
theSitetree.topTemplateName='Circulation';
theSitetree.paletteFamily='BB5B23';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10587';
theSitetree.graphicsetId='10564';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circulation',
				paletteFamily: 	'BB5B23',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10587',
				graphicsetId: 	'10564',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4607',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4901',
internalId:  '',
customField: '20100816-124718'
};
webappMappings['1002']=webappMappings['1002-8402ABW0X0INXS6D']={
webappId:    '1002',
documentId:  '8402',
internalId:  '8402ABW0X0INXS6D',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4607',
internalId:  '',
customField: '20100816-124419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4955',
internalId:  '',
customField: '20100816-124812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5009',
internalId:  '',
customField: '20100816-124906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13927',
internalId:  '',
customField: '20090108-230315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16963',
internalId:  '',
customField: '20100816-125028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5036',
internalId:  '',
customField: '20100816-125113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18960',
internalId:  '',
customField: '20100816-125158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25347',
internalId:  '',
customField: '20100816-125236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21027',
internalId:  '',
customField: '20100816-125332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4982',
internalId:  '',
customField: '20100816-171247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25469',
internalId:  '',
customField: '20100816-125421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7331',
internalId:  '',
customField: '20100816-125836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8402',
internalId:  '',
customField: '20090111-214442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8403',
internalId:  '',
customField: '20041201-114016'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INXS6D';
var companyName   = 'Gamin';
var htmlTitle	  = '';
var metaKeywords  = 'Gamin+IV+%2Fanglo-arabe+%2FYael+Huguenin+%2Fcentre+%C3%A9questre+dEpendes+%2Fman%C3%A8ge+de+Faoug+%2FHenri+Wagneur+%2Fcentre+%C3%A9questre+de+Prez-vers-Nor%C3%A9az+%2Fla+licence+de+saut+%2Fstages+avec+Catherine+Henriquet+%2Fmon+journal+de+bord+%2Fle+pas+espagnol+%2Fr%C3%A9sultats+des+concours+%2F+Philippe+Emery+%2Fla+f%C3%AAte+de+no%C3%ABl+%2Fle+rallye+de+P%C3%A2ques+%C3%A0+Corserey+%2Fle+salon+du+cheval+au+comptoir+%C3%A0+Lausanne+%2F+dressage+%2F+saut+%2F+les+photos+de+la+f%C3%AAte+de+no%C3%ABl+%C3%A0+Ependes%2Fmon+successeur+James+%2Fle+concours+du+centre+%C3%A9questre+%2F+Antar%C3%A8s%2F+dEpendes%2Fchampionnat+fribourgeois+de+dressage+%C3%A0+planfayon+%2FF%C3%A9d%C3%A9ration+Suisse+des+sports+%C3%A9questres%2FLe+cavalier+romand%2Fcheval+mon+ami%2Fgalopin-fr.%2FFeracheval.com%2FLe+site+cheval%2Fequifrance%2FEquidream%2FHenri+Wagneur%2FF%C3%A9d%C3%A9ration+%C3%A9questre+Romande%2Fhippocr%C3%A8ne+site.voila.fr%2Fponey.photos%2F+concours+dressage+Bonnefontaine%2Fphotos+du+concours+de+dressage%2F+concours+hippique+Gingins+%2F+concours+hippique+payerne+%2F+man%C3%A8ge+d+Apples+%2Fequinet%2F+Donnerknall+BEN+%2F+Dum+Spiro+Spero';
var metaContents  = 'Je+mappelle+Gamin+IV%2C+je+suis+un+anglo-arabe.Jai+v%C3%A9cu+en+libert%C3%A9+au+milieu+dun+toupeau.Jai+v%C3%A9cu+au+centre+%C3%A9questre+de+Prez-vers-Nor%C3%A9az.Actuellement%2C+je+suis+au+centre+%C3%A9questre+dEpendes.+Je+nai+pas+vraiment+le+profil+dun+cheval+de+dressage.+Par+la+suite%2C+elle+a+pris+des+cours+avec+Henri+Wagneur+pour+passer+la+licence+de+dressage.+Ma+proprio+et+moi+avons+eu+limmense+chance+de+participer+%C3%A0+trois+stages+avec+Catherine+Henriquet.+Ma+cavali%C3%A8re+a+trouv%C3%A9+un+super+coach+%3A+Philippe+Emery+et+a+pass%C3%A9+la+licence+de+saut.Jai+pris+part+%C3%A0+mon+premier+pas+de+deux+%C3%A0+la+f%C3%AAte+de+no%C3%ABl+%C3%A0+Faoug.+Nouveau%2C+les+photos+de+la+f%C3%AAte+de+no%C3%ABl+%C3%A0+Ependes.Je+vous+pr%C3%A9sente+James%2Cun+hongre+selle-fran%C3%A7ais.Vous+le+retrouverez+au+concours+du+centre+%C3%A9questre+dEpendes.James+et+sa+cavali%C3%A8re+ont+%C3%A9t%C3%A9+s%C3%A9l%C3%A9ctionn%C3%A9s+pour+le+championnat+fribourgeois+de+dressage.+Mes+sites+pr%C3%A9f%C3%A9r%C3%A9s+%3A+F%C3%A9d%C3%A9ration+Suisse+Des+Sports+Equestres+le+cavalier+romand+Henri+Wagneur+cheval+mon+ami+galopin+le+fer+%C3%A0+cheval+Le+site+cheval+Equidream+f%C3%A9d%C3%A9ration+%C3%A9questre+romande+Henri+Wagneur+hippocr%C3%A8ne+site.voila.fr%2Fponey.photos.+un+super+site+actualis%C3%A9+r%C3%A9guli%C3%A8rement.concours+de+dressage+bonnefontaine.Nouveau%2C+les+photos+du+concours+de+dressage+a+bonnefontaine.RI%2FLI+%C3%A0+Gingins%2C+2+classements+au+concours+hippique+de+payerne.+2%C3%A8me+du+FB07+au+man%C3%A8ge+d+Apples.+Je+mappelle+Antar%C3%A8s.++Fils+de+Donnerknall+BEN+et+de+La%C3%AFda+d%27Esoz%3B+je+m%27appelle+Dum+Spiro+Spero';
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();
};

