/* [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','41320',jdecode('Produkte'),jdecode(''),'/41320/home.html','false',[ 
		['PAGE','42073',jdecode('Bestseller'),jdecode(''),'/41320/42073.html','true',[],''],
		['PAGE','41374',jdecode('Leckereien'),jdecode(''),'/41320/41374.html','true',[],''],
		['PAGE','41383',jdecode('Geschenkartikel'),jdecode(''),'/41320/41383.html','true',[],''],
		['PAGE','41347',jdecode('Zubeh%C3%B6r'),jdecode(''),'/41320/41347.html','true',[],'']
	],''],
	['PAGE','41356',jdecode('Dog-Sitting'),jdecode(''),'/41356.html','true',[],''],
	['PAGE','40818',jdecode('Unsere+Stars'),jdecode(''),'/40818.html','true',[],''],
	['PAGE','41281',jdecode('G%C3%A4stebuch'),jdecode(''),'/41281/home.html','true',[ 
		['PAGE','41280',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41281/41280.html','true',[],'']
	],''],
	['PAGE','41759',jdecode('Wir+unterwegs'),jdecode(''),'/41759.html','true',[],''],
	['PAGE','41598',jdecode('Tier+News'),jdecode(''),'/41598.html','true',[],''],
	['PAGE','41310',jdecode('Interessantes%2FPartner'),jdecode(''),'/41310.html','true',[],''],
	['PAGE','41708',jdecode('Wer+bin+Ich'),jdecode(''),'/41708.html','false',[],''],
	['PAGE','41392',jdecode('Kontakt'),jdecode(''),'/41392.html','true',[],''],
	['PAGE','41052',jdecode('Impressum+%2F+AGB%C2%B4s'),jdecode(''),'/41052.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='TOI_Tiere_1';
theSitetree.paletteFamily='D4E4F2';
theSitetree.keyvisualId='10648';
theSitetree.keyvisualName='kv_10648.jpg';
theSitetree.fontsetId='31769';
theSitetree.graphicsetId='13542';
theSitetree.contentColor='3C3C3C';
theSitetree.contentBGColor='D4E4F1';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Tiere_1',
				paletteFamily: 	'D4E4F2',
				keyvisualId: 	'10648',
				keyvisualName: 	'kv_10648.jpg',
				fontsetId: 		'31769',
				graphicsetId: 	'13542',
				contentColor: 	'3C3C3C',
				contentBGColor: 'D4E4F1',
				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',
				useFavicon:     'true'
			  };
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: '20120104-002605'
};
webappMappings['1501']=webappMappings['1501-69585090']={
webappId:    '1501',
documentId:  '39994',
internalId:  '69585090',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40818',
internalId:  '',
customField: '20120104-002011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41052',
internalId:  '',
customField: '20110523-155440'
};
webappMappings['1002']=webappMappings['1002-41281atoix0irx1iz']={
webappId:    '1002',
documentId:  '41281',
internalId:  '41281atoix0irx1iz',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41281atoix0irx1iz']={
webappId:    '1002',
documentId:  '41280',
internalId:  '41281atoix0irx1iz',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41281',
internalId:  '',
customField: '20110522-175754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41280',
internalId:  '',
customField: '20110522-175754'
};
webappMappings['1008']=webappMappings['1008-72905168']={
webappId:    '1008',
documentId:  '39994',
internalId:  '72905168',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41374',
internalId:  '',
customField: '20110523-173323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20120104-005248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41320',
internalId:  '',
customField: '20110522-190546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41392',
internalId:  '',
customField: '20110523-155318'
};
webappMappings['1008']=webappMappings['1008-72905168']={
webappId:    '1008',
documentId:  '41392',
internalId:  '72905168',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41347',
internalId:  '',
customField: '20110522-190546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41356',
internalId:  '',
customField: '20110606-124717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41383',
internalId:  '',
customField: '20110523-155026'
};
webappMappings['1008']=webappMappings['1008-72913022']={
webappId:    '1008',
documentId:  '41356',
internalId:  '72913022',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-60455']={
webappId:    '7091',
documentId:  '41598',
internalId:  '60455',
customField: 'align:right;language:de;country:DE;'
};
webappMappings['1011']=webappMappings['1011-ddp-tiere']={
webappId:    '1011',
documentId:  '41598',
internalId:  'ddp-tiere',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41708',
internalId:  '',
customField: '20110606-114944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41598',
internalId:  '',
customField: '20110831-170730'
};
webappMappings['1008']=webappMappings['1008-72905168']={
webappId:    '1008',
documentId:  '41708',
internalId:  '72905168',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41759',
internalId:  '',
customField: '20120104-011444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42073',
internalId:  '',
customField: '20110908-161243'
};
webappMappings['7091']=webappMappings['7091-64349']={
webappId:    '7091',
documentId:  '41759',
internalId:  '64349',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRX1IZ';
var companyName   = '';
var htmlTitle	  = 'Willkommen+bei+C+%26+S+Hundetr%C3%A4ume';
var metaKeywords  = 'www.CuS-Hundetraeume.de%2Cwww.CuS-Hundetr%C3%A4ume.de%2CCuS-Hundetraeume%2CCuS-Hundetr%C3%A4ume%2CKekse+Selbermachen%2CSelbstgemachte+Kekse%2CHundesnacks%2CHundekekse%2C+Hundekuchen%2C+Leckerlis%2C+Trainees%2CPl%C3%A4tzchen+Belohnungskekse%2C+gesunde+Kekse%2CHundeknabberein%2CBacken+f%C3%BCr+dem+Hund%2CHundefutterunvertr%C3%A4glichkeit%2CFutterunvertr%C3%A4glichkeit';
var metaContents  = 'CuS+Hundetr%C3%A4ume%2C+Himmliche+Leckerlis+in+liebevoller++Handarbeit+aus+H%C3%BCckelhoven';
					                                                                    
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 */					                                                            

