/* [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','14501',jdecode('Home'),jdecode(''),'/14501.html','true',[],''],
	['PAGE','112322',jdecode('Ma%C3%9Fanfertigung'),jdecode(''),'/112322.html','true',[],''],
	['PAGE','110722',jdecode('Neue+Mode+2011'),jdecode(''),'/110722.html','true',[],''],
	['PAGE','93122',jdecode('Anfertigungen'),jdecode(''),'/93122.html','true',[],''],
	['PAGE','28901',jdecode('Brautmode'),jdecode(''),'/28901.html','true',[],''],
	['PAGE','112022',jdecode('Landhausmode'),jdecode(''),'/112022.html','false',[],''],
	['PAGE','118722',jdecode('Hol+und+Bring'),jdecode(''),'/118722.html','true',[],''],
	['PAGE','80322',jdecode('Links'),jdecode(''),'/80322.html','true',[],''],
	['PAGE','25509',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/25509.html','true',[],''],
	['PAGE','28906',jdecode('AGB+und+Impressum'),jdecode(''),'/28906.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='333333';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='78';
theSitetree.graphicsetId='82';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D6D6D6';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Galerie',
				paletteFamily: 	'333333',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'78',
				graphicsetId: 	'82',
				contentColor: 	'000000',
				contentBGColor: 'D6D6D6',
				a_color: 		'333333',
				b_color: 		'DBD9D9',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93122',
internalId:  '',
customField: '20120122-122754'
};
webappMappings['1008']=webappMappings['1008-39924864']={
webappId:    '1008',
documentId:  '93122',
internalId:  '39924864',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14501',
internalId:  '',
customField: '20120211-203219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28906',
internalId:  '',
customField: '20100201-144403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112022',
internalId:  '',
customField: '20110303-095233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28901',
internalId:  '',
customField: '20110501-121124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25509',
internalId:  '',
customField: '20101229-164639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118722',
internalId:  '',
customField: '20111127-121824'
};
webappMappings['1008']=webappMappings['1008-31788203']={
webappId:    '1008',
documentId:  '28901',
internalId:  '31788203',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112322',
internalId:  '',
customField: '20111231-163556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80322',
internalId:  '',
customField: '20110707-202138'
};
webappMappings['1007']=webappMappings['1007-12dd2c59347']={
webappId:    '1007',
documentId:  '110722',
internalId:  '12dd2c59347',
customField: 'g.15n9c52ss.4ll1lb3no4d.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110722',
internalId:  '',
customField: '20110616-221121'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN210C';
var companyName   = 'CREATION-F+MODE+NACH+MASS';
var htmlTitle	  = 'CREATION+-+F+Mode+nach+Mass';
var metaKeywords  = '+Das+Ma%C3%9Fatelier+fertigt+Ma%C3%9Farbeit+f%C3%BCr+Sie+und+Ihn%2C+sowie+Konfektionierte+Teile+wie+Hosen%2C+Jacken%2C++Blusen%2C+M%C3%A4ntel%2C+Kost%C3%BCme%2C+Hosenanz%C3%BCge%2C+Anz%C3%BCge%2C+Heimtextilien++++++Kursangebote+f%C3%BCr+Existenzgr%C3%BCnder+und+Schnitttechnik%2C+Brautmode+Ma%C3%9Fgefertigt+f%C3%BCr+Sie+und+Ihn%2C+Brautkleider%2C+Hochzeitskleider%2C+Hosenanz%C3%BCge%2C+Westen%2C+Strumpfb%C3%A4nder%2C+Haarschmuck%2C+T%C3%A4schchen.+Landhausmode+Ma%C3%9Fgefertigt+f%C3%BCr+Sie+und+Ihn%2C+Dirndl%2C+Trachtenhosen%2C+Mieder.';
var metaContents  = 'Edith+Fruhner%2CSchneiderei%2CVaihingen+an+der+Enz%2CHirsauer+Str.43%2Chochwertige+Ma%C3%9Fanfertigung%2CMa%C3%9Fkonfektion%2CBrautkleider%2C%C3%84nderungen%2CLandhausmode%2CSchnitttechnik%2CHolBring-Service%2CCoaching+f%C3%BCr+Existenzgr%C3%BCndung++';
					                                                                    
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 */					                                                            

