/* [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','39994',jdecode('a%C2%B4Corpus+Ornamenti'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40847',jdecode('PREISE+%2F+Preislisten'),jdecode(''),'/40847.html','true',[],''],
	['PAGE','59001',jdecode('FACEBOOK+%22Gef%C3%A4llt+mir%22'),jdecode(''),'/59001.html','true',[],''],
	['PAGE','56701',jdecode('%C3%96ffnungszeiten+%26+Kontakt'),jdecode(''),'/56701.html','true',[],''],
	['PAGE','83501',jdecode('Urlaub%21'),jdecode(''),'/83501.html','true',[],''],
	['PAGE','55201',jdecode('INTIM+Galerie'),jdecode(''),'/55201.html','true',[],''],
	['PAGE','41104',jdecode('PIERCING+Galerie'),jdecode(''),'/41104.html','true',[],''],
	['PAGE','41404',jdecode('Info%C2%B4s+zu+Microdermals'),jdecode(''),'/41404.html','true',[],''],
	['PAGE','41543',jdecode('Info%C2%B4s+zur+Dehnung'),jdecode(''),'/41543.html','true',[],''],
	['PAGE','41413',jdecode('Hygiene+im+Studio'),jdecode(''),'/41413.html','true',[],''],
	['PAGE','42401',jdecode('G%C3%84STEBUCH'),jdecode(''),'/42401/home.html','true',[ 
		['PAGE','42400',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42401/42400.html','true',[],'']
	],''],
	['PAGE','42388',jdecode('Wo+ist+das+Studio%3F'),jdecode(''),'/42388.html','true',[],''],
	['PAGE','42419',jdecode('Der+Weg+zum+Studio'),jdecode(''),'/42419.html','true',[],''],
	['PAGE','41177',jdecode('Impressum+%26+Links'),jdecode(''),'/41177.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='TOI_Dinner_1';
theSitetree.paletteFamily='8E060B';
theSitetree.keyvisualId='10568';
theSitetree.keyvisualName='kv_10568.jpg';
theSitetree.fontsetId='31736';
theSitetree.graphicsetId='13503';
theSitetree.contentColor='F7DDDF';
theSitetree.contentBGColor='8E060B';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Dinner_1',
				paletteFamily: 	'8E060B',
				keyvisualId: 	'10568',
				keyvisualName: 	'kv_10568.jpg',
				fontsetId: 		'31736',
				graphicsetId: 	'13503',
				contentColor: 	'F7DDDF',
				contentBGColor: '8E060B',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120130-133459'
};
webappMappings['1008']=webappMappings['1008-56361019']={
webappId:    '1008',
documentId:  '56701',
internalId:  '56361019',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40847',
internalId:  '',
customField: '20111213-152017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56701',
internalId:  '',
customField: '20101230-151218'
};
webappMappings['7060']=webappMappings['7060-773331f7b52b4b53863472ce0e28b7f1']={
webappId:    '7060',
documentId:  '41104',
internalId:  '773331f7b52b4b53863472ce0e28b7f1',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41104',
internalId:  '',
customField: '20090217-190542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41177',
internalId:  '',
customField: '20110314-172121'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42388',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41543',
internalId:  '',
customField: '20110309-124711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41413',
internalId:  '',
customField: '20110711-154537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41404',
internalId:  '',
customField: '20110711-155446'
};
webappMappings['1002']=webappMappings['1002-42401atoix0irndvr']={
webappId:    '1002',
documentId:  '42401',
internalId:  '42401atoix0irndvr',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42401atoix0irndvr']={
webappId:    '1002',
documentId:  '42400',
internalId:  '42401atoix0irndvr',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42388',
internalId:  '',
customField: '20091205-105640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42401',
internalId:  '',
customField: '20091205-105929'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '42419',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42419',
internalId:  '',
customField: '20091205-111547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42400',
internalId:  '',
customField: '20091205-105929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59001',
internalId:  '',
customField: '20110314-171821'
};
webappMappings['1007']=webappMappings['1007-12868651871']={
webappId:    '1007',
documentId:  '55201',
internalId:  '12868651871',
customField: 'g.151k5b9sg.3uhnn8rdp1.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55201',
internalId:  '',
customField: '20100505-151759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83501',
internalId:  '',
customField: '20120112-132853'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRNDVR';
var companyName   = 'PIERCING+in+Vilshofen';
var htmlTitle	  = 'Corpus+Ornamenti+PIERCING';
var metaKeywords  = 'Corpus+Ornamenti+Piercing+Vilshofen+Piercingstudio+Vilshofen+Dermal+Anchors+Skin+diver+Skindiver+Piercing+Vilshofen+CorpusOrnamenti+Implantate+Schmuck+Passau+Intimschmuck+Intimpiercing+Hautanker+Implantat+Dehnung+Ohrschmuck+Ohrdehnung+Tunnel+Kontaktlinsen+farbige+Kontaktlinsen';
var metaContents  = 'Corpus+Ornamenti+PIERCING++-Piercingstudio+mit+Verkauf+von+hochwertigem+Titanschmuck+sowie+professioneller+Einsatz+von+Implantaten+%28Dermal+anchor%2C+Skin+diver%29+';
					                                                                    
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 */					                                                            

