/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','1364',jdecode('Home'),jdecode(''),'/1364/index.html','true',[ 
		['PAGE','74636',jdecode('Home+%28Form+followup+page%29'),jdecode(''),'/1364/74636.html','false',[],''],
		['PAGE','38902',jdecode('Aktuell'),jdecode(''),'/1364/38902.html','true',[],''],
		['PAGE','49002',jdecode('meine+Hunde'),jdecode(''),'/1364/49002.html','true',[],'']
	],''],
	['PAGE','1421',jdecode('Ursprung'),jdecode(''),'/1421.html','true',[],''],
	['PAGE','1448',jdecode('Standard'),jdecode(''),'/1448.html','true',[],''],
	['PAGE','34679',jdecode('Twister+de+la+Pellousery'),jdecode(''),'/34679.html','true',[],''],
	['PAGE','60333',jdecode('Twister%26%23x27%3Bs+Agility+Seite'),jdecode(''),'/60333.html','true',[],''],
	['PAGE','9263',jdecode('Bilder+von+Twister+1'),jdecode(''),'/9263.html','true',[],''],
	['PAGE','35048',jdecode('Bilder+von+Twister+2'),jdecode(''),'/35048.html','true',[],''],
	['PAGE','51102',jdecode('Twister%26%23x27%3Bs+Geschwister'),jdecode(''),'/51102.html','true',[],''],
	['PAGE','5969',jdecode('Bilder+von+Filas'),jdecode(''),'/5969.html','true',[],''],
	['PAGE','52304',jdecode('in+Memorian'),jdecode(''),'/52304.html','true',[],''],
	['PAGE','1502',jdecode('Links+%C3%BCber+Filas'),jdecode(''),'/1502/index.html','true',[ 
		['PAGE','58001',jdecode('Links+diverse'),jdecode(''),'/1502/58001.html','true',[],'']
	],''],
	['PAGE','83231',jdecode('Z%C3%BCchterlisten+'),jdecode(''),'/83231.html','true',[],''],
	['PAGE','1894',jdecode('G%C3%A4stebuch'),jdecode(''),'/1894/index.html','true',[ 
		['PAGE','1895',jdecode('Eintr%C3%A4ge'),jdecode(''),'/1894/1895.html','true',[],'']
	],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Transluszent';
theSitetree.paletteFamily='CC9966';
theSitetree.keyvisualId='9239';
theSitetree.keyvisualName='kv1.swf';
theSitetree.fontsetId='17360';
theSitetree.graphicsetId='12756';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Transluszent',
				paletteFamily: 	'CC9966',
				keyvisualId: 	'9239',
				keyvisualName: 	'kv1.swf',
				fontsetId: 		'17360',
				graphicsetId: 	'12756',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1002']={
webappId:    '1002',
documentId:  '1894',
internalId:  '1894ABW0X0INX2R6',
customField: 'action=form&icq=false'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1364',
internalId:  '1006',
customField: '1006'
};
webappMappings['1009']={
webappId:    '1009',
documentId:  '74636',
internalId:  '5959789',
customField: 'isFollowupPage:true;documentId:1364;'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '1364',
internalId:  '10dd1f0743a.cd242392',
customField: 'de:CH:'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '1364',
internalId:  '1189248',
customField: '1501'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '1895',
internalId:  '1894ABW0X0INX2R6',
customField: 'action=list'
};
var canonHostname = 'support.hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INX2R6';
var companyName   = 'Azoren+Cattle+Dog++-++Cao+de+Fila+de+Sao+Miguel';
var htmlTitle	  = 'Azoren+Cattle+Dog';
var metaKeywords  = 'Hunderassen%2CRassehunde%2CCao+de+Fila+de+Sao+Miguel%2C+Fila+Sao+Miguel%2C+Fila+San+Miguel%2C+Azoren+Cattle+Dog%2C+Chien+de++Saint+Miguel%2C+Treibhunde%2C+Portugisische+Hunde%2C+Schaeferhunde%2C+Rare+Breeds%2C+Breeds%2C+Zuechter%2C+FCI-Gruppe1%2C+Rassestandard%2C+Hundezucht%2C+Seltene+Hunderassen%2C+Fila+Miguel%2C+Cao+Miguel%2C+Acores+cattle+Dog%2C+Azorenhund%2C+Kuhhund%2C+Weltjugendsieger+2003%2C+WHA+Dortmund%2C+Welthundeausstellung';
var metaContents  = 'Willkommen+auf+unserer+Website.+Umfangreiche+Informationen+zum+Cao+de+Fila+de+Sao+Miguel%2C+dem+Azoren+Cattle+Dog+finden+Sie+hier.';
					                                                                    
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 */					                                                            
