/* [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','40984',jdecode('Home'),jdecode(''),'/40984.html','true',[],''],
	['PAGE','40993',jdecode('Start'),jdecode(''),'/40993.html','true',[],''],
	['PAGE','41119',jdecode('Portfolio+1'),jdecode(''),'/41119.html','true',[],''],
	['PAGE','41960',jdecode('Portfolio+2'),jdecode(''),'/41960.html','true',[],''],
	['PAGE','49001',jdecode('Commercial+shots'),jdecode(''),'/49001/home.html','true',[ 
		['PAGE','50101',jdecode('Woodlands+Olive+Oil'),jdecode(''),'/49001/50101.html','true',[],''],
		['PAGE','56601',jdecode('Pawitra+Naturals'),jdecode(''),'/49001/56601.html','true',[],'']
	],''],
	['PAGE','41011',jdecode('Ellmann%2C+wer...%3F'),jdecode(''),'/41011/home.html','true',[ 
		['PAGE','41533',jdecode('About+me'),jdecode(''),'/41011/41533.html','true',[],'']
	],''],
	['PAGE','41512',jdecode('G%C3%A4stebuch'),jdecode(''),'/41512/home.html','true',[ 
		['PAGE','41511',jdecode('Eintr%C3%A4ge%2FComments'),jdecode(''),'/41512/41511.html','true',[],'']
	],''],
	['PAGE','41020',jdecode('Kontakt%2FContact'),jdecode(''),'/41020.html','true',[],''],
	['PAGE','41029',jdecode('Impressum'),jdecode(''),'/41029/home.html','true',[ 
		['PAGE','41558',jdecode('Datenschutz'),jdecode(''),'/41029/41558.html','true',[],'']
	],''],
	['PAGE','46901',jdecode('Mike+Oldfield+Live'),jdecode(''),'/46901.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='EBEAEA';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='78';
theSitetree.graphicsetId='88';
theSitetree.contentColor='006633';
theSitetree.contentBGColor='F5F5F5';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Galerie',
				paletteFamily: 	'EBEAEA',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'78',
				graphicsetId: 	'88',
				contentColor: 	'006633',
				contentBGColor: 'F5F5F5',
				a_color: 		'EBEAEA',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40984',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10dfc0e43ee']={
webappId:    '1007',
documentId:  '41119',
internalId:  '10dfc0e43ee',
customField: 'g.11ntv1ni9.9lce7ob0v.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40984',
internalId:  '',
customField: '20081106-161610'
};
webappMappings['1002']=webappMappings['1002-41512atoix0i78g6w']={
webappId:    '1002',
documentId:  '41512',
internalId:  '41512atoix0i78g6w',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41512atoix0i78g6w']={
webappId:    '1002',
documentId:  '41511',
internalId:  '41512atoix0i78g6w',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41020',
internalId:  '',
customField: '20090325-204903'
};
webappMappings['1008']=webappMappings['1008-29425716']={
webappId:    '1008',
documentId:  '41020',
internalId:  '29425716',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41512',
internalId:  '',
customField: '20081106-185909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41011',
internalId:  '',
customField: '20081106-185330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41029',
internalId:  '',
customField: '20090325-213932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40993',
internalId:  '',
customField: '20081106-162020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41119',
internalId:  '',
customField: '20090320-014932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41511',
internalId:  '',
customField: '20081106-185930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41533',
internalId:  '',
customField: '20090325-220040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41558',
internalId:  '',
customField: '20081106-190340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41960',
internalId:  '',
customField: '20090320-015004'
};
webappMappings['1007']=webappMappings['1007-11d72079a31']={
webappId:    '1007',
documentId:  '41960',
internalId:  '11d72079a31',
customField: 'g.13lp0285v.edc8cpdh3g.1s'
};
webappMappings['1007']=webappMappings['1007-11d74566435']={
webappId:    '1007',
documentId:  '46901',
internalId:  '11d74566435',
customField: 'g.13lq0igio.c67ceqgsmh.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46901',
internalId:  '',
customField: '20081107-020956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49001',
internalId:  '',
customField: '20090320-192521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50101',
internalId:  '',
customField: '20090320-203749'
};
webappMappings['1007']=webappMappings['1007-12021693126']={
webappId:    '1007',
documentId:  '50101',
internalId:  '12021693126',
customField: 'g.140gmd50f.f6jlbgp3dn.1s'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I78G6W';
var companyName   = '++++++++++++Ellmann+Photography';
var htmlTitle	  = 'Ellmann+Photography+%2F+Imaging+%2F+Gallery';
var metaKeywords  = 'Thorsten+Ellmann%2C+Web-Gallery%2C+Webgallery%2C+Online-Bildergalerie%2CFotogalerie%2C+Fotograf%2C+Foto%2C+Fotos%2C+Photo%2C+Photografie%2C+Photographie%2C+photography%2C+photographer%2C+photos%2C+photographs%2C+Portraitfotografie%2C+Imaging%2C+Bilder%2C+Aufnahmen%2C+Fotografie%2C+fotografieren%2C+Architektur%2C+Landschaften%2C+Menschen%2C+Tiere%2C+Technik%2C+Konzertfotos%2C+Australien%2C+Nikon%2C+Canon%2C+Minolta%2C+Olympus%2C+Pentax%2C+Sigma%2C+Tamron%2C+Tokina%2C+Hama%2C+Casio%2C+Sony%2C+Panasonic%2C+Portraits%2C+Kamera%2C+camera%2C+cameras%2C+Kameras%2C+Digital%2C+Digitalkamera%2C+digital+camera%2C+Objektiv%2C+Objektive%2C+Lens%2C+Hannover%2C+Schwarzweiss%2C+Farbe%2C+Farben%2C+Digitalfotografie%2C+Digitalfoto%2C+Digitalfotos%2C+Analog%2C+analoge+Fotografie%2C+Werbung%2C+Werbefotografie';
var metaContents  = 'Fotogalerie+mit+Fotos+von+Thorsten+Ellmann.+Architekturaufnahmen%2C+Landschaftsfotografie%2C+Tierfotos%2C+Portraits%2C+u.v.m.';
					                                                                    
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 */					                                                            

