/* [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','43449',jdecode('HOCHZEIT'),jdecode(''),'/43449/home.html','true',[ 
		['PAGE','49701',jdecode('Jessica+und+Alfred'),jdecode(''),'/43449/49701.html','true',[],'']
	],''],
	['PAGE','57801',jdecode('EINSCHULUNG'),jdecode(''),'/57801/home.html','true',[ 
		['PAGE','57822',jdecode('2010+Lisa'),jdecode(''),'/57801/57822.html','true',[],'']
	],''],
	['PAGE','119401',jdecode('Konfirmation+%2F+Kommunion'),jdecode(''),'/119401/home.html','true',[ 
		['PAGE','119422',jdecode('2011'),jdecode(''),'/119401/119422.html','true',[],'']
	],''],
	['PAGE','41414',jdecode('BABYGALLERIE'),jdecode(''),'/41414/home.html','true',[ 
		['PAGE','41423',jdecode('Lennox'),jdecode(''),'/41414/41423.html','true',[],''],
		['PAGE','41432',jdecode('Julien'),jdecode(''),'/41414/41432.html','true',[],''],
		['PAGE','41441',jdecode('Ronja'),jdecode(''),'/41414/41441.html','true',[],'']
	],''],
	['PAGE','52701',jdecode('Fotoserien+auf+CD'),jdecode(''),'/52701/home.html','true',[ 
		['PAGE','52722',jdecode('Jolina'),jdecode(''),'/52701/52722.html','true',[],'']
	],''],
	['PAGE','120501',jdecode('FESTE+2011'),jdecode(''),'/120501/home.html','true',[ 
		['PAGE','121201',jdecode('28.06.2011+2a'),jdecode(''),'/120501/121201.html','true',[],'']
	],''],
	['PAGE','40985',jdecode('G%C3%84STEBUCH'),jdecode(''),'/40985/home.html','true',[ 
		['PAGE','40984',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40985/40984.html','true',[],'']
	],''],
	['PAGE','41131',jdecode('PREISE'),jdecode(''),'/41131.html','true',[],''],
	['PAGE','92301',jdecode('Event+%2F+Konzert+%2F+Live+2011'),jdecode(''),'/92301/home.html','true',[ 
		['PAGE','92322',jdecode('04.06.11+Alstadener+Musiktage+'),jdecode(''),'/92301/92322.html','true',[],''],
		['PAGE','103101',jdecode('04.06.11+Matthias+Carras'),jdecode(''),'/92301/103101.html','true',[],''],
		['PAGE','92343',jdecode('19.06.11+Sicherheitstag+Ge'),jdecode(''),'/92301/92343.html','true',[],'']
	],''],
	['PAGE','100201',jdecode('J%C3%96RG+BAUSCH'),jdecode(''),'/100201/home.html','true',[ 
		['PAGE','100222',jdecode('04.+Juni+2011+Alstade%2FOB'),jdecode(''),'/100201/100222.html','true',[],''],
		['PAGE','100243',jdecode('19.+Juni+2011+Sicherheitstag+Ge'),jdecode(''),'/100201/100243.html','true',[],'']
	],''],
	['PAGE','94901',jdecode('FORUM'),jdecode(''),'/94901.html','true',[],''],
	['PAGE','42166',jdecode('LINKS'),jdecode(''),'/42166.html','true',[],''],
	['PAGE','60901',jdecode('Visitenkarten'),jdecode(''),'/60901.html','true',[],''],
	['PAGE','44458',jdecode('KONTAKT'),jdecode(''),'/44458.html','true',[],''],
	['PAGE','60201',jdecode('MEINE+BANNER'),jdecode(''),'/60201.html','true',[],''],
	['PAGE','122501',jdecode('Formulare'),jdecode(''),'/122501/home.html','true',[ 
		['PAGE','122522',jdecode('Einverst%C3%A4ndnis'),jdecode(''),'/122501/122522.html','true',[],'']
	],'']];
var siteelementCount=32;
theSitetree.topTemplateName='Hochzeit15';
theSitetree.paletteFamily='FED7C3';
theSitetree.keyvisualId='8698';
theSitetree.keyvisualName='kv_8698.jpg';
theSitetree.fontsetId='17827';
theSitetree.graphicsetId='12598';
theSitetree.contentColor='D16630';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Hochzeit15',
				paletteFamily: 	'FED7C3',
				keyvisualId: 	'8698',
				keyvisualName: 	'kv_8698.jpg',
				fontsetId: 		'17827',
				graphicsetId: 	'12598',
				contentColor: 	'D16630',
				contentBGColor: 'FFFFFF',
				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: '20110718-214920'
};
webappMappings['1002']=webappMappings['1002-40985atoix0irxcwt']={
webappId:    '1002',
documentId:  '40985',
internalId:  '40985atoix0irxcwt',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40985atoix0irxcwt']={
webappId:    '1002',
documentId:  '40984',
internalId:  '40985atoix0irxcwt',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40985',
internalId:  '',
customField: '20110624-210538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40984',
internalId:  '',
customField: '20100901-124357'
};
webappMappings['1003']=webappMappings['1003-atoix0irxcwt130c2818f01']={
webappId:    '1003',
documentId:  '94901',
internalId:  'atoix0irxcwt130c2818f01',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49701',
internalId:  '',
customField: '20110718-215034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121201',
internalId:  '',
customField: '20110707-123518'
};
webappMappings['1501']=webappMappings['1501-71641211']={
webappId:    '1501',
documentId:  '39994',
internalId:  '71641211',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41131',
internalId:  '',
customField: '20110628-164650'
};
webappMappings['1008']=webappMappings['1008-75878052']={
webappId:    '1008',
documentId:  '122501',
internalId:  '75878052',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122501',
internalId:  '',
customField: '20110707-123335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41414',
internalId:  '',
customField: '20110718-215519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41423',
internalId:  '',
customField: '20110718-215642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41432',
internalId:  '',
customField: '20110718-215742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41441',
internalId:  '',
customField: '20110718-215800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42166',
internalId:  '',
customField: '20110712-230644'
};
webappMappings['7091']=webappMappings['7091-49178']={
webappId:    '7091',
documentId:  '42166',
internalId:  '49178',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-61288']={
webappId:    '7091',
documentId:  '42166',
internalId:  '61288',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-61287']={
webappId:    '7091',
documentId:  '42166',
internalId:  '61287',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-75877034']={
webappId:    '1008',
documentId:  '122522',
internalId:  '75877034',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43449',
internalId:  '',
customField: '20110718-215004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122522',
internalId:  '',
customField: '20110707-123208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44458',
internalId:  '',
customField: '20110717-163354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100201',
internalId:  '',
customField: '20110704-173526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100222',
internalId:  '',
customField: '20110628-165232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100243',
internalId:  '',
customField: '20110628-232533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103101',
internalId:  '',
customField: '20110626-224448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120501',
internalId:  '',
customField: '20110707-114459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119401',
internalId:  '',
customField: '20110718-215234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119422',
internalId:  '',
customField: '20110701-003136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52701',
internalId:  '',
customField: '20110707-232327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52722',
internalId:  '',
customField: '20100901-124007'
};
webappMappings['7091']=webappMappings['7091-49181']={
webappId:    '7091',
documentId:  '94901',
internalId:  '49181',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57801',
internalId:  '',
customField: '20110718-215057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57822',
internalId:  '',
customField: '20110718-215147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60901',
internalId:  '',
customField: '20100901-123013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60201',
internalId:  '',
customField: '20110718-220421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94901',
internalId:  '',
customField: '20110705-180610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92301',
internalId:  '',
customField: '20110701-004106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92322',
internalId:  '',
customField: '20110627-181340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92343',
internalId:  '',
customField: '20110629-234046'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRXCWT';
var companyName   = 'SPFotostyle';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

