/* [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','4606',jdecode('aRCHE'),jdecode(''),'/4606.html','true',[],'',''],
	['PAGE','55101',jdecode('DONATE'),jdecode(''),'/55101.html','true',[],'',''],
	['PAGE','22601',jdecode('FIGURE'),jdecode(''),'/22601.html','true',[],'',''],
	['PAGE','48701',jdecode('STUDY'),jdecode(''),'/48701.html','true',[],'',''],
	['PAGE','4717',jdecode('WRITE'),jdecode(''),'/4717.html','true',[],'',''],
	['PAGE','29601',jdecode('JOIN'),jdecode(''),'/29601/index.html','true',[ 
		['PAGE','78127',jdecode('08+session'),jdecode(''),'/29601/78127.html','true',[],'',''],
		['PAGE','77314',jdecode('07+session'),jdecode(''),'/29601/77314.html','true',[],'',''],
		['PAGE','66023',jdecode('06+session+2'),jdecode(''),'/29601/66023.html','true',[],'',''],
		['PAGE','63803',jdecode('06+session+1'),jdecode(''),'/29601/63803.html','true',[],'',''],
		['PAGE','54106',jdecode('05+session'),jdecode(''),'/29601/54106.html','true',[],'','']
	],'',''],
	['PAGE','4744',jdecode('LOG'),jdecode(''),'/4744/index.html','true',[ 
		['PAGE','63830',jdecode('allos'),jdecode(''),'/4744/63830.html','true',[],'',''],
		['PAGE','16401',jdecode('body'),jdecode(''),'/4744/16401.html','true',[],'',''],
		['PAGE','16428',jdecode('culture'),jdecode(''),'/4744/16428.html','true',[],'',''],
		['PAGE','16563',jdecode('difference'),jdecode(''),'/4744/16563.html','true',[],'',''],
		['PAGE','16455',jdecode('gender'),jdecode(''),'/4744/16455.html','true',[],'',''],
		['PAGE','16536',jdecode('image'),jdecode(''),'/4744/16536.html','true',[],'',''],
		['PAGE','16482',jdecode('language'),jdecode(''),'/4744/16482.html','true',[],'',''],
		['PAGE','48301',jdecode('law'),jdecode(''),'/4744/48301.html','true',[],'',''],
		['PAGE','24101',jdecode('management'),jdecode(''),'/4744/24101.html','true',[],'',''],
		['PAGE','16509',jdecode('otherness'),jdecode(''),'/4744/16509.html','true',[],'',''],
		['PAGE','42501',jdecode('pedagogy'),jdecode(''),'/4744/42501.html','true',[],'',''],
		['PAGE','16617',jdecode('polity'),jdecode(''),'/4744/16617.html','true',[],'',''],
		['PAGE','16590',jdecode('psyche'),jdecode(''),'/4744/16590.html','true',[],'',''],
		['PAGE','16644',jdecode('religion'),jdecode(''),'/4744/16644.html','true',[],'',''],
		['PAGE','44113',jdecode('science'),jdecode(''),'/4744/44113.html','true',[],'',''],
		['PAGE','16671',jdecode('society'),jdecode(''),'/4744/16671.html','true',[],'','']
	],'',''],
	['PAGE','4771',jdecode('LINK+'),jdecode(''),'/4771/index.html','true',[ 
		['PAGE','63857',jdecode('thinkers%26%23x27%3B'),jdecode(''),'/4771/63857.html','true',[],'',''],
		['PAGE','52301',jdecode('associates%26%23x27%3B'),jdecode(''),'/4771/52301.html','true',[],'',''],
		['PAGE','43501',jdecode('athearn'),jdecode(''),'/4771/43501.html','true',[],'',''],
		['PAGE','21801',jdecode('bell'),jdecode(''),'/4771/21801.html','true',[],'',''],
		['PAGE','77323',jdecode('boundas'),jdecode(''),'/4771/77323.html','true',[],'',''],
		['PAGE','14801',jdecode('caputo'),jdecode(''),'/4771/14801.html','true',[],'',''],
		['PAGE','45150',jdecode('constantinou'),jdecode(''),'/4771/45150.html','true',[],'',''],
		['PAGE','53601',jdecode('currie'),jdecode(''),'/4771/53601.html','true',[],'',''],
		['PAGE','54472',jdecode('de+beistegui'),jdecode(''),'/4771/54472.html','true',[],'',''],
		['PAGE','52901',jdecode('de+garay'),jdecode(''),'/4771/52901.html','true',[],'',''],
		['PAGE','42528',jdecode('dillon'),jdecode(''),'/4771/42528.html','true',[],'',''],
		['PAGE','20201',jdecode('donkel'),jdecode(''),'/4771/20201.html','true',[],'',''],
		['PAGE','78136',jdecode('faber'),jdecode(''),'/4771/78136.html','true',[],'',''],
		['PAGE','70938',jdecode('garnar'),jdecode(''),'/4771/70938.html','true',[],'',''],
		['PAGE','60738',jdecode('grebowicz'),jdecode(''),'/4771/60738.html','true',[],'',''],
		['PAGE','66776',jdecode('keyman'),jdecode(''),'/4771/66776.html','true',[],'',''],
		['PAGE','53301',jdecode('lawlor'),jdecode(''),'/4771/53301.html','true',[],'',''],
		['PAGE','47201',jdecode('lee'),jdecode(''),'/4771/47201.html','true',[],'',''],
		['PAGE','20801',jdecode('may'),jdecode(''),'/4771/20801.html','true',[],'',''],
		['PAGE','78145',jdecode('mader'),jdecode(''),'/4771/78145.html','true',[],'',''],
		['PAGE','68076',jdecode('nealon'),jdecode(''),'/4771/68076.html','true',[],'',''],
		['PAGE','60765',jdecode('nelson'),jdecode(''),'/4771/60765.html','true',[],'',''],
		['PAGE','58601',jdecode('protevi'),jdecode(''),'/4771/58601.html','true',[],'',''],
		['PAGE','76933',jdecode('reynolds'),jdecode(''),'/4771/76933.html','true',[],'',''],
		['PAGE','44801',jdecode('ronell'),jdecode(''),'/4771/44801.html','true',[],'',''],
		['PAGE','14855',jdecode('sander'),jdecode(''),'/4771/14855.html','true',[],'',''],
		['PAGE','69638',jdecode('silverman'),jdecode(''),'/4771/69638.html','true',[],'',''],
		['PAGE','78484',jdecode('sissel+hoel'),jdecode(''),'/4771/78484.html','true',[],'',''],
		['PAGE','70965',jdecode('smith'),jdecode(''),'/4771/70965.html','true',[],'',''],
		['PAGE','35201',jdecode('stivachtis'),jdecode(''),'/4771/35201.html','true',[],'',''],
		['PAGE','60001',jdecode('thanem'),jdecode(''),'/4771/60001.html','true',[],'',''],
		['PAGE','52928',jdecode('theiler'),jdecode(''),'/4771/52928.html','true',[],'',''],
		['PAGE','70338',jdecode('treanor'),jdecode(''),'/4771/70338.html','true',[],'',''],
		['PAGE','61276',jdecode('ware'),jdecode(''),'/4771/61276.html','true',[],'',''],
		['PAGE','46401',jdecode('widder'),jdecode(''),'/4771/46401.html','true',[],'',''],
		['PAGE','27301',jdecode('wolfreys'),jdecode(''),'/4771/27301.html','true',[],'',''],
		['PAGE','63476',jdecode('worchel'),jdecode(''),'/4771/63476.html','true',[],'',''],
		['PAGE','67676',jdecode('zabala'),jdecode(''),'/4771/67676.html','true',[],'',''],
		['PAGE','14909',jdecode('zamaros'),jdecode(''),'/4771/14909.html','true',[],'','']
	],'',''],
	['PAGE','8801',jdecode('tELOS'),jdecode(''),'/8801.html','true',[],'','']];
var siteelementCount=69;
theSitetree.topTemplateName='Circulation';
theSitetree.paletteFamily='2FAF66';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10381';
theSitetree.graphicsetId='10565';
theSitetree.contentColor='37C976';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circulation',
				paletteFamily: 	'2FAF66',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10381',
				graphicsetId: 	'10565',
				contentColor: 	'37C976',
				contentBGColor: '000000',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4606',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48701',
internalId:  '',
customField: '20070103-140755'
};
webappMappings['1501']=webappMappings['1501-2008914']={
webappId:    '1501',
documentId:  '4606',
internalId:  '2008914',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4717',
internalId:  '',
customField: '20070103-142332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29601',
internalId:  '',
customField: '20080921-140845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22601',
internalId:  '',
customField: '20070103-140718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55101',
internalId:  '',
customField: '20070103-140641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4771',
internalId:  '',
customField: '20090907-125637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78136',
internalId:  '',
customField: '20090907-125246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14909',
internalId:  '',
customField: '20090907-130756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4606',
internalId:  '',
customField: '20090907-124630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78127',
internalId:  '',
customField: '20081026-145004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77314',
internalId:  '',
customField: '20080921-141611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66023',
internalId:  '',
customField: '20080921-141904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63803',
internalId:  '',
customField: '20060601-183636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54106',
internalId:  '',
customField: '20070526-141530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4744',
internalId:  '',
customField: '20070103-141017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63830',
internalId:  '',
customField: '20080921-152203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16401',
internalId:  '',
customField: '20040827-123348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16428',
internalId:  '',
customField: '20040827-123445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16563',
internalId:  '',
customField: '20080921-153920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16455',
internalId:  '',
customField: '20051231-140934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16536',
internalId:  '',
customField: '20040827-123830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16482',
internalId:  '',
customField: '20040906-183038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48301',
internalId:  '',
customField: '20041023-120707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24101',
internalId:  '',
customField: '20040827-123908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16509',
internalId:  '',
customField: '20041023-120801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42501',
internalId:  '',
customField: '20041023-120923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16617',
internalId:  '',
customField: '20060204-110348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16590',
internalId:  '',
customField: '20040918-195240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16644',
internalId:  '',
customField: '20040827-124047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44113',
internalId:  '',
customField: '20040917-181714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16671',
internalId:  '',
customField: '20060204-110451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63857',
internalId:  '',
customField: '20090102-133122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52301',
internalId:  '',
customField: '20090102-130709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43501',
internalId:  '',
customField: '20080102-201634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21801',
internalId:  '',
customField: '20080921-143627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77323',
internalId:  '',
customField: '20080102-202704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14801',
internalId:  '',
customField: '20080102-202624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45150',
internalId:  '',
customField: '20080102-203419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53601',
internalId:  '',
customField: '20080921-154439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54472',
internalId:  '',
customField: '20080102-203827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52901',
internalId:  '',
customField: '20080102-204337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42528',
internalId:  '',
customField: '20080921-144448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20201',
internalId:  '',
customField: '20080102-204753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70938',
internalId:  '',
customField: '20080102-205024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60738',
internalId:  '',
customField: '20080102-205327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66776',
internalId:  '',
customField: '20080102-205535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53301',
internalId:  '',
customField: '20080102-205817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47201',
internalId:  '',
customField: '20080102-210007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20801',
internalId:  '',
customField: '20080102-210737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78145',
internalId:  '',
customField: '20081026-152705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68076',
internalId:  '',
customField: '20080102-211430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60765',
internalId:  '',
customField: '20080102-211842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58601',
internalId:  '',
customField: '20081026-144806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76933',
internalId:  '',
customField: '20080102-212828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44801',
internalId:  '',
customField: '20080102-213004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14855',
internalId:  '',
customField: '20080102-213153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69638',
internalId:  '',
customField: '20080102-213341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78484',
internalId:  '',
customField: '20081026-153351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70965',
internalId:  '',
customField: '20080102-213705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35201',
internalId:  '',
customField: '20080102-213830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60001',
internalId:  '',
customField: '20080102-215026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52928',
internalId:  '',
customField: '20080102-215337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70338',
internalId:  '',
customField: '20080102-215634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61276',
internalId:  '',
customField: '20081026-145651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46401',
internalId:  '',
customField: '20080921-151347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27301',
internalId:  '',
customField: '20080102-220805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63476',
internalId:  '',
customField: '20080102-221109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67676',
internalId:  '',
customField: '20080102-221424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8801',
internalId:  '',
customField: '20070303-173340'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INX33A';
var companyName   = 'the+difference+site';
var htmlTitle	  = 'The+Difference+Site';
var metaKeywords  = 'Zamaros%2C+Derrida%2C+Heidegger%2C+difference%2C+differance%2C+differenz%2C+philosophy';
var metaContents  = 'The+only+site+dedicated+to+the+question+of+difference+at+large.';
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();
};
