/* [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','2401',jdecode('Home'),jdecode(''),'/2401/index.html','true',[ 
		['PAGE','631101',jdecode('Home%7CKoreanScript'),jdecode(''),'/2401/631101.html','true',[],'','']
	],'',''],
	['PAGE','2473',jdecode('Company'),jdecode(''),'/2473/index.html','true',[ 
		['PAGE','2494',jdecode('C.History+'),jdecode(''),'/2473/2494.html','true',[],'',''],
		['PAGE','632801',jdecode('C%2CHistory%7CKor.Script'),jdecode(''),'/2473/632801.html','true',[],'',''],
		['PAGE','2515',jdecode('C.Philosophie'),jdecode(''),'/2473/2515.html','true',[],'',''],
		['PAGE','633101',jdecode('C.Philos.%7CKor.Script'),jdecode(''),'/2473/633101.html','true',[],'',''],
		['PAGE','210701',jdecode('Impressum'),jdecode(''),'/2473/210701.html','true',[],'',''],
		['PAGE','634801',jdecode('Impressum%7CKor.Script'),jdecode(''),'/2473/634801.html','true',[],'','']
	],'',''],
	['PAGE','2767',jdecode('Contact+us'),jdecode(''),'/2767.html','true',[],'',''],
	['PAGE','721101',jdecode('E-Mail+Kontakt'),jdecode(''),'/721101.html','true',[],'',''],
	['PAGE','718701',jdecode('www.korea-ginseng.ch'),jdecode(''),'/718701.html','true',[],'',''],
	['PAGE','401522',jdecode('Was+ist+Ginseng+%3F'),jdecode(''),'/401522/index.html','true',[ 
		['PAGE','667401',jdecode('S.Kor.Ginseng%7CEng.'),jdecode(''),'/401522/667401.html','true',[],'',''],
		['PAGE','600401',jdecode('S.K.Ginseng%7CItaliano'),jdecode(''),'/401522/600401.html','true',[],'',''],
		['PAGE','600422',jdecode('S.K.Ginseng%7CFrancais'),jdecode(''),'/401522/600422.html','true',[],'','']
	],'',''],
	['PAGE','760901',jdecode('Was+ist+Roterginseng%3F'),jdecode(''),'/760901.html','true',[],'',''],
	['PAGE','401501',jdecode('Ginseng+Tee'),jdecode(''),'/401501/index.html','true',[ 
		['PAGE','413901',jdecode('Itl.%7CFrz.%7CEng'),jdecode(''),'/401501/413901.html','true',[],'','']
	],'',''],
	['PAGE','716801',jdecode('Ginseng+Cool-T'),jdecode(''),'/716801.html','true',[],'',''],
	['PAGE','509901',jdecode('Ginseng%7CKapsel'),jdecode(''),'/509901.html','true',[],'',''],
	['PAGE','509922',jdecode('Ginseng%7CExtrakt'),jdecode(''),'/509922.html','true',[],'',''],
	['PAGE','509943',jdecode('Gi.Wurz.%7CInSamZu+'),jdecode(''),'/509943.html','true',[],'',''],
	['PAGE','409901',jdecode('Ginseng+Produkte'),jdecode(''),'/409901.html','true',[],'',''],
	['PAGE','731201',jdecode('Gi.Produktpalette'),jdecode(''),'/731201.html','true',[],'',''],
	['PAGE','486901',jdecode('Bestellung'),jdecode(''),'/486901.html','true',[],'',''],
	['PAGE','637801',jdecode('S.K.Ginseng%7CNews'),jdecode(''),'/637801.html','true',[],'',''],
	['PAGE','597001',jdecode('Vertr.Partnerwerden'),jdecode(''),'/597001.html','true',[],'',''],
	['PAGE','516301',jdecode('BusinessPartner'),jdecode(''),'/516301.html','true',[],'',''],
	['PAGE','8901',jdecode('Atelier4Graphik'),jdecode(''),'/8901/index.html','true',[ 
		['PAGE','652422',jdecode('A4g%2CSkizzen%2C+Illustr.'),jdecode(''),'/8901/652422.html','true',[],'',''],
		['PAGE','652401',jdecode('A4g%2CPhotos'),jdecode(''),'/8901/652401.html','false',[],'',''],
		['PAGE','724301',jdecode('E-Mail+an+atelier4graphik'),jdecode(''),'/8901/724301.html','true',[],'','']
	],'',''],
	['PAGE','707701',jdecode('S.Korea%7Cin+k%C3%BCrze'),jdecode(''),'/707701/index.html','true',[ 
		['PAGE','510443',jdecode('Land%2CLeute'),jdecode(''),'/707701/510443.html','true',[],'',''],
		['PAGE','609901',jdecode('News%7CKultur'),jdecode(''),'/707701/609901.html','true',[],'',''],
		['PAGE','614101',jdecode('AmazingS.Korea'),jdecode(''),'/707701/614101.html','true',[],'',''],
		['PAGE','510401',jdecode('Trad.Cooking'),jdecode(''),'/707701/510401.html','false',[],'','']
	],'',''],
	['PAGE','610801',jdecode('S.Korea%7CKultur'),jdecode(''),'/610801.html','true',[],'',''],
	['PAGE','575401',jdecode('Kultur%2Cbewahren+%21'),jdecode(''),'/575401/index.html','true',[ 
		['PAGE','569301',jdecode('Buchdruckkunst'),jdecode(''),'/575401/569301.html','true',[],'',''],
		['PAGE','573601',jdecode('HoefischeKueche'),jdecode(''),'/575401/573601.html','true',[],'',''],
		['PAGE','314643',jdecode('Rice+fancy+dessert'),jdecode(''),'/575401/314643.html','false',[],'',''],
		['PAGE','562801',jdecode('Gravurkunst'),jdecode(''),'/575401/562801.html','false',[],'',''],
		['PAGE','572301',jdecode('M%C3%B6belhandwerk'),jdecode(''),'/575401/572301.html','false',[],'',''],
		['PAGE','572901',jdecode('M%C3%B6belBeschl%C3%A4ge'),jdecode(''),'/575401/572901.html','false',[],'',''],
		['PAGE','563401',jdecode('T%C3%B6pfern'),jdecode(''),'/575401/563401.html','false',[],'',''],
		['PAGE','571101',jdecode('Seidenherstellug'),jdecode(''),'/575401/571101.html','true',[],'',''],
		['PAGE','570301',jdecode('Jadekunst'),jdecode(''),'/575401/570301.html','false',[],'',''],
		['PAGE','568001',jdecode('Bilderbespannen'),jdecode(''),'/575401/568001.html','false',[],'',''],
		['PAGE','561401',jdecode('Steppen'),jdecode(''),'/575401/561401.html','false',[],'',''],
		['PAGE','567201',jdecode('Flechten'),jdecode(''),'/575401/567201.html','false',[],'',''],
		['PAGE','563501',jdecode('Schamanenritual'),jdecode(''),'/575401/563501.html','false',[],'',''],
		['PAGE','578601',jdecode('Kultzeremoni%7CNr.1'),jdecode(''),'/575401/578601.html','false',[],'',''],
		['PAGE','580001',jdecode('Humoristische+M.T%7C+Nr.2'),jdecode(''),'/575401/580001.html','false',[],'',''],
		['PAGE','582701',jdecode('Unterhaltungs+K.%7CNr+3'),jdecode(''),'/575401/582701.html','false',[],'',''],
		['PAGE','590701',jdecode('Pferdehaarh%C3%BCten%7CNr.4'),jdecode(''),'/575401/590701.html','false',[],'',''],
		['PAGE','591401',jdecode('Gesang%2CPansori%7CNr.5'),jdecode(''),'/575401/591401.html','false',[],'',''],
		['PAGE','591901',jdecode('Maskentanzdrama%7CNr.6'),jdecode(''),'/575401/591901.html','false',[],'','']
	],'',''],
	['PAGE','395501',jdecode('TessinHighlights'),jdecode(''),'/395501/index.html','true',[ 
		['PAGE','649701',jdecode('Ascona+Events+'),jdecode(''),'/395501/649701.html','true',[],'',''],
		['PAGE','732201',jdecode('Ascona+Aug.Sep.09'),jdecode(''),'/395501/732201.html','true',[],'',''],
		['PAGE','639301',jdecode('FilmfestLocarno'),jdecode(''),'/395501/639301.html','true',[],'',''],
		['PAGE','643122',jdecode('Progr.15.08.2009'),jdecode(''),'/395501/643122.html','false',[],'',''],
		['PAGE','643101',jdecode('progr.14.08.2009'),jdecode(''),'/395501/643101.html','false',[],'',''],
		['PAGE','643001',jdecode('Progr.13.08.2009'),jdecode(''),'/395501/643001.html','false',[],'',''],
		['PAGE','641801',jdecode('+Progr.12.08.2009'),jdecode(''),'/395501/641801.html','false',[],'',''],
		['PAGE','638201',jdecode('Progr.11.08.2009'),jdecode(''),'/395501/638201.html','false',[],'',''],
		['PAGE','51201',jdecode('Beautifull+Swiss'),jdecode(''),'/395501/51201.html','true',[],'',''],
		['PAGE','242601',jdecode('Hesse%2CMuseumMontagnola'),jdecode(''),'/395501/242601.html','false',[],'',''],
		['PAGE','249601',jdecode('Anfahrt'),jdecode(''),'/395501/249601.html','false',[],'','']
	],'',''],
	['PAGE','31201',jdecode('Links+'),jdecode(''),'/31201.html','true',[],'','']];
var siteelementCount=72;
theSitetree.topTemplateName='Bow';
theSitetree.paletteFamily='A51C20';
theSitetree.keyvisualId='12019';
theSitetree.keyvisualName='kv_12019.jpg';
theSitetree.fontsetId='33247';
theSitetree.graphicsetId='14116';
theSitetree.contentColor='333333';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Bow',
				paletteFamily: 	'A51C20',
				keyvisualId: 	'12019',
				keyvisualName: 	'kv_12019.jpg',
				fontsetId: 		'33247',
				graphicsetId: 	'14116',
				contentColor: 	'333333',
				contentBGColor: 'FFFFFF',
				a_color: 		'F2F5F8',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '639301',
internalId:  '',
customField: '20090826-000949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '638201',
internalId:  '',
customField: '20090904-075255'
};
webappMappings['7008']=webappMappings['7008-1877']={
webappId:    '7008',
documentId:  '2767',
internalId:  '1877',
customField: 'language:de;country:CH;'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '249601',
internalId:  'location',
customField: 'language:de;country:CH;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '401522',
internalId:  '1501',
customField: '1501'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '242601',
internalId:  'routing',
customField: 'de_CH'
};
webappMappings['7008']=webappMappings['7008-1881']={
webappId:    '7008',
documentId:  '486901',
internalId:  '1881',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '562801',
internalId:  '',
customField: '20090825-225033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2401',
internalId:  '',
customField: '20100901-013032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2473',
internalId:  '',
customField: '20100903-210946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2494',
internalId:  '',
customField: '20100903-211451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2515',
internalId:  '',
customField: '20100427-191716'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '401522',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '210701',
internalId:  '',
customField: '20100427-192235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2767',
internalId:  '',
customField: '20100427-192800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401522',
internalId:  '',
customField: '20100903-210037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401501',
internalId:  '',
customField: '20100902-171040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '413901',
internalId:  '',
customField: '20100427-195807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '409901',
internalId:  '',
customField: '20100901-110416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '486901',
internalId:  '',
customField: '20100901-110829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '510401',
internalId:  '',
customField: '20090221-161953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '314643',
internalId:  '',
customField: '20090226-231120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8901',
internalId:  '',
customField: '20090914-134537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51201',
internalId:  '',
customField: '20090826-002238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '395501',
internalId:  '',
customField: '20090910-195107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '633101',
internalId:  '',
customField: '20100427-192017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '614101',
internalId:  '',
customField: '20090807-122911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '516301',
internalId:  '',
customField: '20090222-185131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '510443',
internalId:  '',
customField: '20090221-161953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '509901',
internalId:  '',
customField: '20100901-104356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '509922',
internalId:  '',
customField: '20100901-104540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '509943',
internalId:  '',
customField: '20100901-105346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '631101',
internalId:  '',
customField: '20100427-185914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31201',
internalId:  '',
customField: '20100903-210246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '242601',
internalId:  '',
customField: '20070301-095033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249601',
internalId:  '',
customField: '20070301-130001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '561401',
internalId:  '',
customField: '20090825-232228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '637801',
internalId:  '',
customField: '20100901-110746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '563401',
internalId:  '',
customField: '20090825-230336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '563501',
internalId:  '',
customField: '20090825-233239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '567201',
internalId:  '',
customField: '20090825-232759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '568001',
internalId:  '',
customField: '20090825-231930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '572901',
internalId:  '',
customField: '20090825-230032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '569301',
internalId:  '',
customField: '20090916-104721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '570301',
internalId:  '',
customField: '20090825-231610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '571101',
internalId:  '',
customField: '20090913-212537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '572301',
internalId:  '',
customField: '20090825-225752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '573601',
internalId:  '',
customField: '20090913-215042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '590701',
internalId:  '',
customField: '20090825-234556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '634801',
internalId:  '',
customField: '20100427-192413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '575401',
internalId:  '',
customField: '20090913-204511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '632801',
internalId:  '',
customField: '20100427-191358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '578601',
internalId:  '',
customField: '20090825-233455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '580001',
internalId:  '',
customField: '20090825-233929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '582701',
internalId:  '',
customField: '20090825-234333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '591401',
internalId:  '',
customField: '20090825-235119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '591901',
internalId:  '',
customField: '20090825-235932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '718701',
internalId:  '',
customField: '20100901-110112'
};
webappMappings['7008']=webappMappings['7008-6710']={
webappId:    '7008',
documentId:  '597001',
internalId:  '6710',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '597001',
internalId:  '',
customField: '20090917-141216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '600401',
internalId:  '',
customField: '20090910-010740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '600422',
internalId:  '',
customField: '20090915-101315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '609901',
internalId:  '',
customField: '20090825-223424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '610801',
internalId:  '',
customField: '20090913-151403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '641801',
internalId:  '',
customField: '20090813-005738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '643001',
internalId:  '',
customField: '20090812-235620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '643101',
internalId:  '',
customField: '20090812-234034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '643122',
internalId:  '',
customField: '20090812-233659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '649701',
internalId:  '',
customField: '20090821-065642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '652401',
internalId:  '',
customField: '20090814-124944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '652422',
internalId:  '',
customField: '20090814-124944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '731201',
internalId:  '',
customField: '20100901-110527'
};
webappMappings['1501']=webappMappings['1501-28699741']={
webappId:    '1501',
documentId:  '401522',
internalId:  '28699741',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '667401',
internalId:  '',
customField: '20090915-100658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '707701',
internalId:  '',
customField: '20090830-153552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '716801',
internalId:  '',
customField: '20100902-171916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '721101',
internalId:  '',
customField: '20100427-193125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '724301',
internalId:  '',
customField: '20090909-130557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '732201',
internalId:  '',
customField: '20090910-213412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '760901',
internalId:  '',
customField: '20100902-182849'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0IN2RW8';
var companyName   = '';
var htmlTitle	  = 'Original+South+Korean+Ginseng+Products+for+EU.CH.+Retailer%2C+Grosshandel%2C+Gastronomie%2C+Cathering+Business.+Contact+us';
var metaKeywords  = 'Wir+liefern++Original+South+Korean+Ginseng%2C+In+sam++Products%2C+an+Firmen-+a.+h+Grossverbraucher%2C+Retailer+in.d.Sweiz+u.+EU.++Werden+Sie+Vertriebs+Partner+in+der+Schweiz.+';
var metaContents  = 'Original+South+Korean+Ginseng+Tea%2C+Granulat+Instant.+Tee++Grosshandel%2C+Grossverbraucher%2C+Retailer%2C+direkt+in+d.+Schweiz+und+EU.+etwa+3+arbeits+Tage+freihaus.+Original+%60Sued+Koreanischer+Ginseng%60+ist+auf+Grund+der+klimatischen+Bedingungen+%28Inhalts+Stoffen%29+der+strengen+Qualitaetskontrollen+und+dem+Know+How+von+Generationen+als+besonders+kostbar+und+hochwertig+i.+d.+Fachwelt+anerkannt%2C+more..+www.finefood-east-west.com';
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();
};

