/* [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('Willkommen+%2F+Welcome'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41479',jdecode('R%C3%BCden+%2F+Males'),jdecode(''),'/41479.html','true',[],''],
	['PAGE','41488',jdecode('H%C3%BCndinnen+%2F+Females'),jdecode(''),'/41488.html','true',[],''],
	['PAGE','45101',jdecode('Welpen+2010+%2F+Puppies+2010'),jdecode(''),'/45101.html','true',[],''],
	['PAGE','93701',jdecode('Welpen+2009+%2F+Puppies+2009'),jdecode(''),'/93701.html','true',[],''],
	['PAGE','41497',jdecode('+Welpen+%2F+Previous+Litters'),jdecode(''),'/41497.html','true',[],''],
	['PAGE','41461',jdecode('Show+Results+%2F+Events'),jdecode(''),'/41461.html','true',[],''],
	['PAGE','42807',jdecode('G%C3%A4stebuch+%2F+Guestbook'),jdecode(''),'/42807/home.html','true',[ 
		['PAGE','42806',jdecode('Eintr%C3%A4ge+'),jdecode(''),'/42807/42806.html','true',[],'']
	],''],
	['PAGE','41524',jdecode('Links+und+Impressum'),jdecode(''),'/41524.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='A99797';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='103';
theSitetree.graphicsetId='124';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='A99797';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Inspiration',
				paletteFamily: 	'A99797',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'103',
				graphicsetId: 	'124',
				contentColor: 	'FFFFFF',
				contentBGColor: 'A99797',
				a_color: 		'A99797',
				b_color: 		'C5BAB6',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-19305912']={
webappId:    '1501',
documentId:  '44',
internalId:  '19305912',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100308-165709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41461',
internalId:  '',
customField: '20100120-225424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41488',
internalId:  '',
customField: '20090415-212721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45101',
internalId:  '',
customField: '20100307-171611'
};
webappMappings['1002']=webappMappings['1002-42807atoix0i77pxv']={
webappId:    '1002',
documentId:  '42807',
internalId:  '42807atoix0i77pxv',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41479',
internalId:  '',
customField: '20100107-124927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41497',
internalId:  '',
customField: '20100217-145719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93701',
internalId:  '',
customField: '20090830-181043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41524',
internalId:  '',
customField: '20100307-175642'
};
webappMappings['1002']=webappMappings['1002-42807atoix0i77pxv']={
webappId:    '1002',
documentId:  '42806',
internalId:  '42807atoix0i77pxv',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42807',
internalId:  '',
customField: '20070423-221836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42806',
internalId:  '',
customField: '20070423-221836'
};
var canonHostname = 'cfawrk06.aul.t-online.de';
var accountId     = 'ATOIX0I77PXV';
var companyName   = 'dalla+Valle+del+Reno';
var htmlTitle	  = 'Spinone+Italiano+von+dalla+Valle+del+Reno';
var metaKeywords  = 'Spinone+Italiano%3B+Italienischer+Vorstehjagdhund%3B+FCI-Gruppe+7%3B+dalla+Valle+del+Reno%2C+Bilder+von+unseren+Hunden+und+der+Welpenaufzucht';
var metaContents  = 'Dies+ist+die+Hompage+von+Ilka+Kreft+und+Dr.+Rainer+Hofmann.+Wir+stellen+unseren+Spinone+Italiano+Zwinger+dalla+Valle+del+Reno+und+unsere+Hunde+Sara%2C+Filia%2C+Fabricio%2C+Donna+und+Gina+sowie+die+Welpen+vor.+Viele+Bilder+zeigen+unsere+Hunde+und+die+Aufzucht+der+Welpen+in+unserer+Familie.';
					                                                                    
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 */					                                                            
