/* [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','109101',jdecode('vivre'),jdecode(''),'/109101.html','true',[],'',''],
	['PAGE','4529',jdecode('Salut'),jdecode(''),'/4529.html','true',[],'',''],
	['PAGE','147801',jdecode('Qui+suis-je+%3F+'),jdecode(''),'/147801.html','true',[],'',''],
	['PAGE','302201',jdecode('Les+massages'),jdecode(''),'/302201/index.html','true',[ 
		['PAGE','311401',jdecode('le+Tantra'),jdecode(''),'/302201/311401.html','true',[],'',''],
		['PAGE','309501',jdecode('salle+de+massage'),jdecode(''),'/302201/309501.html','true',[],'','']
	],'',''],
	['PAGE','208201',jdecode('Pour+MONSIEUR'),jdecode(''),'/208201.html','true',[],'',''],
	['PAGE','81401',jdecode('S%C3%A9r%C3%A9nit%C3%A9'),jdecode(''),'/81401.html','true',[],'',''],
	['PAGE','4667',jdecode('A+m%C3%A9diter+%21'),jdecode(''),'/4667/index.html','true',[ 
		['PAGE','31801',jdecode('Soyez+zen...'),jdecode(''),'/4667/31801.html','true',[],'',''],
		['PAGE','31822',jdecode('La+solitude'),jdecode(''),'/4667/31822.html','true',[],'','']
	],'',''],
	['PAGE','31422',jdecode('Mes+disponibilit%C3%A9s'),jdecode(''),'/31422.html','true',[],'',''],
	['PAGE','30401',jdecode('Ou+me+trouver+%3F'),jdecode(''),'/30401/index.html','true',[ 
		['PAGE','30501',jdecode('Acc%C3%A8s'),jdecode(''),'/30401/30501.html','true',[],'','']
	],'',''],
	['PAGE','330901',jdecode('article+de+presse'),jdecode(''),'/330901.html','true',[],'',''],
	['PAGE','203101',jdecode('T%C3%A9moignages'),jdecode(''),'/203101/index.html','true',[ 
		['PAGE','202101',jdecode('Didier+'),jdecode(''),'/203101/202101.html','true',[],'',''],
		['PAGE','240501',jdecode('Christophe'),jdecode(''),'/203101/240501.html','true',[],'','']
	],'',''],
	['PAGE','5424',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/5424/index.html','true',[ 
		['PAGE','5425',jdecode('Entr%C3%A9es'),jdecode(''),'/5424/5425.html','false',[],'','']
	],'',''],
	['PAGE','16444',jdecode('Liens+%C3%A0+d%C3%A9couvrir'),jdecode(''),'/16444.html','true',[],'',''],
	['PAGE','262201',jdecode('Partenaire'),jdecode(''),'/262201.html','true',[],'',''],
	['PAGE','35601',jdecode('A+Bient%C3%B4t+%21%21%21'),jdecode(''),'/35601.html','true',[],'','']];
var siteelementCount=23;
theSitetree.topTemplateName='Orbit';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='172';
theSitetree.graphicsetId='206';
theSitetree.contentColor='A6A6A6';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Orbit',
				paletteFamily: 	'000000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'172',
				graphicsetId: 	'206',
				contentColor: 	'A6A6A6',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4529',
internalId:  '',
customField: '20090227-080434'
};
webappMappings['1002']=webappMappings['1002-5424ABW0X0INXFFI']={
webappId:    '1002',
documentId:  '5424',
internalId:  '5424ABW0X0INXFFI',
customField: 'icq=false'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '109101',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109101',
internalId:  '',
customField: '20100303-115241'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '30401',
internalId:  'routing',
customField: 'fr_FR'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '30501',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-2792144']={
webappId:    '1501',
documentId:  '109101',
internalId:  '2792144',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147801',
internalId:  '',
customField: '20100525-082824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '302201',
internalId:  '',
customField: '20090901-184045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '311401',
internalId:  '',
customField: '20090111-194727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '309501',
internalId:  '',
customField: '20090130-130058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31422',
internalId:  '',
customField: '20100817-063521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '208201',
internalId:  '',
customField: '20100303-121824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '203101',
internalId:  '',
customField: '20071002-100958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202101',
internalId:  '',
customField: '20080630-072947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '240501',
internalId:  '',
customField: '20080630-072651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81401',
internalId:  '',
customField: '20090609-080703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4667',
internalId:  '',
customField: '20080115-203703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31801',
internalId:  '',
customField: '20071002-101603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31822',
internalId:  '',
customField: '20071230-090819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30401',
internalId:  '',
customField: '20090323-131806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30501',
internalId:  '',
customField: '20090121-171257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5424',
internalId:  '',
customField: '20090105-172017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5425',
internalId:  '',
customField: '20070604-081426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16444',
internalId:  '',
customField: '20100303-122000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '262201',
internalId:  '',
customField: '20090901-195510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35601',
internalId:  '',
customField: '20090227-080611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '330901',
internalId:  '',
customField: '20090901-195648'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXFFI';
var companyName   = 'EVASIONS';
var htmlTitle	  = 'masseur%2C+massages+pour+hommes%2C+relaxant%2C+sportif%2C+tantra%2Cr%C3%A9gion+fribourg';
var metaKeywords  = 'massage+%2Cmasseur%2Chuile%2C+musique%2C+douceur+%2Cstimulation%2C+effleurage+%2Cvillars-sur-Glane+%2Ctantra%2C+sportif+%2Crelaxation+%2Cstess+%2Ctravail%2C+liens%2C+huille+essentielle%2C+senteur%2C+lumi%C3%A8re%2C+soucis+%2Ctravail+%2Cbien+%C3%AAtre%2C+discret+%2Cpersonnel+%2Cchoix%2C+d%C3%A9couvrir+%2Cevasions%2C+envelopp%C3%A9%2C+suisse%2C++reconnaissance%2C+tranquilit%C3%A9%2C+angoisse%2C+sportif%2C+courbature%2C+d%C3%A9tente%2C+%C3%A9chaufement%2C+discr%C3%A8tion%2C+respect+%2Cagenda%2C+semaine%2C+rendez+-vous%2C+disponibilit%C3%A9+%2Ccontact+%2Clieu+%2Cphoto%2C++livre+dor%2C+entr%C3%A9+%C3%A0+m%C3%A9titer%2C+qui+suis-je+%2C+bien+%C3%AAtre%2Cgay%2C+h%C3%A9t%C3%A9ro.bi.+masseur+pour+homme.+homme%2Cdiscr%C3%A8tion%2Cclub%2Crencontre%2C+dialogue%2Cfribourg%2C';
var metaContents  = 'masseur+pour+homme++diplom%C3%A9%2Csur+rendez-vous%2Cmassage+relaxant+%2Csportif+%2Ctantra%2Cdiscr%C3%A8t.ambiance+sympathique%2Cpour+un+moment+d%C3%A9vasions+de+plaisr%2Cse+d%C3%A9couvrir%2Cmassage+naturiste.';
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();
};
