/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','45290',jdecode('Tattoo+Projekt+Bilder'),jdecode(''),'/45290.html','true',[],''],
	['PAGE','42428',jdecode('M.Melon+Galerie+1'),jdecode(''),'/42428.html','true',[],''],
	['PAGE','44983',jdecode('M.Melon+Galerie+2'),jdecode(''),'/44983.html','true',[],''],
	['PAGE','45103',jdecode('Multimedia+Galerie1'),jdecode(''),'/45103.html','true',[],''],
	['PAGE','45121',jdecode('Multimedia+Galerie+2'),jdecode(''),'/45121.html','true',[],''],
	['PAGE','42901',jdecode('Tattoo+entfernung'),jdecode(''),'/42901.html','true',[],''],
	['PAGE','42389',jdecode('links'),jdecode(''),'/42389.html','true',[],''],
	['PAGE','42398',jdecode('Anfahrt'),jdecode(''),'/42398.html','true',[],''],
	['PAGE','42341',jdecode('Kontakt'),jdecode(''),'/42341.html','true',[],''],
	['PAGE','42350',jdecode('Impressum'),jdecode(''),'/42350.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Spiegelwand';
theSitetree.paletteFamily='29282B';
theSitetree.keyvisualId='10907';
theSitetree.keyvisualName='kv_10907.jpg';
theSitetree.fontsetId='31889';
theSitetree.graphicsetId='13697';
theSitetree.contentColor='F0F0F0';
theSitetree.contentBGColor='29282B';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Spiegelwand',
				paletteFamily: 	'29282B',
				keyvisualId: 	'10907',
				keyvisualName: 	'kv_10907.jpg',
				fontsetId: 		'31889',
				graphicsetId: 	'13697',
				contentColor: 	'F0F0F0',
				contentBGColor: '29282B',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100818-073606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42428',
internalId:  '',
customField: '20100818-073737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42341',
internalId:  '',
customField: '20090811-191412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42350',
internalId:  '',
customField: '20090118-105439'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42398',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42389',
internalId:  '',
customField: '20091108-053838'
};
webappMappings['1007']=webappMappings['1007-11ae548fc9d']={
webappId:    '1007',
documentId:  '42428',
internalId:  '11ae548fc9d',
customField: 'g.13bijklqj.5b6o3q2v62g.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42398',
internalId:  '',
customField: '20100818-073855'
};
webappMappings['1007']=webappMappings['1007-11ed98b1509']={
webappId:    '1007',
documentId:  '44983',
internalId:  '11ed98b1509',
customField: 'g.13rcoepgo.i0ttrep5k3.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42901',
internalId:  '',
customField: '20100818-073818'
};
webappMappings['7060']=webappMappings['7060-b148247640446d53ef482b7090c16684']={
webappId:    '7060',
documentId:  '45103',
internalId:  'b148247640446d53ef482b7090c16684',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44983',
internalId:  '',
customField: '20100818-073755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45290',
internalId:  '',
customField: '20100818-073634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45103',
internalId:  '',
customField: '20090211-185916'
};
webappMappings['7060']=webappMappings['7060-4c91dd4317a029eac232d6d50c517091']={
webappId:    '7060',
documentId:  '45121',
internalId:  '4c91dd4317a029eac232d6d50c517091',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45121',
internalId:  '',
customField: '20090310-062927'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0IRMLNL';
var companyName   = 'Mad+M.+Melon+++++++++Tattoo+%26+Design';
var htmlTitle	  = 'Melon+Tattoo+Ludwigsburg';
var metaKeywords  = 'Tattoo+Ludwigsburg%2C+Tattoostudio%2C+Mad+Melon+Tattoo+Art%2Cmelontattoo%2C+tattoo%2Cludwigsburg%2Cmelon%2Cstudio%2Ct%C3%A4towierungen%2CTattoo+Bietigheim%2C+Tattoo+Stuttgart%2C+Tattoo%2C+T%C3%A4towierung+Ludwigsburg%2C+Tattoo+Entfernungen%2C+melon-tattoo%2Ctato%2Ctatoo%2Ctatto%2Ct%C3%A4to%2Ct%C3%A4too+t%C3%A4towierstudio%2CT%C3%A4towieren%2C+Piercen%2C+Stuttgart%2C+Deutschland%2C+Baden+W%C3%BCrttemberg%2C+Ludwigsburg%2C+Neckarweihingen%2C+Marbach%2C+Poppenweiler%2C+tribal%2Ctattoo-studio%2Ct%C3%A4towieren%2Ct%C3%A4towiermaschine%2Ct%C3%A4towierstudio%2Ctribaltattoo%2Cbodysuit%2Cdrachen%2Cskull%2Cceltic%2Cirezumi%2Csch%C3%A4del%2Cconvention%2Ctattooconvention%2Cpiercing%2Cbodyart%2Csymbol%2Csymbole%2Coldstyle%2Cfineline%2Chygiene%2CNadel%2CMaori%2CWkinger%2CArm%2CFuss%2CBein%2CHand%2CBauch%2CR%C3%BCcken%2CSchulter%2CSchulterblatt%2CWade%2COldshool%2CJapanstil';
var metaContents  = 'Tattoo+Ludwigsburg%2C+Best+Tattoo+by++Mad+Melon+Tattoo++Ludwigsburg';
					                                                                    
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 */					                                                            

