/* [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','56901',jdecode('Tortenfiguren+'),jdecode(''),'/56901/home.html','true',[ 
		['PAGE','64301',jdecode('Tortenfiguren+2'),jdecode(''),'/56901/64301.html','true',[],''],
		['PAGE','46201',jdecode('Tortenfiguren+3'),jdecode(''),'/56901/46201.html','true',[],'']
	],''],
	['PAGE','41520',jdecode('Fimo+Figuren'),jdecode(''),'/41520.html','true',[],''],
	['PAGE','45363',jdecode('Aktuelles+'),jdecode(''),'/45363.html','true',[],''],
	['PAGE','41274',jdecode('Preise+'),jdecode(''),'/41274.html','true',[],''],
	['PAGE','41529',jdecode('Bestellformular'),jdecode(''),'/41529/home.html','true',[ 
		['PAGE','45487',jdecode('Einzelfigur'),jdecode(''),'/41529/45487.html','true',[],'']
	],''],
	['PAGE','41556',jdecode('H%C3%A4ufige+Fragen'),jdecode(''),'/41556.html','true',[],''],
	['PAGE','47701',jdecode('Ben%C3%B6tigte+Fotos'),jdecode(''),'/47701.html','true',[],''],
	['PAGE','136522',jdecode('Hochzeitsmesse+2012'),jdecode(''),'/136522.html','true',[],''],
	['PAGE','136501',jdecode('Brautpaar+des+Jahres+2011'),jdecode(''),'/136501.html','true',[],''],
	['PAGE','41547',jdecode('Kontakt'),jdecode(''),'/41547.html','true',[],''],
	['PAGE','41845',jdecode('%C3%9Cber+Mich'),jdecode(''),'/41845.html','true',[],''],
	['PAGE','46222',jdecode('Arbeitsschritte'),jdecode(''),'/46222.html','false',[],''],
	['PAGE','46506',jdecode('G%C3%A4stebuch'),jdecode(''),'/46506/home.html','true',[ 
		['PAGE','46501',jdecode('Eintr%C3%A4ge'),jdecode(''),'/46506/46501.html','true',[],'']
	],''],
	['PAGE','69401',jdecode('Feedback'),jdecode(''),'/69401.html','true',[],''],
	['PAGE','51701',jdecode('Impressum'),jdecode(''),'/51701.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Office_02';
theSitetree.paletteFamily='FFB729';
theSitetree.keyvisualId='12238';
theSitetree.keyvisualName='kv_12238.jpg';
theSitetree.fontsetId='33370';
theSitetree.graphicsetId='14240';
theSitetree.contentColor='E1DBC3';
theSitetree.contentBGColor='5E5537';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Office_02',
				paletteFamily: 	'FFB729',
				keyvisualId: 	'12238',
				keyvisualName: 	'kv_12238.jpg',
				fontsetId: 		'33370',
				graphicsetId: 	'14240',
				contentColor: 	'E1DBC3',
				contentBGColor: '5E5537',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120202-163542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136501',
internalId:  '',
customField: '20120202-120807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20120202-162238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41520',
internalId:  '',
customField: '20120202-121000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41547',
internalId:  '',
customField: '20100912-202023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41529',
internalId:  '',
customField: '20120119-201312'
};
webappMappings['1008']=webappMappings['1008-34228576']={
webappId:    '1008',
documentId:  '41529',
internalId:  '34228576',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41556',
internalId:  '',
customField: '20100127-192652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41845',
internalId:  '',
customField: '20120119-195316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46201',
internalId:  '',
customField: '20100620-112558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45363',
internalId:  '',
customField: '20120202-121424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45487',
internalId:  '',
customField: '20110922-201036'
};
webappMappings['1501']=webappMappings['1501-36835865']={
webappId:    '1501',
documentId:  '44',
internalId:  '36835865',
customField: '1501'
};
webappMappings['1008']=webappMappings['1008-43920555']={
webappId:    '1008',
documentId:  '45487',
internalId:  '43920555',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47701',
internalId:  '',
customField: '20090220-150921'
};
webappMappings['1002']=webappMappings['1002-46506atoix0i7tq5k']={
webappId:    '1002',
documentId:  '46506',
internalId:  '46506atoix0i7tq5k',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-46506atoix0i7tq5k']={
webappId:    '1002',
documentId:  '46501',
internalId:  '46506atoix0i7tq5k',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46506',
internalId:  '',
customField: '20080219-095823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46222',
internalId:  '',
customField: '20090414-204931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46501',
internalId:  '',
customField: '20080219-104947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51701',
internalId:  '',
customField: '20100912-202123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56901',
internalId:  '',
customField: '20120119-204843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69401',
internalId:  '',
customField: '20111202-211021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64301',
internalId:  '',
customField: '20100620-112505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136522',
internalId:  '',
customField: '20120116-213230'
};
webappMappings['7091']=webappMappings['7091-58243']={
webappId:    '7091',
documentId:  '44',
internalId:  '58243',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7TQ5K';
var companyName   = 'MINI+ME+WORLD+++++++++++++by+Dominik+Hundt';
var htmlTitle	  = 'Personalisierte+Tortenfiguren';
var metaKeywords  = 'Dominik+Hundt%2C+Tortenfigur%2C+Tortenaufsatz%2C+Tortendeko%2C+Individuelle+Tortenfigur%2C+Tortenfiguren+nach+Ihren+W%C3%BCnschen+gestaltet.+Personalisierte+Figuren+%2C+Hochzeitstorte%2C+Hochzeitsgeschenk%2C+Silberhochzeit%2C+Goldene+Hochzeit%2C+pers%C3%B6nliches+Geschenk%2C+FIMO+Brautpaar%2C+Figuren+Mini+Me+World%2C+handmodelliert%2C+modellierte%2C+Handarbeit+%2C+lustige+Tortenfiguren%2C+personalised+custom+wedding+cake+topper%2C+Kommunion+Tortenfigur%2C+Cham%C3%A4leon%2C+Helmcham%C3%A4leon%2C+Ascona+B+Modellauto+1%3A18%2C+Haustiere+modellieren';
var metaContents  = 'Willkommen+bei+Mini+Me+World.+Von+Dominik+Hundt.+Hier+finden+Sie+personalisierte+Tortenfiguren+f%C3%BCr+Ihre+Hochzeitstorte.+Alles+wird+in+Handarbeit+hergestellt+und+nach+Ihrer+Fotovorlage+modelliert.+Individuelle+Tortenfiguren+nach+Ihren+W%C3%BCnschen+gestaltet.++';
					                                                                    
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 */					                                                            

