/* [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','40623',jdecode('Wer+bin+ich'),jdecode(''),'/40623.html','true',[],''],
	['PAGE','40632',jdecode('Wer+seid+ihr+%2F+Forum'),jdecode(''),'/40632.html','true',[],''],
	['PAGE','40603',jdecode('G%C3%A4stebuch'),jdecode(''),'/40603/home.html','true',[ 
		['PAGE','40602',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40603/40602.html','true',[],'']
	],''],
	['PAGE','40695',jdecode('Fotos'),jdecode(''),'/40695.html','true',[],''],
	['PAGE','40665',jdecode('Familien-Ticker'),jdecode(''),'/40665.html','true',[],''],
	['PAGE','40641',jdecode('Kleingedrucktes%2FKontakt'),jdecode(''),'/40641.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Saeule';
theSitetree.paletteFamily='FEFDFD';
theSitetree.keyvisualId='10851';
theSitetree.keyvisualName='kv_10851.jpg';
theSitetree.fontsetId='31861';
theSitetree.graphicsetId='13663';
theSitetree.contentColor='353434';
theSitetree.contentBGColor='FEFDFD';
var theTemplate={
				name: 			'Saeule',
				paletteFamily: 	'FEFDFD',
				keyvisualId: 	'10851',
				keyvisualName: 	'kv_10851.jpg',
				fontsetId: 		'31861',
				graphicsetId: 	'13663',
				contentColor: 	'353434',
				contentBGColor: 'FEFDFD',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
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: '20071226-222051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40603',
internalId:  '',
customField: '20071230-125315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40602',
internalId:  '',
customField: '20071230-123721'
};
webappMappings['1501']=webappMappings['1501-43334623']={
webappId:    '1501',
documentId:  '39994',
internalId:  '43334623',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-40603atoix0irc2to']={
webappId:    '1002',
documentId:  '40602',
internalId:  '40603atoix0irc2to',
customField: 'action=list'
};
webappMappings['1002']=webappMappings['1002-40603atoix0irc2to']={
webappId:    '1002',
documentId:  '40603',
internalId:  '40603atoix0irc2to',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40623',
internalId:  '',
customField: '20080103-120226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40632',
internalId:  '',
customField: '20080110-102441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40641',
internalId:  '',
customField: '20080110-102732'
};
webappMappings['1011']=webappMappings['1011-ddp-familie']={
webappId:    '1011',
documentId:  '40665',
internalId:  'ddp-familie',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40665',
internalId:  '',
customField: '20080104-144333'
};
webappMappings['1008']=webappMappings['1008-43773916']={
webappId:    '1008',
documentId:  '40641',
internalId:  '43773916',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-117c62ec5d5']={
webappId:    '1007',
documentId:  '40695',
internalId:  '117c62ec5d5',
customField: 'g.12v31qdhd.hdqa1dj798.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40695',
internalId:  '',
customField: '20080129-200257'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0IRC2TO';
var companyName   = 'Die+Seite+der+Verlierer';
var htmlTitle	  = 'LOSER+COOPERATION+....+Die+Seite+f%C3%BCr+Verlierer';
var metaKeywords  = 'verlierer%2C+verliererin%2C+kooperation%2C+coop%2C+helfen%2C+hilfe%2C+gemeinschaft%2C+zusammen%2C+looser%2C+nix+wert%2C+forum%2C+reden%2C+loserat%2C+losereichtum%2C+loserin%2C+loserkurs%2C+losern%2C+losers%2C+schule%2C+g%C3%A4stebuch%2C+probleme%2C+problem%2C+familie%2C+beruf%2C+vereine%2C+job%2C+arbeitslos%2C+sozialhilfe%2C+rente%2C+unterhalt%2C+scheidung%2C+tod%2C+sch%C3%BCler%2C+schicksal%2C+schicksalsschlag%2C+sch%C3%BClerin%2C+stadt%2C+gemeinde%2C+webhilfe%2C+online%2C+arbeitsamt%2C+sozialamt%2C';
var metaContents  = 'Wir+vermitteln%2C+n%C3%A4heres+sp%C3%A4ter.......+';
					                                                                    
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 */					                                                            

