/* [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('Horovitz'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41431',jdecode('Kontakt'),jdecode(''),'/41431.html','true',[],'']];
var siteelementCount=2;
theSitetree.topTemplateName='Party17';
theSitetree.paletteFamily='FF0000';
theSitetree.keyvisualId='10220';
theSitetree.keyvisualName='kv_10220.jpg';
theSitetree.fontsetId='21138';
theSitetree.graphicsetId='13251';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FF0000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Party17',
				paletteFamily: 	'FF0000',
				keyvisualId: 	'10220',
				keyvisualName: 	'kv_10220.jpg',
				fontsetId: 		'21138',
				graphicsetId: 	'13251',
				contentColor: 	'000000',
				contentBGColor: 'FF0000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110313-033033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41431',
internalId:  '',
customField: '20110313-031430'
};
webappMappings['1008']=webappMappings['1008-30238789']={
webappId:    '1008',
documentId:  '41431',
internalId:  '30238789',
customField: 'de:DE:'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN37QF';
var companyName   = 'Horovitz+Malerei+und+Lackdesign';
var htmlTitle	  = 'Horovitz+Malerei+und+Lackdesign%2C+09773+1250%2C+D+97618+Unsleben+';
var metaKeywords  = 'Horovitz%2C+Horowitz%2C+Csaba%2C+Casaba%2C+Malerei%2C+Fest%C3%A9szet%2C+Painting%2C+Lackdesign%2C++Bilder%2C+Airbrush%2C++Wandmalerei%2C+Mural%2C+Fassade%2C+Lack%2C+Lakk%2C+Lacquer%2C+Falfest%C3%A9szet%2C+Fresko%2C+Secco%2C+Pigment%2C+Acryl%2C+Akril%2C+Bike%2C+Design%2C+Custom%2C+Paint%2C+Art%2C+M%C3%BCv%C3%A9szet%2C+Kunst%2C+Canvas%2C+Leinwand%2C+V%C3%A1szon%2C+Unsleben%2C+Bayern%2C+Bajor%2C+Magyar%2C+Ungarn%2C+Balaton%2C+Tapolca%2C+Veszpr%C3%A9m%2C+Budapest%2C+Paris%2C+Berlin%2C+Nacht%2C+%C3%89jszaka%2C+Paranoia%2C+Mythologie%2C+Mitologia%2C+Mythology%2C+Mystic%2C+Mystisch%2C+Sex%2C+Sexualit%C3%A1s%2C+Sexualit%C3%A4t%2C+Hetero%2C+Homo%2C+Bisexualit%C3%A4t%2C+PC%2C+Computer%2C+Sz%C3%A1m%C3%ADt%C3%B3g%C3%A9p%2C+AGD%2C+Waldeck%2C+Szarvas%2C+Sz%C3%A9kesfeh%C3%A9rv%C3%A1r%2C+W%C3%BCrzburg%2C+M%C3%BCnchen%2C+Google%2C+Joy%2C+%C3%96r%C3%B6m%2C+Yahoo%2C++Artisio%2C+Kuenstlersuche%2C+Leselupe%2C+Cooby%2C+2Seek%2C+Findelio%2C+Suchmaschine%2C+Origo%2C+Vista%2C+Vizsla%2C+Robot';
var metaContents  = 'Horovitz+Malerei+und+Lacquerdesign%2C+Erlebnis+f%C3%BCr+Ihre+Augen%2C+Anregung+f%C3%BCr+Ihren+Geist.+Horovitz+M%C3%BCv%C3%A9szet+%C3%A9s+Lakkdesign%2C+%C3%A9lm%C3%A9ny+az+%C3%96n+szemeinek%2C+felfriss%C3%BCl%C3%A9s+az+%C3%96n+szellem%C3%A9nek%21';
					                                                                    
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 */					                                                            

