/* [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','4579',jdecode('BIOGRAFIE'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','27202',jdecode('MOTIVATION'),jdecode(''),'/27202.html','true',[],''],
	['PAGE','19101',jdecode('FILMOGRAFIE'),jdecode(''),'/19101.html','true',[],'']];
var siteelementCount=3;
theSitetree.topTemplateName='Pixelprofi';
theSitetree.paletteFamily='330066';
theSitetree.keyvisualId='1126';
theSitetree.keyvisualName='cd_stapel.jpg';
theSitetree.fontsetId='187';
theSitetree.graphicsetId='224';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='330066';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Pixelprofi',
				paletteFamily: 	'330066',
				keyvisualId: 	'1126',
				keyvisualName: 	'cd_stapel.jpg',
				fontsetId: 		'187',
				graphicsetId: 	'224',
				contentColor: 	'FFFFFF',
				contentBGColor: '330066',
				a_color: 		'330066',
				b_color: 		'2E1AB4',
				c_color: 		'000000',
				d_color: 		'003399',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-13231529']={
webappId:    '1501',
documentId:  '4579',
internalId:  '13231529',
customField: '1501'
};
webappMappings['1001']=webappMappings['1001-atoix0inevff10485205777']={
webappId:    '1001',
documentId:  '27202',
internalId:  'atoix0inevff10485205777',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120208-110756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19101',
internalId:  '',
customField: '20111103-191013'
};
webappMappings['1008']=webappMappings['1008-33362077']={
webappId:    '1008',
documentId:  '4579',
internalId:  '33362077',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27202',
internalId:  '',
customField: '20120208-110100'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '19101',
internalId:  '',
customField: ''
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INEVFF';
var companyName   = 'Conradsen+%26+K%C3%B6ster+-+DIE+ANDERE+SEITE';
var htmlTitle	  = 'Film+%3A+DIE+ANDERE+SEITE+-+Installation+Conradsen-koester-film';
var metaKeywords  = 'H%C3%B6chstpers%C3%B6nlich%2C+Fernsehregisseure%2C+Biografie%2C+Dokumentarfilm%2C+Reportage%2C+Michael+von+Au%2C+Ilja+Richter%2C+Drafi+Deutscher%2C+Hubert+von+Goisern%2C+Christoph+M.+Ohrt%2C+Ted+Herold%2C+Mike+Kr%C3%BCger%2C+Dieter+Thomas+Heck%2C+Heinz+Schenk%2C+ARD%2C+ZDF%2C+Kim+Fisher%2C+Dirk+Bach%2C+Paola+und+Kurt+Felix%2C+Wildecker+Herzbuben%2C+Angeber%2C+Harte+Jobs%2C+Heimatkl%C3%A4nge+Orient+Express%2C+Popmusik%2C+Angeber%2C+Kuba%2C+Fernsehen%2C+Filmografie%2C+Biografie%2C+Neue+Filme%2C+Foto%2C+Film%2C+Regisseure%2C+Hannelore+Conradsen+und+Dieter+K%C3%B6ster';
var metaContents  = 'DIE+ANDERE+SEITE.Installation%2C++Filmografie%2C+Biografie+und+Workshopseite+der+renommierten+Film-+und+Fernsehregisseure+Hannelore+Conradsen+und+Dieter+K%C3%B6ster';
					                                                                    
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) {														 
    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();
}
/* EOF */					                                                            

