/* [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','44',jdecode('.'),jdecode(''),'/44.html','true',[],''],

	['PAGE','40262',jdecode('.'),jdecode(''),'/40262/home.html','true',[ 

		['PAGE','40290',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/40262/40290.html','false',[],'']

	],''],

	['PAGE','41607',jdecode('.'),jdecode(''),'/41607.html','true',[],''],

	['PAGE','40590',jdecode('.'),jdecode(''),'/40590.html','true',[],''],

	['PAGE','40066',jdecode('.'),jdecode(''),'/40066/home.html','true',[ 

		['PAGE','40065',jdecode('.'),jdecode(''),'/40066/40065.html','true',[],''],

		['PAGE','41616',jdecode('.'),jdecode(''),'/40066/41616.html','true',[],''],

		['PAGE','41625',jdecode('.'),jdecode(''),'/40066/41625.html','true',[],''],

		['PAGE','41634',jdecode('.'),jdecode(''),'/40066/41634.html','true',[],''],

		['PAGE','41643',jdecode('.'),jdecode(''),'/40066/41643.html','true',[],'']

	],'']];

var siteelementCount=11;

theSitetree.topTemplateName='Shield';

theSitetree.paletteFamily='D5D5F6';

theSitetree.keyvisualId='-1';

theSitetree.keyvisualName='keyv.jpg';

theSitetree.fontsetId='10751';

theSitetree.graphicsetId='10686';

theSitetree.contentColor='000000';

theSitetree.contentBGColor='D5D5F6';

var theTemplate={

				name: 			'Shield',

				paletteFamily: 	'D5D5F6',

				keyvisualId: 	'-1',

				keyvisualName: 	'keyv.jpg',

				fontsetId: 		'10751',

				graphicsetId: 	'10686',

				contentColor: 	'000000',

				contentBGColor: 'D5D5F6',

				hasFlashNavigation: 'false',

				hasFlashLogo: 	'false',

				hasFlashCompanyname: 'false',

				a_color: 		'000000',

				b_color: 		'000000',

				c_color: 		'000000',

				d_color: 		'F30606',

				e_color: 		'6969FA',

				f_color: 		'7F7E7E',

				hasCustomLogo: 	'true',

				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',

				contentFontSize:'12'

			  };

var webappMappings = {};

webappMappings['1006']={

webappId:    '1006',

documentId:  '44',

internalId:  '1006',

customField: '1006'

};

webappMappings['1501']={

webappId:    '1501',

documentId:  '44',

internalId:  '2452016',

customField: '1501'

};

webappMappings['1002']={

webappId:    '1002',

documentId:  '40066',

internalId:  '40066atoix0inzbg9',

customField: 'action=form&icq=false'

};

webappMappings['1002']={

webappId:    '1002',

documentId:  '40065',

internalId:  '40066atoix0inzbg9',

customField: 'action=list'

};

webappMappings['1003']={

webappId:    '1003',

documentId:  '40590',

internalId:  'atoix0inzbg910930422896',

customField: 'de:DE:'

};

webappMappings['1005']={

webappId:    '1005',

documentId:  '44',

internalId:  '1085f59bb05.1d06bd65',

customField: 'de:DE:'

};

webappMappings['1001']={

webappId:    '1001',

documentId:  '40262',

internalId:  'atoix0inzbg91085f71bed6',

customField: ''

};

webappMappings['1001']={

webappId:    '1001',

documentId:  '40290',

internalId:  'atoix0inzbg91085f71bed6',

customField: 'followUp'

};

var canonHostname = 'cfawrk07.aul.t-online.de';

var accountId     = 'ATOIX0INZBG9';

var companyName   = '++++++++++BAHADIN+KASABASI';

					                                                                    

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 */					                                                            
