/* [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','42937',jdecode('Home'),jdecode(''),'/42937.html','true',[],''],
	['PAGE','42928',jdecode('Konzeption'),jdecode(''),'/42928.html','true',[],''],
	['PAGE','47196',jdecode('Satz+und+Layout'),jdecode(''),'/47196.html','true',[],''],
	['PAGE','43983',jdecode('Print'),jdecode(''),'/43983/home.html','true',[ 
		['PAGE','48701',jdecode('Visitenkarten'),jdecode(''),'/43983/48701.html','true',[],''],
		['PAGE','48722',jdecode('Gesch%C3%A4ftspapiere'),jdecode(''),'/43983/48722.html','true',[],''],
		['PAGE','48743',jdecode('Flyer+%7C+Brosch%C3%BCren'),jdecode(''),'/43983/48743.html','true',[],''],
		['PAGE','48764',jdecode('Karten'),jdecode(''),'/43983/48764.html','true',[],''],
		['PAGE','48785',jdecode('Plakate+%7C+Poster'),jdecode(''),'/43983/48785.html','true',[],'']
	],''],
	['PAGE','44019',jdecode('Fotografie'),jdecode(''),'/44019.html','true',[],''],
	['PAGE','47205',jdecode('UHU+-+Fensterreiter'),jdecode(''),'/47205.html','true',[],''],
	['PAGE','49701',jdecode('Werbetr%C3%A4ger'),jdecode(''),'/49701.html','true',[],''],
	['PAGE','49722',jdecode('Informationsservice'),jdecode(''),'/49722.html','true',[],''],
	['PAGE','45235',jdecode('Referenzen'),jdecode(''),'/45235.html','true',[],''],
	['PAGE','96301',jdecode('Produktgalerie'),jdecode(''),'/96301.html','true',[],''],
	['PAGE','77501',jdecode('Preislisten'),jdecode(''),'/77501.html','true',[],''],
	['PAGE','44028',jdecode('Kontakt'),jdecode(''),'/44028.html','true',[],''],
	['PAGE','79001',jdecode('Anfahrt'),jdecode(''),'/79001.html','true',[],''],
	['PAGE','44073',jdecode('Impressum'),jdecode(''),'/44073.html','true',[],''],
	['PAGE','101501',jdecode('News+aus+aller+Welt'),jdecode(''),'/101501.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Dispose';
theSitetree.paletteFamily='E99C2E';
theSitetree.keyvisualId='9693';
theSitetree.keyvisualName='kv_9693.gif';
theSitetree.fontsetId='10658';
theSitetree.graphicsetId='11182';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCACA';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dispose',
				paletteFamily: 	'E99C2E',
				keyvisualId: 	'9693',
				keyvisualName: 	'kv_9693.gif',
				fontsetId: 		'10658',
				graphicsetId: 	'11182',
				contentColor: 	'000000',
				contentBGColor: 'CCCACA',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96301',
internalId:  '',
customField: '20100203-153816'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '42937',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42937',
internalId:  '',
customField: '20100613-010513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42928',
internalId:  '',
customField: '20100203-114833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47196',
internalId:  '',
customField: '20100203-115149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43983',
internalId:  '',
customField: '20100203-161813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44019',
internalId:  '',
customField: '20100613-002249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47205',
internalId:  '',
customField: '20100203-103845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49701',
internalId:  '',
customField: '20100203-163818'
};
webappMappings['1007']=webappMappings['1007-1269421a3db']={
webappId:    '1007',
documentId:  '96301',
internalId:  '1269421a3db',
customField: 'g.14qa1v4sb.66c6clg1fn.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45235',
internalId:  '',
customField: '20100203-162824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44028',
internalId:  '',
customField: '20100203-164250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44073',
internalId:  '',
customField: '20100203-163324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101501',
internalId:  '',
customField: '20100205-164751'
};
webappMappings['1501']=webappMappings['1501-31600929']={
webappId:    '1501',
documentId:  '42937',
internalId:  '31600929',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48701',
internalId:  '',
customField: '20100203-112455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48722',
internalId:  '',
customField: '20100203-113530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48743',
internalId:  '',
customField: '20100203-134949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48764',
internalId:  '',
customField: '20100203-162316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48785',
internalId:  '',
customField: '20100203-162356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49722',
internalId:  '',
customField: '20100203-162658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79001',
internalId:  '',
customField: '20100203-163233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77501',
internalId:  '',
customField: '20090520-131020'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '79001',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1011']=webappMappings['1011-ddp-vermischtes']={
webappId:    '1011',
documentId:  '101501',
internalId:  'ddp-vermischtes',
customField: 'language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7OLNA';
var companyName   = 'WERBE-+UND+INFORMATIONSSERVICE+++++++++++++++';
var htmlTitle	  = 'Werbe-+und+Informationsservice+Agentur+ROWIS';
var metaKeywords  = 'Agentur+ROWIS%2C+Werbe-+und+Informationsservice%2C+Roland+Hebestreit%2C+Werbung%2C+Satz%2C+Layout%2C+Print%2C+Halle%2C+Visitenkarten%2C+Digitalfotografie%2C+Werbeartikel%2C+Werbetr%C3%A4ger%2C+Geschenkartikel%2C+Logo%2C+Poster%2C+Postkarten%2C+Kalender%2C+Gesch%C3%A4ftspapiere%2C+Konzeption';
var metaContents  = 'Agentur+ROWIS%2C+Werbe-+und+Informationsservice%2C+Roland+Hebestreit%2C+Werbung%2C+Satz%2C+Layout%2C+Print%2C+Halle%2C+Visitenkarten%2C+Digitalfotografie%2C+Werbeartikel%2C+Werbetr%C3%A4ger%2C+Geschenkartikel%2C+Logo%2C+Poster%2C+Postkarten%2C+Kalender%2C+Gesch%C3%A4ftspapiere%2C+Konzeption';
					                                                                    
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 */					                                                            
