/* [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('Home'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41385',jdecode('PhotoART+'),jdecode(''),'/41385.html','true',[],''],
	['PAGE','41484',jdecode('PaintART'),jdecode(''),'/41484.html','true',[],''],
	['PAGE','41518',jdecode('WordART'),jdecode(''),'/41518.html','true',[],''],
	['PAGE','41730',jdecode('Markenservice'),jdecode(''),'/41730.html','true',[],''],
	['PAGE','42012',jdecode('KulturNEWS'),jdecode(''),'/42012.html','true',[],''],
	['PAGE','41310',jdecode('Contact'),jdecode(''),'/41310/home.html','true',[ 
		['PAGE','41532',jdecode('Contact+%28follow+up+page%29'),jdecode(''),'/41310/41532.html','false',[],'']
	],''],
	['PAGE','41499',jdecode('Impressum'),jdecode(''),'/41499.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Startup';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='1397';
theSitetree.keyvisualName='strasse_nacht.jpg';
theSitetree.fontsetId='233';
theSitetree.graphicsetId='294';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Startup',
				paletteFamily: 	'000000',
				keyvisualId: 	'1397',
				keyvisualName: 	'strasse_nacht.jpg',
				fontsetId: 		'233',
				graphicsetId: 	'294',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'FF0000',
				e_color: 		'FF0000',
				f_color: 		'FF0000',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10b2d1c6b6a']={
webappId:    '1007',
documentId:  '41385',
internalId:  '10b2d1c6b6a',
customField: 'g.11cmfe6in.3qtk00c6jp.3o'
};
webappMappings['1007']=webappMappings['1007-10b47e5edea']={
webappId:    '1007',
documentId:  '41484',
internalId:  '10b47e5edea',
customField: 'g.11d3rnhgo.2i2aalufdrt.3o'
};
webappMappings['1007']=webappMappings['1007-10bd7c8dc67']={
webappId:    '1007',
documentId:  '41518',
internalId:  '10bd7c8dc67',
customField: 'g.11fbs8au6.5ljn7vbh35v.3o'
};
webappMappings['1001']=webappMappings['1001-atoix0i74dsp10bd8b46dd7']={
webappId:    '1001',
documentId:  '41310',
internalId:  'atoix0i74dsp10bd8b46dd7',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0i74dsp10bd8b46dd7']={
webappId:    '1001',
documentId:  '41532',
internalId:  'atoix0i74dsp10bd8b46dd7',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-22708513']={
webappId:    '1501',
documentId:  '44',
internalId:  '22708513',
customField: '1501'
};
webappMappings['1011']=webappMappings['1011-ddp-kultur']={
webappId:    '1011',
documentId:  '42012',
internalId:  'ddp-kultur',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20071226-154941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41730',
internalId:  '',
customField: '20061202-122451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41385',
internalId:  '',
customField: '20060905-130806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41484',
internalId:  '',
customField: '20060905-130924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41518',
internalId:  '',
customField: '20060905-130953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42012',
internalId:  '',
customField: '20061019-181339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20060804-122125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41532',
internalId:  '',
customField: '20060615-191931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41499',
internalId:  '',
customField: '20060616-193446'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0I74DSP';
var companyName   = 'An+Eye+for+our+World';
var htmlTitle	  = 'Artfriends+Markenservice';
var metaKeywords  = 'Markenberatung%2C+Markendesign%2C+Markengestaltung%2C+Markenentwicklung%2C+Markenstrategie%2C+Markenservice%2C+Marken-Service%2C+Marke%2C+Marken%2C+Markenf%C3%BChrung%2C+Strategy+Consultant%2C+Art%2C+Kunst%2C+Kunst-Stiftung%2C+zeitgen%C3%B6ssische+Kunst%2C+Gegenwartskunst%2C+Corporate+Design%2C+Strategic+Design%2C+Collectors+Museum%2C+Sammler-Museum.';
var metaContents  = 'Website+f%C3%BCr+Kunstsammler+und+Entscheider+von+Strategic+Design.+Markenberatung+und+Markengestaltung.+Verbale+und+visuelle+Positionierung.+Collectors+Museum.';
					                                                                    
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 */					                                                            
