/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','16933',jdecode('Viva+-+Moden+Galerie'),jdecode(''),'/16933.html','true',[],''],
	['PAGE','15932',jdecode('Kollektionen'),jdecode(''),'/15932.html','true',[],''],
	['PAGE','16437',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/16437.html','false',[],''],
	['PAGE','14402',jdecode('Anfahrt'),jdecode(''),'/14402.html','true',[],''],
	['PAGE','15201',jdecode('Kontakt'),jdecode(''),'/15201/home.html','true',[ 
		['PAGE','15833',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/15201/15833.html','false',[],'']
	],''],
	['PAGE','23532',jdecode('Befreundete+Firmen'),jdecode(''),'/23532.html','false',[],''],
	['PAGE','15001',jdecode('Impressum'),jdecode(''),'/15001.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='465461';
theSitetree.keyvisualId='11045';
theSitetree.keyvisualName='kv_11045.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13772';
theSitetree.contentColor='F2F9FF';
theSitetree.contentBGColor='465461';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'465461',
				keyvisualId: 	'11045',
				keyvisualName: 	'kv_11045.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13772',
				contentColor: 	'F2F9FF',
				contentBGColor: '465461',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '14402',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-10671088']={
webappId:    '1501',
documentId:  '13801',
internalId:  '10671088',
customField: '1501'
};
webappMappings['1001']=webappMappings['1001-atoix0inetfm102e97dc8fb']={
webappId:    '1001',
documentId:  '15201',
internalId:  'atoix0inetfm102e97dc8fb',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inetfm102e97dc8fb']={
webappId:    '1001',
documentId:  '15833',
internalId:  'atoix0inetfm102e97dc8fb',
customField: 'followUp'
};
webappMappings['1007']=webappMappings['1007-10303ec7882']={
webappId:    '1007',
documentId:  '16933',
internalId:  '10303ec7882',
customField: 'g.10c1t5ace.6mnvir9g2hb.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20110122-124454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16933',
internalId:  '',
customField: '20101209-012107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15932',
internalId:  '',
customField: '20110323-094526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16437',
internalId:  '',
customField: '20060526-171205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14402',
internalId:  '',
customField: '20101209-012125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15201',
internalId:  '',
customField: '20110119-111840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15833',
internalId:  '',
customField: '20050328-160817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23532',
internalId:  '',
customField: '20060727-140059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15001',
internalId:  '',
customField: '20110308-211845'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INETFM';
var companyName   = 'VIVA+DESIGNERMODEN';
var htmlTitle	  = 'Viva+Damenmoden';
var metaKeywords  = 'Viva%2C+Moden%2C+Damenmode%2C+Damenmoden%2C+Vibeke+Schmidt%2C+Designermode%2C+Bonn%2C+exclusive+Mode%2C+Cambio%2C+Coccinelle%2C+Cinque%2C+Italy0039%2C+Heldmann%2C+Mode%2C+Moden+Bonn%2C+Proagonista%2C+Esisto%2C+Kleidung%2C+Taschen%2C+Schuhe%2C+H%C3%BCte%2C+Artigiano%2C+Shop%2C+Damenshop%2C+Shopmode';
var metaContents  = 'Viva+Moden+steht+seit+20+Jahren+f%C3%BCr+erfolgreiche+individuelle+Modeberatung+in+Bonn.+Wir+f%C3%BChren+Desigermode+von+Coccinelle%2C+Cambio%2C+Cinque%2C+Otto+Kern%2C+Rene+Lezard+u.v.a.';
					                                                                    
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 */					                                                            

