/* [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','40985',jdecode('Animatronic+SFX+'),jdecode(''),'/40985.html','true',[],''],
	['PAGE','40956',jdecode('Puppenbau+%26+Dummys'),jdecode(''),'/40956.html','true',[],''],
	['PAGE','42028',jdecode('SFX+Maske+Prosthetics'),jdecode(''),'/42028.html','true',[],''],
	['PAGE','41616',jdecode('Dental+SFX+FX+Z%C3%A4hne'),jdecode(''),'/41616.html','true',[],''],
	['PAGE','41003',jdecode('Props+-+Requisitenbau'),jdecode(''),'/41003.html','true',[],''],
	['PAGE','40582',jdecode('Das+Studio'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','40627',jdecode('Making+of+Produktion'),jdecode(''),'/40627.html','true',[],''],
	['PAGE','44141',jdecode('Schnee+Effekte'),jdecode(''),'/44141.html','true',[],''],
	['PAGE','40564',jdecode('Referenzen'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','41245',jdecode('Showreel'),jdecode(''),'/41245.html','true',[],''],
	['PAGE','40573',jdecode('Kontakt'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','41551',jdecode('Anfahrt'),jdecode(''),'/41551.html','true',[],''],
	['PAGE','40591',jdecode('Impressum'),jdecode(''),'/40591.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='D6D6D6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33356';
theSitetree.graphicsetId='14229';
theSitetree.contentColor='F5F5F5';
theSitetree.contentBGColor='333333';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'D6D6D6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33356',
				graphicsetId: 	'14229',
				contentColor: 	'F5F5F5',
				contentBGColor: '333333',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Tahoma, Geneva, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20120125-204722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40956',
internalId:  '',
customField: '20110211-192106'
};
webappMappings['1007']=webappMappings['1007-11f14062381']={
webappId:    '1007',
documentId:  '41003',
internalId:  '11f14062381',
customField: 'g.13sa0bd3j.1vsmdgtt3s5.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20120125-203822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20090122-123915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20090614-152935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20110926-062747'
};
webappMappings['1007']=webappMappings['1007-11f13f8a09a']={
webappId:    '1007',
documentId:  '40985',
internalId:  '11f13f8a09a',
customField: 'g.13s9vf7hq.dgrdcumj4p.1s'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41551',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20110128-174822'
};
webappMappings['1007']=webappMappings['1007-11f0e357964']={
webappId:    '1007',
documentId:  '40956',
internalId:  '11f0e357964',
customField: 'g.13s737m0e.5j6haqurll.1s'
};
webappMappings['1501']=webappMappings['1501-56603910']={
webappId:    '1501',
documentId:  '39994',
internalId:  '56603910',
customField: '1501'
};
webappMappings['1008']=webappMappings['1008-56603870']={
webappId:    '1008',
documentId:  '40573',
internalId:  '56603870',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41551',
internalId:  '',
customField: '20090511-165514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40985',
internalId:  '',
customField: '20110211-192639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41003',
internalId:  '',
customField: '20101003-140850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42028',
internalId:  '',
customField: '20110530-193303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41245',
internalId:  '',
customField: '20110423-113155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41616',
internalId:  '',
customField: '20110421-171104'
};
webappMappings['1007']=webappMappings['1007-12dcd4be284']={
webappId:    '1007',
documentId:  '42028',
internalId:  '12dcd4be284',
customField: 'g.15n6klng7.hqe2o8js33.1s'
};
webappMappings['7091']=webappMappings['7091-55533']={
webappId:    '7091',
documentId:  '40591',
internalId:  '55533',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44141',
internalId:  '',
customField: '20110416-154440'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRQ8HK';
var companyName   = 'Movie+SFX++Animatronic+SFX+++Spezialeffekte+f%C3%BCr+Film+%26+TV++SFX+MASKE++Schwerthelm++Ziehfreund';
var htmlTitle	  = 'FAP+Media++++Animatronic+FX+++++Spezialeffekte+f%C3%BCr+Film+%26+TV+++Schwerthelm++Ziehfreund';
var metaKeywords  = 'Ihr+Name%2C+Sanitaer%2C+Installation%2C+Bedarf%2C+Waschen%2C+Reinigen%2C+Sauber%2C+Toilette%2C+Waschbecken%2C+Toilettenbecken%2C+Bad%2C+Badewanne%2C+Wanne%2C+Kacheln%2C+Fliesen%2C+Spiegel%2C+Schrank++';
var metaContents  = 'Willkommen+bei+Ihr+Name%2C+Spezialist+fuer+Sanitaer+und+Installationsbedarf.++';
					                                                                    
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 */					                                                            

