/* [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','32',jdecode('Home'),jdecode(''),'/32.html','true',[],'',''],
	['PAGE','53',jdecode('About+us'),jdecode(''),'/53.html','true',[],'',''],
	['PAGE','71',jdecode('Furniture'),jdecode(''),'/71/index.html','true',[ 
		['PAGE','21085',jdecode('Klot-Johan+table++1940s+by+Erik+Johansson'),jdecode(''),'/71/21085.html','false',[],'',''],
		['PAGE','26027',jdecode('Willy+Rizzo+revolving+table'),jdecode(''),'/71/26027.html','false',[],'',''],
		['PAGE','26048',jdecode('Paul+Michel+opening+table'),jdecode(''),'/71/26048.html','false',[],'',''],
		['PAGE','21585',jdecode('Ico+Parisi+trolley'),jdecode(''),'/71/21585.html','false',[],'',''],
		['PAGE','22385',jdecode('pair+of+Jean+Royere+style+torcheres'),jdecode(''),'/71/22385.html','false',[],'',''],
		['PAGE','22785',jdecode('Warren+Platner+chair'),jdecode(''),'/71/22785.html','false',[],'',''],
		['PAGE','22806',jdecode('Geo+coatstand'),jdecode(''),'/71/22806.html','false',[],'',''],
		['PAGE','22827',jdecode('Maison+Charles+tables'),jdecode(''),'/71/22827.html','false',[],'',''],
		['PAGE','22848',jdecode('Sellette'),jdecode(''),'/71/22848.html','false',[],'',''],
		['PAGE','22869',jdecode('Willy+Rizzo+chairs'),jdecode(''),'/71/22869.html','false',[],'',''],
		['PAGE','22890',jdecode('Willy+Rizzo+table'),jdecode(''),'/71/22890.html','false',[],'',''],
		['PAGE','47385',jdecode('Pair+of+fire-irons+by+Raymond+Subes'),jdecode(''),'/71/47385.html','false',[],'',''],
		['PAGE','47406',jdecode('Willy+Rizzo+low+table+'),jdecode(''),'/71/47406.html','false',[],'',''],
		['PAGE','47427',jdecode('Salon+table+by+Pierre+Vandel'),jdecode(''),'/71/47427.html','false',[],'',''],
		['PAGE','47448',jdecode('Set+of+6+chairs+attributed+to+Jacques+Adnet'),jdecode(''),'/71/47448.html','false',[],'',''],
		['PAGE','47469',jdecode('Dressing%2Fmini+bar+by+Poltrana+Frau'),jdecode(''),'/71/47469.html','false',[],'',''],
		['PAGE','47490',jdecode('Travertine+console+table'),jdecode(''),'/71/47490.html','false',[],'','']
	],'',''],
	['PAGE','80',jdecode('Lighting'),jdecode(''),'/80/index.html','true',[ 
		['PAGE','20385',jdecode('mategot+mirror'),jdecode(''),'/80/20385.html','false',[],'',''],
		['PAGE','55985',jdecode('Fontana+Arte+ceiling+light'),jdecode(''),'/80/55985.html','false',[],'',''],
		['PAGE','24085',jdecode('G.Argy-Rousseau+light'),jdecode(''),'/80/24085.html','false',[],'',''],
		['PAGE','24106',jdecode('Jean+Royere+style+wall-light'),jdecode(''),'/80/24106.html','false',[],'',''],
		['PAGE','24127',jdecode('Rob+Mallet-Stevens+lamp'),jdecode(''),'/80/24127.html','false',[],'',''],
		['PAGE','24148',jdecode('Maison+Jansen+lamp'),jdecode(''),'/80/24148.html','false',[],'',''],
		['PAGE','24169',jdecode('Maison+Charles+lights'),jdecode(''),'/80/24169.html','false',[],'',''],
		['PAGE','47511',jdecode('Bagues+wheatsheaf+ceiling+lamp'),jdecode(''),'/80/47511.html','false',[],'',''],
		['PAGE','47532',jdecode('Maison+Charles+lamp'),jdecode(''),'/80/47532.html','false',[],'',''],
		['PAGE','47553',jdecode('Spherical+chrome+lamp'),jdecode(''),'/80/47553.html','false',[],'',''],
		['PAGE','47574',jdecode('Chrome+lamp'),jdecode(''),'/80/47574.html','false',[],'',''],
		['PAGE','47595',jdecode('Pair+of+lamps+attributed+to+Georges+Jouve'),jdecode(''),'/80/47595.html','false',[],'',''],
		['PAGE','56985',jdecode('Pair+of+Genet+et+Michon+wall+lights'),jdecode(''),'/80/56985.html','false',[],'','']
	],'',''],
	['PAGE','89',jdecode('Other'),jdecode(''),'/89/index.html','true',[ 
		['PAGE','25985',jdecode('Jacques+Adnet+bottle-holders'),jdecode(''),'/89/25985.html','false',[],'',''],
		['PAGE','26006',jdecode('L%26%23x27%3BIllustration+Normandie+CGT+special'),jdecode(''),'/89/26006.html','false',[],'',''],
		['PAGE','47616',jdecode('Jean+Lurcat+wall+hanging'),jdecode(''),'/89/47616.html','false',[],'',''],
		['PAGE','47637',jdecode('Hermes+gyroscopic+yacht+bar'),jdecode(''),'/89/47637.html','false',[],'','']
	],'',''],
	['PAGE','1185',jdecode('Sold+items'),jdecode(''),'/1185.html','false',[],'',''],
	['PAGE','98',jdecode('Contact'),jdecode(''),'/98.html','true',[],'','']];
var siteelementCount=41;
theSitetree.topTemplateName='elliptic';
theSitetree.paletteFamily='FFFFFF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10627';
theSitetree.graphicsetId='10504';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'elliptic',
				paletteFamily: 	'FFFFFF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10627',
				graphicsetId: 	'10504',
				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:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '32',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32',
internalId:  '',
customField: '20100614-103538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53',
internalId:  '',
customField: '20100614-103619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71',
internalId:  '',
customField: '20091104-121749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89',
internalId:  '',
customField: '20090717-103618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80',
internalId:  '',
customField: '20090717-103553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1185',
internalId:  '',
customField: '20090326-132626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98',
internalId:  '',
customField: '20091104-115102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21085',
internalId:  '',
customField: '20091104-120100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20385',
internalId:  '',
customField: '20090911-083641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21585',
internalId:  '',
customField: '20090911-082434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22385',
internalId:  '',
customField: '20090911-082525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22785',
internalId:  '',
customField: '20090911-082611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22806',
internalId:  '',
customField: '20090911-082719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22827',
internalId:  '',
customField: '20091130-081229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22848',
internalId:  '',
customField: '20091130-081620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22869',
internalId:  '',
customField: '20090331-065021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22890',
internalId:  '',
customField: '20090911-082910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24085',
internalId:  '',
customField: '20090911-083749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24106',
internalId:  '',
customField: '20090911-083818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24127',
internalId:  '',
customField: '20090911-083845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24148',
internalId:  '',
customField: '20090911-083927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24169',
internalId:  '',
customField: '20090911-084003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25985',
internalId:  '',
customField: '20090911-084403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26006',
internalId:  '',
customField: '20090911-084433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26027',
internalId:  '',
customField: '20091130-082018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26048',
internalId:  '',
customField: '20090424-050839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47427',
internalId:  '',
customField: '20090717-085238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47448',
internalId:  '',
customField: '20090911-083154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47385',
internalId:  '',
customField: '20091130-082854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47406',
internalId:  '',
customField: '20090911-083117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47469',
internalId:  '',
customField: '20090717-084620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47490',
internalId:  '',
customField: '20090911-083234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47511',
internalId:  '',
customField: '20090911-084032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47532',
internalId:  '',
customField: '20090911-084103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47553',
internalId:  '',
customField: '20090911-084134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47574',
internalId:  '',
customField: '20090911-084204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47595',
internalId:  '',
customField: '20091130-081746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47616',
internalId:  '',
customField: '20090911-084501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47637',
internalId:  '',
customField: '20090911-084535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55985',
internalId:  '',
customField: '20091130-081718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56985',
internalId:  '',
customField: '20090717-102846'
};
var canonHostname = 'wsc-worker04.chi.us.siteprotect.com';
var accountId     = 'AHW050INX24V';
var companyName   = 'ZEITGEIST';
var htmlTitle	  = 'Zeitgeist+Antiques+-+20th+century+furniture+and+decorative+objects';
var metaKeywords  = 'meta+name%3Dverify-v1+content%3Dutd4mFZPZAF80EgzDqTHNmOyVZa3BW3cTDBQUqUZRqo%3D+%2F';
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();
};
