/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40648',jdecode('Photogalerie'),jdecode(''),'/40648/home.html','true',[ 
		['PAGE','40720',jdecode('Akt'),jdecode(''),'/40648/40720.html','true',[],''],
		['PAGE','40738',jdecode('Hochzeit'),jdecode(''),'/40648/40738.html','true',[],''],
		['PAGE','40819',jdecode('Babybauch'),jdecode(''),'/40648/40819.html','true',[],''],
		['PAGE','40747',jdecode('Werbung'),jdecode(''),'/40648/40747.html','true',[],''],
		['PAGE','42266',jdecode('Beauty'),jdecode(''),'/40648/42266.html','true',[],''],
		['PAGE','40729',jdecode('Portrait%2C+Babys+%2B+Kids'),jdecode(''),'/40648/40729.html','true',[],''],
		['PAGE','40756',jdecode('Konfirmation'),jdecode(''),'/40648/40756.html','true',[],''],
		['PAGE','42871',jdecode('Kindergarten+%26+Schule'),jdecode(''),'/40648/42871.html','true',[],''],
		['PAGE','40765',jdecode('Bewerbung'),jdecode(''),'/40648/40765.html','true',[],''],
		['PAGE','40774',jdecode('Special'),jdecode(''),'/40648/40774.html','true',[],'']
	],''],
	['PAGE','40666',jdecode('Kontakt'),jdecode(''),'/40666.html','true',[],''],
	['PAGE','40675',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40675/home.html','true',[ 
		['PAGE','40684',jdecode('Unser+Team'),jdecode(''),'/40675/40684.html','true',[],''],
		['PAGE','40783',jdecode('...So+arbeiten+wir'),jdecode(''),'/40675/40783.html','true',[],'']
	],''],
	['PAGE','40702',jdecode('Partner'),jdecode(''),'/40702.html','true',[],''],
	['PAGE','40711',jdecode('Impressum'),jdecode(''),'/40711.html','true',[],''],
	['PAGE','41665',jdecode('Anfahrt'),jdecode(''),'/41665.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Struktur02';
theSitetree.paletteFamily='0360B9';
theSitetree.keyvisualId='10988';
theSitetree.keyvisualName='kv_10988.jpg';
theSitetree.fontsetId='31915';
theSitetree.graphicsetId='13736';
theSitetree.contentColor='001359';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Struktur02',
				paletteFamily: 	'0360B9',
				keyvisualId: 	'10988',
				keyvisualName: 	'kv_10988.jpg',
				fontsetId: 		'31915',
				graphicsetId: 	'13736',
				contentColor: 	'001359',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				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: '20111128-151231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40648',
internalId:  '',
customField: '20090216-151625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40738',
internalId:  '',
customField: '20120112-093057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40720',
internalId:  '',
customField: '20120112-100415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40747',
internalId:  '',
customField: '20120203-152616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40729',
internalId:  '',
customField: '20120120-112359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40756',
internalId:  '',
customField: '20110224-150742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40765',
internalId:  '',
customField: '20110224-120420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40774',
internalId:  '',
customField: '20110304-113422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40675',
internalId:  '',
customField: '20081103-171244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40684',
internalId:  '',
customField: '20120110-093738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42266',
internalId:  '',
customField: '20120112-100644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40783',
internalId:  '',
customField: '20090216-152714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40711',
internalId:  '',
customField: '20100205-091201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40666',
internalId:  '',
customField: '20100205-091238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40702',
internalId:  '',
customField: '20111101-122421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40819',
internalId:  '',
customField: '20111102-164723'
};
webappMappings['1501']=webappMappings['1501-54442471']={
webappId:    '1501',
documentId:  '39994',
internalId:  '54442471',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41665',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41665',
internalId:  '',
customField: '20081114-142820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42871',
internalId:  '',
customField: '20111116-153931'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IR42PI';
var companyName   = 'Dahmke+Photographie';
var htmlTitle	  = 'Photographie+Dahmke';
var metaKeywords  = 'Foto%2C+Portraitfoto%2C+Aktfoto%2C+Hochzeitsfoto%2C+Babyfoto%2C+Kinderfoto%2C+Werbefoto%2C+Reportagefoto%2C+Architekturfoto%2C+Hochzeitsalben%2C+Rahmen%2C+Minilab%2C+Gro%C3%9Ffoto%2C+Pa%C3%9Fbilder%2C+Passepartout%2C+Individuell%2C+Strandfoto%2C+Babybauchfoto%2C+Studio%2C+Fotograf%2C+Portraitstudio%2C+Au%C3%9Fenstudio%2C+Otterndorf%2C+Cuxhaven%2C+Stade%2C+Bederkesa%2C+Bremerv%C3%B6rde%2C';
var metaContents  = 'Willkommen+bei+Fotografie+Dahmke.+Ihr+Spezialist+f%C3%BCr+Hochzeitsfotos%2C+Aktfotos%2C+Portraitfotos%2C+Bewerbungsfotos%2C+Kinderfotos%2C+Babyfotos+und+Werbefotos.++';
					                                                                    
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 */					                                                            

