/* [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','40958',jdecode('Home'),jdecode(''),'/40958.html','true',[],''],
	['PAGE','108001',jdecode('Diashow+'),jdecode(''),'/108001.html','true',[],''],
	['PAGE','40969',jdecode('Portr%C3%A4t'),jdecode(''),'/40969.html','true',[],''],
	['PAGE','40978',jdecode('Vita'),jdecode(''),'/40978.html','true',[],''],
	['PAGE','40987',jdecode('Workshop'),jdecode(''),'/40987.html','true',[],''],
	['PAGE','40996',jdecode('Galerie'),jdecode(''),'/40996/home.html','true',[ 
		['PAGE','41005',jdecode('K%C3%BCnstlerin+L.Patchett'),jdecode(''),'/40996/41005.html','true',[],''],
		['PAGE','41014',jdecode('K%C3%BCnstler+J.Patchett'),jdecode(''),'/40996/41014.html','true',[],'']
	],''],
	['PAGE','101301',jdecode('Auszeichnungen'),jdecode(''),'/101301.html','true',[],''],
	['PAGE','41032',jdecode('Kontakt'),jdecode(''),'/41032.html','true',[],''],
	['PAGE','41041',jdecode('Impressum'),jdecode(''),'/41041.html','true',[],''],
	['PAGE','41023',jdecode('Weblinks'),jdecode(''),'/41023.html','true',[],''],
	['PAGE','41091',jdecode('English'),jdecode(''),'/41091/home.html','true',[ 
		['PAGE','41100',jdecode('Profile'),jdecode(''),'/41091/41100.html','true',[],''],
		['PAGE','41109',jdecode('Vitie'),jdecode(''),'/41091/41109.html','true',[],''],
		['PAGE','41118',jdecode('Workshop'),jdecode(''),'/41091/41118.html','true',[],''],
		['PAGE','42191',jdecode('Contact'),jdecode(''),'/41091/42191.html','true',[],''],
		['PAGE','42209',jdecode('Impressum'),jdecode(''),'/41091/42209.html','true',[],'']
	],''],
	['PAGE','97306',jdecode('G%C3%A4stebuch'),jdecode(''),'/97306/home.html','true',[ 
		['PAGE','97301',jdecode('Eintr%C3%A4ge'),jdecode(''),'/97306/97301.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Puzzle02';
theSitetree.paletteFamily='5E7ABF';
theSitetree.keyvisualId='10870';
theSitetree.keyvisualName='kv_10870.jpg';
theSitetree.fontsetId='31866';
theSitetree.graphicsetId='13664';
theSitetree.contentColor='DCE5FC';
theSitetree.contentBGColor='5E7ABF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Puzzle02',
				paletteFamily: 	'5E7ABF',
				keyvisualId: 	'10870',
				keyvisualName: 	'kv_10870.jpg',
				fontsetId: 		'31866',
				graphicsetId: 	'13664',
				contentColor: 	'DCE5FC',
				contentBGColor: '5E7ABF',
				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:  '40958',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20111124-143137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41032',
internalId:  '',
customField: '20111124-143547'
};
webappMappings['1008']=webappMappings['1008-27330380']={
webappId:    '1008',
documentId:  '41032',
internalId:  '27330380',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41041',
internalId:  '',
customField: '20111124-143618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40996',
internalId:  '',
customField: '20111124-143405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41091',
internalId:  '',
customField: '20111124-143709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41005',
internalId:  '',
customField: '20111124-143433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41014',
internalId:  '',
customField: '20111124-143511'
};
webappMappings['1002']=webappMappings['1002-97306atoix0i7uorw']={
webappId:    '1002',
documentId:  '97306',
internalId:  '97306atoix0i7uorw',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40978',
internalId:  '',
customField: '20111124-143312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40987',
internalId:  '',
customField: '20111124-143336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40969',
internalId:  '',
customField: '20111124-144034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41100',
internalId:  '',
customField: '20111124-143731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41023',
internalId:  '',
customField: '20111124-143642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41109',
internalId:  '',
customField: '20111124-143749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41118',
internalId:  '',
customField: '20111124-143811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42191',
internalId:  '',
customField: '20111124-143833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42209',
internalId:  '',
customField: '20111124-143857'
};
webappMappings['1002']=webappMappings['1002-97306atoix0i7uorw']={
webappId:    '1002',
documentId:  '97301',
internalId:  '97306atoix0i7uorw',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97306',
internalId:  '',
customField: '20100524-160639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97301',
internalId:  '',
customField: '20100524-160639'
};
webappMappings['1501']=webappMappings['1501-73033350']={
webappId:    '1501',
documentId:  '40958',
internalId:  '73033350',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108001',
internalId:  '',
customField: '20120125-110228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101301',
internalId:  '',
customField: '20111124-144704'
};
webappMappings['7060']=webappMappings['7060-1752f44ea1fe550b4f5931b087d5468a']={
webappId:    '7060',
documentId:  '108001',
internalId:  '1752f44ea1fe550b4f5931b087d5468a',
customField: 'language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7UORW';
var companyName   = 'Kunstmalerin+Linda-Ann+Patchett';
var htmlTitle	  = 'Atelier-Patchett';
var metaKeywords  = 'B%C3%BCsum%2CKunstmalerin+L.A.Patchett%2CKunst%2CMalerei%2CAuftragsmalerei%2CKunstmalerei%2CPortr%C3%A4tmalerei%2CTiermalerei%2CK%C3%BCnstlerin%2CGalerie%2CBilder%2CGem%C3%A4lde%2CImpressionisitische+Kunst%2CExpressionistische+Kunst%2CArt+work%2CPaintings.+Art+paintings%2C+Freelance+Artist.';
var metaContents  = 'Willkommen+bei+Kunstmalerei-Patchett%2CMale+in+Auftrag+nach+Foto+Vorlagen%2CFreischaffende+K%C3%BCnstlerin+des+Impressionistische+und+Expressionistische+Darstellung.Kunstmalerei-%C3%96l%2CAcryl%2CGouache%2C%C3%96lpastelle%2CSoftpastell%2CAquarell....Portr%C3%A4te%2CTierportr%C3%A4te%2CLandschaften%2CNatur%2CAbstrakt.und+vieles+mehr.........+Info+www.kunstmalerei-patchett.com+';
					                                                                    
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 */					                                                            

