/* [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','40665',jdecode('News'),jdecode(''),'/40665/home.html','true',[ 
		['PAGE','249501',jdecode('Archiv'),jdecode(''),'/40665/249501.html','true',[],'']
	],''],
	['PAGE','40674',jdecode('Am+Anfang...'),jdecode(''),'/40674.html','true',[],''],
	['PAGE','40683',jdecode('Rund+um+den+Hund'),jdecode(''),'/40683.html','true',[],''],
	['PAGE','237001',jdecode('Rund+um+Tibet'),jdecode(''),'/237001.html','true',[],''],
	['PAGE','141901',jdecode('Unser+Pf%C3%B6tchenteam'),jdecode(''),'/141901/home.html','true',[ 
		['PAGE','344501',jdecode('Chaya'),jdecode(''),'/141901/344501.html','true',[],''],
		['PAGE','260101',jdecode('Merlin+'),jdecode(''),'/141901/260101.html','true',[],''],
		['PAGE','140422',jdecode('Nam-Chyi'),jdecode(''),'/141901/140422.html','true',[],''],
		['PAGE','41001',jdecode('Njilam'),jdecode(''),'/141901/41001.html','true',[],''],
		['PAGE','40992',jdecode('Pelana'),jdecode(''),'/141901/40992.html','true',[],'']
	],''],
	['PAGE','43136',jdecode('Aktueller+Wurf'),jdecode(''),'/43136.html','true',[],''],
	['PAGE','249522',jdecode('unsere+puppy+-+suite+'),jdecode(''),'/249522/home.html','true',[ 
		['PAGE','294401',jdecode('Alle+W%C3%BCrfe'),jdecode(''),'/249522/294401.html','true',[],''],
		['PAGE','443101',jdecode('Merlinbabys'),jdecode(''),'/249522/443101.html','true',[],''],
		['PAGE','468901',jdecode('Welpenbilder'),jdecode(''),'/249522/468901.html','false',[],'']
	],''],
	['PAGE','43124',jdecode('Schnappsch%C3%BCsse'),jdecode(''),'/43124.html','true',[],''],
	['PAGE','40728',jdecode('Link+-+Fundgrube'),jdecode(''),'/40728.html','true',[],''],
	['PAGE','40719',jdecode('Kontakt'),jdecode(''),'/40719.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Livinginamerica';
theSitetree.paletteFamily='6971B1';
theSitetree.keyvisualId='6306';
theSitetree.keyvisualName='kv_6306.jpg';
theSitetree.fontsetId='11152';
theSitetree.graphicsetId='12905';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D6DAF6';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Livinginamerica',
				paletteFamily: 	'6971B1',
				keyvisualId: 	'6306',
				keyvisualName: 	'kv_6306.jpg',
				fontsetId: 		'11152',
				graphicsetId: 	'12905',
				contentColor: 	'000000',
				contentBGColor: 'D6DAF6',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10a9f67827c']={
webappId:    '1007',
documentId:  '43124',
internalId:  '10a9f67827c',
customField: 'g.11afmmohq.964gbonsdk.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '260101',
internalId:  '',
customField: '20100804-225227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120120-205534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40728',
internalId:  '',
customField: '20110728-000147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40665',
internalId:  '',
customField: '20120120-205554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40674',
internalId:  '',
customField: '20110203-222825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40683',
internalId:  '',
customField: '20070702-212945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141901',
internalId:  '',
customField: '20110323-175955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40992',
internalId:  '',
customField: '20100305-230347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41001',
internalId:  '',
customField: '20100402-215921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '237001',
internalId:  '',
customField: '20110328-224107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140422',
internalId:  '',
customField: '20100602-232434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '294401',
internalId:  '',
customField: '20111008-220403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43136',
internalId:  '',
customField: '20110911-181639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249522',
internalId:  '',
customField: '20110928-155325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43124',
internalId:  '',
customField: '20070901-215709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40719',
internalId:  '',
customField: '20110306-161233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '249501',
internalId:  '',
customField: '20120120-215559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '443101',
internalId:  '',
customField: '20110928-170552'
};
webappMappings['1008']=webappMappings['1008-38824894']={
webappId:    '1008',
documentId:  '40719',
internalId:  '38824894',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '344501',
internalId:  '',
customField: '20110328-225053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '468901',
internalId:  '',
customField: '20110928-151005'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7AN01';
var companyName   = 'TIBET+TERRIER+%22vom+verlorenen+Tal%22';
var htmlTitle	  = 'TIBET+TERRIER+vom+verlorenen+Tal';
var metaKeywords  = 'Tibet+Terrier%2CVDH%2FKTR-Zucht%2CM%C3%B6hnesee%2CSoest%2CNRW%2C+Tibet+Terrier+Deckr%C3%BCde%2CTibet+Terrier+Zuchth%C3%BCndinen%2CTibet+Terrier+Welpen%2CInfo+rund+um+den+Hund%2CInfo+rund+um+Tibet%2CPf%C3%B6tchenteam';
var metaContents  = 'Tibet+Terrier%2C+Gl%C3%BCcksbringer+vom+verlorenen+Tal.+Die+einzigartige%2C+tibetische+Hunderasse%2C+die+zwar+Terrier+hei%C3%9Ft%2C+aber+gar+keiner+ist.+Diese+wundervollen+Hunde+sollen+euch+begleiten+und+auf+vier+kleinen+Pfoten+in+eine+Welt+f%C3%BChren%2C+die+ihr+schon+fast+vergessen+habt.+';
					                                                                    
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 */					                                                            

