/* [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','1401',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/1401.html','true',[],'',''],
	['PAGE','1452',jdecode('L%26%23x27%3Bassociation'),jdecode(''),'/1452.html','true',[],'',''],
	['PAGE','128301',jdecode('Le+Comit%C3%A9'),jdecode(''),'/128301.html','true',[],'',''],
	['PAGE','7501',jdecode('La+Bulletine'),jdecode(''),'/7501.html','true',[],'',''],
	['PAGE','5022',jdecode('Dates+%C3%A0+retenir'),jdecode(''),'/5022.html','true',[],'',''],
	['PAGE','7522',jdecode('Activit%C3%A9s'),jdecode(''),'/7522.html','true',[],'',''],
	['PAGE','5001',jdecode('Soir%C3%A9e+LOL+-+Lots+Of+Lesbians'),jdecode(''),'/5001.html','true',[],'',''],
	['PAGE','15601',jdecode('En+Images'),jdecode(''),'/15601.html','true',[],'',''],
	['PAGE','33201',jdecode('Notre+Album+et+vid%C3%A9o'),jdecode(''),'/33201.html','true',[],'',''],
	['PAGE','17501',jdecode('Coup+de+Coeur+en+Vid%C3%A9o'),jdecode(''),'/17501.html','true',[],'',''],
	['PAGE','22101',jdecode('Biblioth%C3%A8que'),jdecode(''),'/22101.html','true',[],'',''],
	['PAGE','30501',jdecode('Info-Opinion-Divers'),jdecode(''),'/30501.html','true',[],'',''],
	['PAGE','5043',jdecode('Liens'),jdecode(''),'/5043.html','true',[],'',''],
	['PAGE','7543',jdecode('Nous+Contacter%2F+Devenir+Adh%C3%A9rente'),jdecode(''),'/7543.html','true',[],'',''],
	['PAGE','15301',jdecode('Livre+d%26%23x27%3BOr'),jdecode(''),'/15301.html','true',[],'','']];
var siteelementCount=15;
theSitetree.topTemplateName='Process';
theSitetree.paletteFamily='000002';
theSitetree.keyvisualId='12223';
theSitetree.keyvisualName='kv_12223.jpg';
theSitetree.fontsetId='33346';
theSitetree.graphicsetId='14215';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Process',
				paletteFamily: 	'000002',
				keyvisualId: 	'12223',
				keyvisualName: 	'kv_12223.jpg',
				fontsetId: 		'33346',
				graphicsetId: 	'14215',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1401',
internalId:  '',
customField: '20100906-194757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1452',
internalId:  '',
customField: '20100603-140051'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7543',
internalId:  '',
customField: '20091014-074526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5001',
internalId:  '',
customField: '20100905-111328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5022',
internalId:  '',
customField: '20100906-200040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5043',
internalId:  '',
customField: '20100421-112758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7522',
internalId:  '',
customField: '20100905-110738'
};
webappMappings['7008']=webappMappings['7008-5422']={
webappId:    '7008',
documentId:  '7543',
internalId:  '5422',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7501',
internalId:  '',
customField: '20100905-110602'
};
webappMappings['1002']=webappMappings['1002-15301abw330ineo8p']={
webappId:    '1002',
documentId:  '15301',
internalId:  '15301abw330ineo8p',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15301',
internalId:  '',
customField: '20090524-103535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15601',
internalId:  '',
customField: '20100324-105034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17501',
internalId:  '',
customField: '20100603-135404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22101',
internalId:  '',
customField: '20091216-103927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30501',
internalId:  '',
customField: '20091216-104243'
};
webappMappings['7060']=webappMappings['7060-08c479f5c13f7576e504f1e8451e1006']={
webappId:    '7060',
documentId:  '33201',
internalId:  '08c479f5c13f7576e504f1e8451e1006',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33201',
internalId:  '',
customField: '20091216-102930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128301',
internalId:  '',
customField: '20100905-105638'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW330INEO8P';
var companyName   = 'Association+Lil%21th';
var htmlTitle	  = 'Lil%21th';
var metaKeywords  = '%22association+%2B+Lil%21th%22%0A+%22Lil%21th+%2B+lesbiennes+%2B+Lausanne%22%0A+%22lesbiennes%22%0A+%22homosexuelles%22%0A+%22Lausanne%22%0A+%22femmes+%2B+homosexuelles%22%0A+%22association%22%0A+%22Lil%21th%22+%0A%22Lilith%22%0A+%22Lilith+%2B+Lausanne%22%0A+%22association+%2B+Lilith%22%0A+%22association+%2B+Lilith+%2B+Lausanne%22';
var metaContents  = 'Lil%21th+est+une+association+de+femmes+homosexuelles+cr%C3%A9%C3%A9e+en+d%C3%A9cembre+1994+a+Lausanne+afin+de+pallier+%C3%A0+l%27absence+de+structure%2C+de+soutien+et+d%27information+pour+les+lesbiennes+dans+le+Canton+de+Vaud.+Bas%C3%A9e+%C3%A0+Lausanne%2C+Lil%21th+est+actuellement+forte+de+presque+200+adh%C3%A9rentes+issues+de+toute+la+Suisse+romande+et+environs.';
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();
};
