/* [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','39994',jdecode('Home'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41838',jdecode('Menschen'),jdecode(''),'/41838/home.html','true',[ 
		['PAGE','41847',jdecode('Erwachsene'),jdecode(''),'/41838/41847.html','true',[],''],
		['PAGE','41856',jdecode('Kinder'),jdecode(''),'/41838/41856.html','true',[],''],
		['PAGE','41874',jdecode('Freizeit'),jdecode(''),'/41838/41874.html','true',[],''],
		['PAGE','41865',jdecode('Hochzeiten'),jdecode(''),'/41838/41865.html','true',[],'']
	],''],
	['PAGE','41883',jdecode('Tiere'),jdecode(''),'/41883/home.html','true',[ 
		['PAGE','41892',jdecode('Haustiere+Indoor'),jdecode(''),'/41883/41892.html','true',[],''],
		['PAGE','41901',jdecode('Haustiere+Outdoor'),jdecode(''),'/41883/41901.html','true',[],''],
		['PAGE','41910',jdecode('Wildlife'),jdecode(''),'/41883/41910.html','true',[],'']
	],''],
	['PAGE','41928',jdecode('Natur'),jdecode(''),'/41928/home.html','true',[ 
		['PAGE','41937',jdecode('Landschaften'),jdecode(''),'/41928/41937.html','true',[],''],
		['PAGE','41946',jdecode('Pflanzen'),jdecode(''),'/41928/41946.html','true',[],'']
	],''],
	['PAGE','41955',jdecode('Rosenheim'),jdecode(''),'/41955/home.html','true',[ 
		['PAGE','41964',jdecode('Unser+Dorf'),jdecode(''),'/41955/41964.html','true',[],''],
		['PAGE','41973',jdecode('Veranstaltungen+%281%29'),jdecode(''),'/41955/41973.html','true',[],''],
		['PAGE','41982',jdecode('Veranstaltungen+%282%29'),jdecode(''),'/41955/41982.html','true',[],'']
	],''],
	['PAGE','42004',jdecode('Der+Westerwald'),jdecode(''),'/42004/home.html','true',[ 
		['PAGE','42115',jdecode('und+andere+Orte'),jdecode(''),'/42004/42115.html','true',[],'']
	],''],
	['PAGE','41991',jdecode('Poesie+%26+Karten'),jdecode(''),'/41991.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='465461';
theSitetree.keyvisualId='11044';
theSitetree.keyvisualName='kv_11044.jpg';
theSitetree.fontsetId='32078';
theSitetree.graphicsetId='13772';
theSitetree.contentColor='F2F9FF';
theSitetree.contentBGColor='465461';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'465461',
				keyvisualId: 	'11044',
				keyvisualName: 	'kv_11044.jpg',
				fontsetId: 		'32078',
				graphicsetId: 	'13772',
				contentColor: 	'F2F9FF',
				contentBGColor: '465461',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110907-140843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41874',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41865',
internalId:  '',
customField: '20110907-141318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41883',
internalId:  '',
customField: '20110412-192745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41847',
internalId:  '',
customField: '20110326-152233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41856',
internalId:  '',
customField: '20110326-152233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41838',
internalId:  '',
customField: '20110412-200241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41892',
internalId:  '',
customField: '20110412-203306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41901',
internalId:  '',
customField: '20110412-204013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41910',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42115',
internalId:  '',
customField: '20110412-184745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41928',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41946',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41955',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41964',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41973',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41982',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42004',
internalId:  '',
customField: '20110401-080323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41991',
internalId:  '',
customField: '20110401-075321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41937',
internalId:  '',
customField: '20110401-075321'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRMZ2B';
var companyName   = '*Bilder+sprechen+lassen*';
var htmlTitle	  = 'digitale+Fotografie+und+mehr...';
var metaKeywords  = 'Carina+Helmert%2C+Foto%2C+Fotos%2C+Canon%2C+Canon+350D%2C+digitale+Fotografie%2C+Photographie%2C+ch-fotografie%2C+die-monster%2C+monster%2C+Tierfotografie%2C+Portrait%2C+Seidenpapier%2C+Hobbyfotografin%2C+Hobbyfotograf%2C+Einzelst%C3%BCcke%2C+Unikat%2C+Strohseide%2C+';
var metaContents  = 'Auf+der+Seite+von+ch-fotografie+finden+Sie+Bilder+verschiedener+Bereiche+und+Exklusivbilder+auf+Strohseide+von+der+Hobbyfotografin+Carina+Helmert';
					                                                                    
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 */					                                                            

