/* [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('Pflaumenkopfsittich'),jdecode(''),'/40958.html','true',[],''],
	['PAGE','42726',jdecode('Ziegensittich'),jdecode(''),'/42726.html','true',[],''],
	['PAGE','42735',jdecode('Nymphensittich'),jdecode(''),'/42735.html','true',[],''],
	['PAGE','42744',jdecode('Wellensittich'),jdecode(''),'/42744.html','true',[],''],
	['PAGE','43240',jdecode('Das+Sittichzimmer'),jdecode(''),'/43240.html','true',[],''],
	['PAGE','42514',jdecode('Haltung+von+Exoten'),jdecode(''),'/42514.html','true',[],''],
	['PAGE','43249',jdecode('Das+Exotenzimmer'),jdecode(''),'/43249.html','true',[],''],
	['PAGE','41416',jdecode('Forum'),jdecode(''),'/41416.html','true',[],''],
	['PAGE','41453',jdecode('Fotogalerie'),jdecode(''),'/41453.html','true',[],''],
	['PAGE','42696',jdecode('Verein'),jdecode(''),'/42696.html','true',[],''],
	['PAGE','42705',jdecode('%C3%9Cber+mich'),jdecode(''),'/42705.html','true',[],''],
	['PAGE','41022',jdecode('G%C3%A4stebuch'),jdecode(''),'/41022/home.html','true',[ 
		['PAGE','41021',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41022/41021.html','true',[],'']
	],''],
	['PAGE','40985',jdecode('Impressum'),jdecode(''),'/40985.html','true',[],''],
	['PAGE','43286',jdecode('Blog'),jdecode(''),'/43286.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Roadsign';
theSitetree.paletteFamily='CFD5F7';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10741';
theSitetree.graphicsetId='10496';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Roadsign',
				paletteFamily: 	'CFD5F7',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10741',
				graphicsetId: 	'10496',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'666666',
				e_color: 		'999999',
				f_color: 		'663300',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40958',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-41022atoix0i7uehm']={
webappId:    '1002',
documentId:  '41022',
internalId:  '41022atoix0i7uehm',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41022atoix0i7uehm']={
webappId:    '1002',
documentId:  '41021',
internalId:  '41022atoix0i7uehm',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-28392599']={
webappId:    '1501',
documentId:  '40958',
internalId:  '28392599',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20070307-174208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42514',
internalId:  '',
customField: '20070223-080715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41022',
internalId:  '',
customField: '20070110-212737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41021',
internalId:  '',
customField: '20070110-212737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42726',
internalId:  '',
customField: '20070126-174320'
};
webappMappings['1007']=webappMappings['1007-11017bc53fd']={
webappId:    '1007',
documentId:  '41453',
internalId:  '11017bc53fd',
customField: 'g.120brmgei.25icduofsij.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42696',
internalId:  '',
customField: '20070119-213347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41416',
internalId:  '',
customField: '20070116-211928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42705',
internalId:  '',
customField: '20070122-113855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40985',
internalId:  '',
customField: '20070111-153044'
};
webappMappings['1003']=webappMappings['1003-atoix0i7uehm11010b8c46d']={
webappId:    '1003',
documentId:  '41416',
internalId:  'atoix0i7uehm11010b8c46d',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41453',
internalId:  '',
customField: '20070119-122501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42735',
internalId:  '',
customField: '20070206-083355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42744',
internalId:  '',
customField: '20070206-081902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43240',
internalId:  '',
customField: '20070214-083811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43249',
internalId:  '',
customField: '20070214-082118'
};
webappMappings['7050']=webappMappings['7050-1']={
webappId:    '7050',
documentId:  '43286',
internalId:  '1',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43286',
internalId:  '',
customField: '20070423-094656'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0I7UEHM';
var companyName   = 'Sittiche+und+Exoten';
var htmlTitle	  = 'Sittich-+und+Exotenzucht';
var metaKeywords  = 'Pflaumenkopfsittich+Ziegensittich+Wellensittich+Nymphensittich+Rotmaskenastrild+Ringelastrild+Schmetterlingsastrild+Gouldamadine+Kapuzenzeisig+Wei%C3%9Fbrustschilfffinken+Perlhalsamadine';
var metaContents  = 'Pflaumenkopfsittich+Ziegensittich+Wellensittich+Nymphensittich+Rotmaskenastrild+Ringelastrild+Schmetterlingsastrild+Gouldamadine+Kapuzenzeisig+Wei%C3%9Fbrustschilfffinken+Perlhalsamadine';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

