/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','4607',jdecode('Home'),jdecode(''),'/4607.html','true',[],''],
	['PAGE','4901',jdecode('Contact'),jdecode(''),'/4901/index.html','true',[ 
		['PAGE','6602',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/4901/6602.html','false',[],'']
	],'']];
var siteelementCount=3;
theSitetree.topTemplateName='Abstract';
theSitetree.paletteFamily='FFF0D4';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10386';
theSitetree.graphicsetId='10582';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFF0D4';
var theTemplate={
				name: 			'Abstract',
				paletteFamily: 	'FFF0D4',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10386',
				graphicsetId: 	'10582',
				contentColor: 	'000000',
				contentBGColor: 'FFF0D4',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4607',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4901',
internalId:  'aam010in3als10592627fa4',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '6602',
internalId:  'aam010in3als10592627fa4',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4607',
internalId:  '',
customField: '20091030-164701'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4901',
internalId:  '',
customField: '20091030-164914'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6602',
internalId:  '',
customField: '20050807-211953'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3ALS';
var companyName   = 'ModeAtelier+Julia';
var htmlTitle	  = 'ModeAtelier-Julia';
var metaKeywords  = '%EF%BF%BDbekleding+van+een+wiegje%EF%BF%BD+%EF%BF%BDbloes+te+wijd%EF%BF%BD+%EF%BF%BDbroek+te+lang%EF%BF%BD+%EF%BF%BDexclusieve+kleding+op+maat%EF%BF%BD+%EF%BF%BDHelmond+Brouwhuis%EF%BF%BD+%EF%BF%BDherstellen+van+kleding%EF%BF%BD+%EF%BF%BDkleding+aanpassen%EF%BF%BD+%EF%BF%BDkleding+op+maat%EF%BF%BD+%EF%BF%BDkorter+maken%EF%BF%BD+%EF%BF%BDlanger+maken%EF%BF%BD+%EF%BF%BDmodeatelier+julia%EF%BF%BD+%EF%BF%BDnieuwe+rits+inzetten%EF%BF%BD+%EF%BF%BDperfect+passende+mode+voor+elk+figuur%EF%BF%BD+herenkleding+%EF%BF%BDvakkundige+aanpassingen%EF%BF%BD+%EF%BF%BDvakkundige+kledingreparaties%EF%BF%BD+aanpassingen+bekleding+bloes+blouse+broek+Brouwhuis++dames++Helmond+heren+herstelt+innemen+jongens+jurk+jurk+te+lang+kapotte+knie%EF%BF%BDn+kinderkleding+kleding++kledingreparaties+knoopje+eraf+meisjes+mode+modeatelier-julia+modebladen+modebladen+gelegenheidskleding+passende+patronen+patronen+repareert+ritsrits+stuk+rok+te+strak+scheurtjes+uitleggen+vakkundig++vermaakt++zelfmaak+zwangerschap+pantalon+gala+feestje+tenger+stevig+holle+rug+lange+armen+heupen+taille+';
var metaContents  = 'Rits+stuk%3F+Broek+of+jurk+te+lang%3F+Rok+te+strak%3F+Blouse+te+wijd%3F++Knoopje+eraf%3F+Scheurtje%3F+ModeAtelier-Julia+in+Helmond+Brouwhuis+herstelt%2C+vermaakt+en+repareert+vakkundig+al+uw++kleding+of+het+nu+dames%2C+heren+of+kinderkleding+is.+Stevig+of+tenger%3F+Kleding+op+maat%2C+kleding+dat+past%21';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
