/* [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','40213',jdecode('Startseite'),jdecode(''),'/40213.html','true',[],''],
	['PAGE','40224',jdecode('%C3%9Cber+faunagraphics'),jdecode(''),'/40224.html','true',[],''],
	['PAGE','40332',jdecode('Bildergalerie'),jdecode(''),'/40332/home.html','true',[ 
		['PAGE','40660',jdecode('-+Acryl+%2F+Tiere'),jdecode(''),'/40332/40660.html','true',[],''],
		['PAGE','56038',jdecode('-+Acryl+%2F+Menschen'),jdecode(''),'/40332/56038.html','true',[],''],
		['PAGE','40669',jdecode('-+Wasserfarben'),jdecode(''),'/40332/40669.html','true',[],''],
		['PAGE','40678',jdecode('-+Bleistift'),jdecode(''),'/40332/40678.html','true',[],''],
		['PAGE','41534',jdecode('-+Skizzen%2F+Vorlagen'),jdecode(''),'/40332/41534.html','true',[],'']
	],''],
	['PAGE','40651',jdecode('Preise%2F+Verkauf'),jdecode(''),'/40651/home.html','true',[ 
		['PAGE','41780',jdecode('Aktuelle+Gem%C3%A4lde'),jdecode(''),'/40651/41780.html','true',[],''],
		['PAGE','41071',jdecode('Preisliste+Gem%C3%A4lde'),jdecode(''),'/40651/41071.html','true',[],''],
		['PAGE','43938',jdecode('Preisliste+Kunstdrucke'),jdecode(''),'/40651/43938.html','true',[],'']
	],''],
	['PAGE','41248',jdecode('Fotos'),jdecode(''),'/41248.html','true',[],''],
	['PAGE','40242',jdecode('Kontakt%2F+Impressum'),jdecode(''),'/40242.html','true',[],''],
	['PAGE','40824',jdecode('G%C3%A4stebuch'),jdecode(''),'/40824/home.html','true',[ 
		['PAGE','40823',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40824/40823.html','true',[],'']
	],''],
	['PAGE','41080',jdecode('Links'),jdecode(''),'/41080.html','true',[],''],
	['PAGE','41254',jdecode('Anfahrt'),jdecode(''),'/41254.html','true',[],''],
	['PAGE','41456',jdecode('Tiernews'),jdecode(''),'/41456.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Spiegelwand';
theSitetree.paletteFamily='4E151E';
theSitetree.keyvisualId='10910';
theSitetree.keyvisualName='kv_10910.jpg';
theSitetree.fontsetId='31888';
theSitetree.graphicsetId='13695';
theSitetree.contentColor='FCE9DC';
theSitetree.contentBGColor='4E151E';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Spiegelwand',
				paletteFamily: 	'4E151E',
				keyvisualId: 	'10910',
				keyvisualName: 	'kv_10910.jpg',
				fontsetId: 		'31888',
				graphicsetId: 	'13695',
				contentColor: 	'FCE9DC',
				contentBGColor: '4E151E',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40213',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40213',
internalId:  '',
customField: '20101229-105134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40224',
internalId:  '',
customField: '20081116-011622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40332',
internalId:  '',
customField: '20091130-203350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40242',
internalId:  '',
customField: '20100820-093235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40660',
internalId:  '',
customField: '20101107-021946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40669',
internalId:  '',
customField: '20090615-021656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40678',
internalId:  '',
customField: '20090615-021727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40651',
internalId:  '',
customField: '20100202-191154'
};
webappMappings['1002']=webappMappings['1002-40824atoix0i72vgk']={
webappId:    '1002',
documentId:  '40824',
internalId:  '40824atoix0i72vgk',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40824atoix0i72vgk']={
webappId:    '1002',
documentId:  '40823',
internalId:  '40824atoix0i72vgk',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40824',
internalId:  '',
customField: '20071114-103835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40823',
internalId:  '',
customField: '20071225-190047'
};
webappMappings['1008']=webappMappings['1008-43036490']={
webappId:    '1008',
documentId:  '40242',
internalId:  '43036490',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41080',
internalId:  '',
customField: '20101228-095858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41071',
internalId:  '',
customField: '20101224-150711'
};
webappMappings['7060']=webappMappings['7060-cc3cd5f8fae83e96f22667e17f26be9a']={
webappId:    '7060',
documentId:  '41248',
internalId:  'cc3cd5f8fae83e96f22667e17f26be9a',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41248',
internalId:  '',
customField: '20080321-180940'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41254',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41254',
internalId:  '',
customField: '20080321-191150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41456',
internalId:  '',
customField: '20080920-164658'
};
webappMappings['1011']=webappMappings['1011-ddp-tiere']={
webappId:    '1011',
documentId:  '41456',
internalId:  'ddp-tiere',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41534',
internalId:  '',
customField: '20090214-054801'
};
webappMappings['1501']=webappMappings['1501-54307854']={
webappId:    '1501',
documentId:  '40213',
internalId:  '54307854',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41780',
internalId:  '',
customField: '20100419-182051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43938',
internalId:  '',
customField: '20101224-151303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56038',
internalId:  '',
customField: '20100117-003323'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I72VGK';
var companyName   = 'www.faunagraphics.de';
var htmlTitle	  = 'faunagraphics+Bilder+und+Portraits+aller+Art';
var metaKeywords  = 'tierportraits+Bj%C3%B6rn+Bu%C3%9F+faunagraphics+Portraits+H%C3%BChnerportraits+Bilder+kaufen+H%C3%BChner+Tier+Mensch+Malerei+Bildergalerie+Shop+Hobbymaler+fauna+graphics+Tierportraits+H%C3%BChnerportraits+Menschenportraits+Fauna+Gem%C3%A4lde+Haustiergem%C3%A4lde+Haustierportraits+Faunagrafiks+faunagrafiks+';
var metaContents  = 'Ich+besch%C3%A4ftige+mich+seit+meiner+fr%C3%BChsten+Jugend+mit+Tieren+und+der+Malerei.+Falls+sie+ein+Portrait+von+sich%2F+einem+Freund+oder+ihrem+Tier+m%C3%B6chten%2C+sind+sie+hier+genau+richtig%21';
					                                                                    
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 */					                                                            

