/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','40511',jdecode('...+%C3%BCber+die+PeSch-B%C3%A4ren'),jdecode(''),'/40511.html','true',[],''],
	['PAGE','40520',jdecode('...+zur+B%C3%A4rengalerie'),jdecode(''),'/40520/home.html','true',[ 
		['PAGE','43446',jdecode('...+von+...+cm+bis+15+cm'),jdecode(''),'/40520/43446.html','true',[],''],
		['PAGE','40529',jdecode('...+von+16+cm+bis+25+cm+'),jdecode(''),'/40520/40529.html','true',[],''],
		['PAGE','43428',jdecode('...+von+26+cm+bis++...++cm'),jdecode(''),'/40520/43428.html','true',[],''],
		['PAGE','83201',jdecode('...+B%C3%A4rige+Freunde'),jdecode(''),'/40520/83201.html','true',[],''],
		['PAGE','43228',jdecode('...+Old+Style+%26+Nostalgie'),jdecode(''),'/40520/43228.html','true',[],''],
		['PAGE','54501',jdecode('...+Sternenkinder'),jdecode(''),'/40520/54501.html','true',[],''],
		['PAGE','43437',jdecode('...+Lauterbacher+B%C3%A4ren'),jdecode(''),'/40520/43437.html','false',[],''],
		['PAGE','44064',jdecode('...+Schnittmuster'),jdecode(''),'/40520/44064.html','true',[],''],
		['PAGE','40538',jdecode('...+adoptierte+B%C3%A4ren'),jdecode(''),'/40520/40538.html','true',[],'']
	],''],
	['PAGE','43237',jdecode('...+Ruhmeshalle'),jdecode(''),'/43237.html','true',[],''],
	['PAGE','75501',jdecode('...+freie+Schnittmuster+etc.'),jdecode(''),'/75501.html','true',[],''],
	['PAGE','42708',jdecode('...+G%C3%A4stebuch'),jdecode(''),'/42708/home.html','true',[ 
		['PAGE','42707',jdecode('...+b%C3%A4rige+Post'),jdecode(''),'/42708/42707.html','true',[],'']
	],''],
	['PAGE','42931',jdecode('...+b%C3%A4rige+Links'),jdecode(''),'/42931.html','true',[],''],
	['PAGE','49601',jdecode('...+b%C3%A4rige+Gifs'),jdecode(''),'/49601.html','true',[],''],
	['PAGE','40547',jdecode('...+Kontakt+und+Presseberichte'),jdecode(''),'/40547.html','true',[],''],
	['PAGE','40574',jdecode('...+Bestellinformationen'),jdecode(''),'/40574.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Tide';
theSitetree.paletteFamily='314EB6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='13623';
theSitetree.graphicsetId='12065';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Tide',
				paletteFamily: 	'314EB6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'13623',
				graphicsetId: 	'12065',
				contentColor: 	'FFFFFF',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-42708atoix0i71125']={
webappId:    '1002',
documentId:  '42708',
internalId:  '42708atoix0i71125',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42708atoix0i71125']={
webappId:    '1002',
documentId:  '42707',
internalId:  '42708atoix0i71125',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110516-085228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40511',
internalId:  '',
customField: '20060210-115741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40520',
internalId:  '',
customField: '20110516-085458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43446',
internalId:  '',
customField: '20110516-102554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40529',
internalId:  '',
customField: '20110516-095310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43428',
internalId:  '',
customField: '20110516-100807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43437',
internalId:  '',
customField: '20091207-092819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44064',
internalId:  '',
customField: '20080331-145329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40538',
internalId:  '',
customField: '20100122-103817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43228',
internalId:  '',
customField: '20110516-101941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43237',
internalId:  '',
customField: '20080607-111857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42708',
internalId:  '',
customField: '20060210-122446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42707',
internalId:  '',
customField: '20060201-173812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42931',
internalId:  '',
customField: '20100122-104155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40547',
internalId:  '',
customField: '20081219-094008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40574',
internalId:  '',
customField: '20060203-093630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49601',
internalId:  '',
customField: '20070713-095837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54501',
internalId:  '',
customField: '20110516-102016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83201',
internalId:  '',
customField: '20110516-102240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75501',
internalId:  '',
customField: '20080508-084106'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I71125';
var companyName   = 'Willkommen+in+der+Welt+der+PeSch-B%C3%A4ren';
var htmlTitle	  = 'PeSch-B%C3%A4ren';
var metaKeywords  = 'PeSch-B%C3%A4ren%2CTeddyb%C3%A4ren%2CK%C3%BCnstlerb%C3%A4ren%2CSammlerb%C3%A4ren%2CB%C3%A4ren+f%C3%BCr+Liebhaber%2CB%C3%A4ren%2CHandarbeit%2Cvon+Hand+gen%C3%A4ht%2CEinzelst%C3%BCcke%2C';
var metaContents  = 'Liebevoll+von+Hand+gen%C3%A4hte+K%C3%BCnstlerb%C3%A4ren+aus+hochwertigen+Materialien%2CEinzelst%C3%BCcke+und+kleine+Limitierungen';
					                                                                    
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 */					                                                            

