/* [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 theSitetree=[ 
	['PAGE','195',jdecode('INTRO'),jdecode(''),'/195.html','true',[],''],
	['PAGE','180616',jdecode('BIO+'),jdecode(''),'/180616.html','true',[],''],
	['PAGE','35001',jdecode('ART+2010'),jdecode(''),'/35001/index.html','true',[ 
		['PAGE','193384',jdecode('MASK%26%23x27%3BS+I'),jdecode(''),'/35001/193384.html','true',[],''],
		['PAGE','193484',jdecode('MASK%26%23x27%3BS+II'),jdecode(''),'/35001/193484.html','true',[],'']
	],''],
	['PAGE','173716',jdecode('ART+2009'),jdecode(''),'/173716/index.html','true',[ 
		['PAGE','183716',jdecode('LV'),jdecode(''),'/173716/183716.html','true',[],''],
		['PAGE','173758',jdecode('DIFFA'),jdecode(''),'/173716/173758.html','true',[],''],
		['PAGE','173779',jdecode('GUATE'),jdecode(''),'/173716/173779.html','true',[],''],
		['PAGE','190184',jdecode('WPC+II'),jdecode(''),'/173716/190184.html','true',[],''],
		['PAGE','192084',jdecode('IM+PEI+'),jdecode(''),'/173716/192084.html','true',[],''],
		['PAGE','173800',jdecode('MUTANT'),jdecode(''),'/173716/173800.html','true',[],''],
		['PAGE','143715',jdecode('RYZ%2FKDU'),jdecode(''),'/173716/143715.html','true',[],''],
		['PAGE','136894',jdecode('WARRIOR'),jdecode(''),'/173716/136894.html','true',[],''],
		['PAGE','143757',jdecode('DRAGON'),jdecode(''),'/173716/143757.html','true',[],''],
		['PAGE','142994',jdecode('%22P7%22'),jdecode(''),'/173716/142994.html','true',[],''],
		['PAGE','143694',jdecode('KDU'),jdecode(''),'/173716/143694.html','true',[],''],
		['PAGE','173937',jdecode('ADAVA'),jdecode(''),'/173716/173937.html','true',[],''],
		['PAGE','157015',jdecode('BRIDGES'),jdecode(''),'/173716/157015.html','true',[],''],
		['PAGE','143778',jdecode('BROOKLYN'),jdecode(''),'/173716/143778.html','true',[],''],
		['PAGE','157183',jdecode('ONEWORLD'),jdecode(''),'/173716/157183.html','true',[],'']
	],''],
	['PAGE','173916',jdecode('ART+2008'),jdecode(''),'/173916.html','true',[],''],
	['PAGE','174016',jdecode('ART+2007'),jdecode(''),'/174016/index.html','true',[ 
		['PAGE','174037',jdecode('MILLENNIUM+I'),jdecode(''),'/174016/174037.html','true',[],''],
		['PAGE','174058',jdecode('MILLENNIUM+II'),jdecode(''),'/174016/174058.html','true',[],''],
		['PAGE','174079',jdecode('MILLENNIUM+III'),jdecode(''),'/174016/174079.html','true',[],'']
	],''],
	['PAGE','174416',jdecode('ART+2006'),jdecode(''),'/174416/index.html','true',[ 
		['PAGE','174437',jdecode('EAGLES'),jdecode(''),'/174416/174437.html','true',[],''],
		['PAGE','157078',jdecode('ORGANIC'),jdecode(''),'/174416/157078.html','true',[],''],
		['PAGE','174458',jdecode('FUTURE+I'),jdecode(''),'/174416/174458.html','true',[],''],
		['PAGE','174479',jdecode('FUTURE+II'),jdecode(''),'/174416/174479.html','true',[],'']
	],''],
	['PAGE','174216',jdecode('ART+2005'),jdecode(''),'/174216/index.html','true',[ 
		['PAGE','174237',jdecode('NM68'),jdecode(''),'/174216/174237.html','true',[],''],
		['PAGE','174258',jdecode('NM33'),jdecode(''),'/174216/174258.html','true',[],''],
		['PAGE','174279',jdecode('NM40'),jdecode(''),'/174216/174279.html','true',[],''],
		['PAGE','174300',jdecode('NM71'),jdecode(''),'/174216/174300.html','true',[],'']
	],''],
	['PAGE','174616',jdecode('ART+2004'),jdecode(''),'/174616/index.html','true',[ 
		['PAGE','174637',jdecode('FREEWAYS'),jdecode(''),'/174616/174637.html','true',[],''],
		['PAGE','174658',jdecode('CLIFF+CITY'),jdecode(''),'/174616/174658.html','true',[],''],
		['PAGE','174679',jdecode('CULTURES'),jdecode(''),'/174616/174679.html','true',[],''],
		['PAGE','174700',jdecode('CONEXTION'),jdecode(''),'/174616/174700.html','true',[],'']
	],''],
	['PAGE','7865',jdecode('%22COLORS%22'),jdecode(''),'/7865.html','true',[],''],
	['PAGE','195284',jdecode('VISIONARY'),jdecode(''),'/195284.html','true',[],''],
	['PAGE','198184',jdecode('%222012%22'),jdecode(''),'/198184.html','true',[],''],
	['PAGE','196584',jdecode('%22+I+LOVE+NY+%22'),jdecode(''),'/196584/index.html','true',[ 
		['PAGE','197184',jdecode('I+LOVE+NY+II'),jdecode(''),'/196584/197184.html','true',[],'']
	],''],
	['PAGE','1567',jdecode('GUESTBOOK+'),jdecode(''),'/1567.html','true',[],''],
	['PAGE','1566',jdecode('GUESTBOOK+LIST'),jdecode(''),'/1566.html','false',[],'']];
var siteelementCount=48;
theSitetree.topTemplateName='Circulation';
theSitetree.paletteFamily='FC2323';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10587';
theSitetree.graphicsetId='10561';
theSitetree.contentColor='FB0505';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Circulation',
				paletteFamily: 	'FC2323',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10587',
				graphicsetId: 	'10561',
				contentColor: 	'FB0505',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '195',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-1380']={
webappId:    '1501',
documentId:  '195',
internalId:  '1380',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173779',
internalId:  '',
customField: '20091222-101626'
};
webappMappings['1002']=webappMappings['1002-1567AHC010INXSOS']={
webappId:    '1002',
documentId:  '1567',
internalId:  '1567AHC010INXSOS',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174037',
internalId:  '',
customField: '20091227-134737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143715',
internalId:  '',
customField: '20091222-102325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195',
internalId:  '',
customField: '20100223-215120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174258',
internalId:  '',
customField: '20091227-135356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '190184',
internalId:  '',
customField: '20091230-000638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35001',
internalId:  '',
customField: '20100215-072057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7865',
internalId:  '',
customField: '20090424-094816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174279',
internalId:  '',
customField: '20091229-234643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173716',
internalId:  '',
customField: '20091222-100323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '142994',
internalId:  '',
customField: '20091227-133618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143694',
internalId:  '',
customField: '20091227-133721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1567',
internalId:  '',
customField: '20081218-151348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1566',
internalId:  '',
customField: '20070816-061541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174216',
internalId:  '',
customField: '20091229-234606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143757',
internalId:  '',
customField: '20091222-102622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143778',
internalId:  '',
customField: '20091229-233515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174058',
internalId:  '',
customField: '20091227-134806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136894',
internalId:  '',
customField: '20091222-102524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174479',
internalId:  '',
customField: '20091227-135236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174079',
internalId:  '',
customField: '20091227-134832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174416',
internalId:  '',
customField: '20091227-134909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174437',
internalId:  '',
customField: '20091227-134959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174458',
internalId:  '',
customField: '20091227-135210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173758',
internalId:  '',
customField: '20091222-101347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157015',
internalId:  '',
customField: '20091227-134540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174016',
internalId:  '',
customField: '20091227-134702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173916',
internalId:  '',
customField: '20091227-133356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157078',
internalId:  '',
customField: '20091227-135139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '180616',
internalId:  '',
customField: '20091222-094653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173800',
internalId:  '',
customField: '20091222-101931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '183716',
internalId:  '',
customField: '20091222-103140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157183',
internalId:  '',
customField: '20091229-234325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174237',
internalId:  '',
customField: '20091227-135333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174300',
internalId:  '',
customField: '20091227-135448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174616',
internalId:  '',
customField: '20091227-135531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174637',
internalId:  '',
customField: '20091227-135558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174658',
internalId:  '',
customField: '20091227-135626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174679',
internalId:  '',
customField: '20091227-135658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174700',
internalId:  '',
customField: '20091227-135726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173937',
internalId:  '',
customField: '20091227-134431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '192084',
internalId:  '',
customField: '20091231-105626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '193384',
internalId:  '',
customField: '20100215-071412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '193484',
internalId:  '',
customField: '20100215-071317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195284',
internalId:  '',
customField: '20100215-081219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '196584',
internalId:  '',
customField: '20100222-112401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '197184',
internalId:  '',
customField: '20100222-112910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '198184',
internalId:  '',
customField: '20100223-214736'
};
var canonHostname = 'wsc-worker02.chi.us.siteprotect.com';
var accountId     = 'AHC010INXSOS';
var companyName   = '%22+E++D++G++A++R++T++I++S++T++A+%22++';
var htmlTitle	  = 'WWW.EDGARTISTA.COM';
var metaKeywords  = 'edgartista%2CNew+Millennium%2CWorld+Peace%2CMy+Utopia%2CEdgartistico%2Cfashion%2Cdesing%2Carchitecture%2CGuatemala%2CDiesel%2CMocca';
var metaContents  = 'Edgartista%2CNew+Millennium%2CWorld+Peace%2CMy+Utopia%2CEdgartistico%2Cfahion%2Cdesing%2CDiesel%2Cmocca%2CWPC%2Cfacebook%2Cyahoo%2Caol%2CGuatemala%2CArchitecture%2Cfamous%2C';
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();
};
