/* [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','1513',jdecode('Home'),jdecode(''),'/1513.html','true',[],'',''],
	['PAGE','25302',jdecode('English'),jdecode(''),'/25302/index.html','true',[ 
		['PAGE','61919',jdecode('Violeta+Ramos'),jdecode(''),'/25302/61919.html','true',[],'',''],
		['PAGE','61946',jdecode('Richard+Schneider'),jdecode(''),'/25302/61946.html','true',[],'','']
	],'',''],
	['PAGE','25383',jdecode('Espa%C3%B1ol'),jdecode(''),'/25383/index.html','true',[ 
		['PAGE','61838',jdecode('Violeta+Ramos'),jdecode(''),'/25383/61838.html','true',[],'',''],
		['PAGE','61865',jdecode('Richard+Schneider'),jdecode(''),'/25383/61865.html','true',[],'','']
	],'',''],
	['PAGE','37315',jdecode('Mandarin'),jdecode(''),'/37315.html','true',[],'',''],
	['PAGE','1570',jdecode('Duo+Ramos-Schneider'),jdecode(''),'/1570.html','true',[],'',''],
	['PAGE','41762',jdecode('Referenzen'),jdecode(''),'/41762.html','true',[],'',''],
	['PAGE','21106',jdecode('Konzerte'),jdecode(''),'/21106.html','true',[],'',''],
	['PAGE','1678',jdecode('CV+Violeta+Ramos'),jdecode(''),'/1678.html','true',[],'',''],
	['PAGE','1705',jdecode('CV+Richard+Schneider'),jdecode(''),'/1705.html','true',[],'',''],
	['PAGE','21654',jdecode('Discografie'),jdecode(''),'/21654.html','true',[],'',''],
	['PAGE','71149',jdecode('Fotoalbum'),jdecode(''),'/71149/index.html','true',[ 
		['PAGE','50517',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/71149/50517.html','false',[],'','']
	],'',''],
	['PAGE','85811',jdecode('Contact'),jdecode(''),'/85811/index.html','true',[ 
		['PAGE','86111',jdecode('Contact+%28Folgeseite%29'),jdecode(''),'/85811/86111.html','false',[],'','']
	],'',''],
	['PAGE','2137',jdecode('Guest+Book'),jdecode(''),'/2137/index.html','true',[ 
		['PAGE','2138',jdecode('Read+Comments'),jdecode(''),'/2137/2138.html','false',[],'','']
	],'','']];
var siteelementCount=20;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='990000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='75';
theSitetree.graphicsetId='86';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Galerie',
				paletteFamily: 	'990000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'75',
				graphicsetId: 	'86',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'990000',
				b_color: 		'CCCC99',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-1418054']={
webappId:    '1501',
documentId:  '1513',
internalId:  '1418054',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-2137ahp010in283u']={
webappId:    '1002',
documentId:  '2137',
internalId:  '2137ahp010in283u',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61919',
internalId:  '',
customField: '20090225-231142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61946',
internalId:  '',
customField: '20080927-210710'
};
webappMappings['7008']=webappMappings['7008-819']={
webappId:    '7008',
documentId:  '85811',
internalId:  '819',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25302',
internalId:  '',
customField: '20090225-231436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1513',
internalId:  '',
customField: '20100509-212935'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1513',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25383',
internalId:  '',
customField: '20080927-205011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61838',
internalId:  '',
customField: '20090225-231331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61865',
internalId:  '',
customField: '20080927-211312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37315',
internalId:  '',
customField: '20080927-211410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1570',
internalId:  '',
customField: '20090909-211658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41762',
internalId:  '',
customField: '20100106-151742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21106',
internalId:  '',
customField: '20100509-213421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1678',
internalId:  '',
customField: '20090225-231430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1705',
internalId:  '',
customField: '20100106-152650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21654',
internalId:  '',
customField: '20080924-225433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71149',
internalId:  '',
customField: '20100118-133218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50517',
internalId:  '',
customField: '20041217-180144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85811',
internalId:  '',
customField: '20050519-164158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86111',
internalId:  '',
customField: '20050519-163934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2137',
internalId:  '',
customField: '20041202-165448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2138',
internalId:  '',
customField: '20041126-190547'
};
var canonHostname = 'webomat01.hostpoint.ch';
var accountId     = 'Ahp010IN283U';
var companyName   = 'DUO+RAMOS-SCHNEIDER+++++++Violeta+Ramos++Richard+Schneider';
var htmlTitle	  = 'ramos-schneider';
var metaKeywords  = 'stimmen.voices.voces+del+mundo%2C+Richard+Schneider%2C+Violeta+Ramos%2C+Duo+Ramos-Schneider%2C+Musik%2C+S%EF%BF%BDdamerika%2C+Harfe%2C+Gitarre%2C+Bandone%EF%BF%BDn%2C+Gesang%2C+Tango%2C+Folklore%2C+Klassik%2C+Jazz%2C+Musikschule%2C+Konzerte%2C+Lebenslauf%2C+Spanisch%2C+Argentinien%2C+Paraguay%2C+Schweiz%2C+CD%2C+Tatiana+Vassilenko%2C+Camilo+Gomez%2C+J%EF%BF%BDrg+Kaufmann%2C+Zug%2C+Buenos+Aires%2C+Asunci%EF%BF%BDn%2C+kammermusikalisch%2C+Bearbeitungen%2C+Arrangements%2C+Eigenkompositionen%2C+Domingo+Rey%2C+Miguel+Fernandez%2C+Patricia+Parada%2C+Kelo+Palacios%2C+An%EF%BF%BDbal+Arias%2C+Juan+Fal%EF%BF%BD%2C+Peter+Herbolzheimer%2C+Ram%EF%BF%BDn+Ayala%2C+Los+Paraguayos%2C+Hilda+Herrera%2C+Eva+Lopzsyc%2C+Pablo+Aguirre%2C+Manfred+Schoof%2C+Robert+Lingnau%2C+Flutango%2C+Reynaldo+Meza%2C+Rub%EF%BF%BDn+Tolosa%2C+Los+cat%EF%BF%BD%2C+Luis+Cheul%2C+Klaus+Tenner%2C+Daniel+Erdmann%2C+Lars+Kuklinski%2C+Benno+Gl%EF%BF%BDsenkamp%2C+K%EF%BF%BDln%2C+Teatro+col%EF%BF%BDn%2C+Teatro+Hugo+de+carril%2C+Meisterkonzert%2C+Luz+Maria+Bobadilla%2C+Tania+Ramos%2C+s%EF%BF%BDdamerikanische+Harfe%2C+Sikus%2C+Charango%2C+Pan-Fl%EF%BF%BDte%2C+Blockfl%EF%BF%BDte%2C+Klavier%2C+Piano%2C+Quena%2C+Kultur%2C+Tangowoche+Z%EF%BF%BDrich%2C+Landesmuseum+Z%EF%BF%BDrich%2C+Grand+Hotel+Bellevue+Gstaad%2C+Teatro+Hugo+de+carril%2C+Braunschweig%2C+Kultur+Zug%2C+Altstadt%2C+Arrangements%2C+Kompositionen%2C+M%EF%BF%BDrlisunntig%2C+exotische+Instrumente+';
var metaContents  = 'stimmen.voices.voces+del+mundo%2C+Richard+Schneider%2C+Violeta+Ramos%2C+Duo+Ramos-Schneider%2C+Musik%2C+S%EF%BF%BDdamerika%2C+Harfe%2C+Gitarre%2C+Bandone%EF%BF%BDn%2C+Gesang%2C+Tango%2C+Folklore%2C+Klassik%2C+Jazz%2C+Musikschule%2C+Konzerte%2C+Lebenslauf%2C+Spanisch%2C+Argentinien%2C+Paraguay%2C+Schweiz%2C+CD';
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();
};
