/* [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','startseite',jdecode('%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F'),jdecode(''),'/startseite.html','true',[],''],
	['PAGE','flug',jdecode('%D0%A1%D0%B0%D0%BC%D0%BE%D0%BB%D1%91%D1%82%D0%BE%D0%BC'),jdecode(''),'/flug.html','true',[],''],
	['PAGE','bus',jdecode('%D0%90%D0%B2%D1%82%D0%BE%D0%B1%D1%83%D1%81%D0%BE%D0%BC'),jdecode(''),'/bus.html','true',[],''],
	['PAGE','zug',jdecode('%D0%9F%D0%BE%D0%B5%D0%B7%D0%B4%D0%BE%D0%BC'),jdecode(''),'/zug.html','true',[],''],
	['PAGE','lastminute_pauschal',jdecode('Last+Minute+%26+%D0%BE%D1%82%D0%B4%D1%8B%D1%85'),jdecode(''),'/lastminute_pauschal.html','true',[],''],
	['PAGE','visa',jdecode('%D0%92%D0%B8%D0%B7%D1%8B'),jdecode(''),'/visa.html','true',[],''],
	['PAGE','reiseversicherung',jdecode('%D0%A2%D1%83%D1%80+-+%D1%81%D1%82%D1%80%D0%B0%D1%85%D0%BE%D0%B2%D0%BA%D0%B8'),jdecode(''),'/reiseversicherung.html','true',[],''],
	['PAGE','reisesofortkredit',jdecode('%D0%A2%D1%83%D1%80+-+%D0%BA%D1%80%D0%B5%D0%B4%D0%B8%D1%82'),jdecode(''),'/reisesofortkredit.html','true',[],''],
	['PAGE','agb',jdecode('%D0%A3%D1%81%D0%BB%D0%BE%D0%B2%D0%B8%D1%8F+%D0%B4%D0%BE%D0%B3%D0%BE%D0%B2%D0%BE%D1%80%D0%B0'),jdecode(''),'/agb.html','true',[],''],
	['PAGE','kontakt',jdecode('%D0%9A%D0%BE%D0%BD%D1%82%D0%B0%D0%BA%D1%82'),jdecode(''),'/kontakt.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='TOI_Business_2';
theSitetree.paletteFamily='1A4424';
theSitetree.keyvisualId='10771';
theSitetree.keyvisualName='kv_10771.jpg';
theSitetree.fontsetId='31825';
theSitetree.graphicsetId='13615';
theSitetree.contentColor='0E0F0F';
theSitetree.contentBGColor='fdfdfd';
var theTemplate={
				name: 			'TOI_Business_2',
				paletteFamily: 	'1A4424',
				keyvisualId: 	'10771',
				keyvisualName: 	'kv_10771.jpg',
				fontsetId: 		'31825',
				graphicsetId: 	'13615',
				contentColor: 	'0E0F0F',
				contentBGColor: 'fdfdfd',
				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']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  'startseite',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'bus',
internalId:  '',
customField: '20080518-121541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'reisesofortkredit',
internalId:  '',
customField: '20080518-130522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'flug',
internalId:  '',
customField: '20080518-124759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'startseite',
internalId:  '',
customField: '20080518-120852'
};
webappMappings['1501']=webappMappings['1501-38833471']={
webappId:    '1501',
documentId:  'startseite',
internalId:  '38833471',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'zug',
internalId:  '',
customField: '20080518-121720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'visa',
internalId:  '',
customField: '20080518-125252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'reiseversicherung',
internalId:  '',
customField: '20080518-132058'
};
webappMappings['1008']=webappMappings['1008-43172964']={
webappId:    '1008',
documentId:  'kontakt',
internalId:  '43172964',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'kontakt',
internalId:  '',
customField: '20080518-130812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'lastminute_pauschal',
internalId:  '',
customField: '20080518-124703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  'agb',
internalId:  '',
customField: '20080518-113112'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0I7C5S3';
var companyName   = 'MAIER+REISEN++++++++++Tel.%3A+0541+-+406570';
var htmlTitle	  = 'MAIER+REISEN+-+Ihr+Spezialist+f%C3%BCr+Russland%2C+Kasachstan%2C+Ukraine%2C+Belarus%2C+Kirgistan%2C+Baltikum-+und+andere+GUS+-+L%C3%A4nder';
var metaKeywords  = 'Flugreisen%2C+Flugtickets%2C+Billigflieger%2C+Flug%2C+Fl%C3%BCge%2C+Fluege%2C+mit+dem+Flugzeug+fliegen%2C+Flugzeug%2C+fliegen%2C+Busreisen%2C+Bustickets%2C+mit+dem+Bus+fahren%2C+Bus%2C+Busfahrt%2C+Bahn%2C+Bahntickets%2C+Bahnreisen%2C+Zug%2C+Zugtickets%2C+Zugreisen%2C+mit+dem+Zug+fahren%2C+reisen%2C+fahren%2C+Visum%2C+Visa%2C+Gesch%C3%A4ftsreisen%2C+Business+-+Flugservice%2C+Business+-Busreiseservice%2C+Business+-+Bahnreisen+Reiseservice%2C+Business+-+Visaservice%2C+Gesch%C3%A4ftsvisum%2C+Pauschalreisen%2C+Urlaub%2C+Urlaubsreisen%2C+Badereisen%2C+Reisekrankenversicherung%2C+Reiser%C3%BCcktrittversicherung%2C+Reise+Sofortkredit%2C+nach+Russland%2C+Russia%2C+Rossija%2C+Rossia%2C+Kasachstan%2C+Kazakhstan%2C+Kazachstan%2C+Kasakhstan%2C+Kasahstan%2C+Ukraine%2C+Ukraina%2C+Belarus%2C+Belorus%2C+Weissrussland%2C+Kyrgyzstan%2C+Kirgizstan%2C+Kyrgystan%2C+Kyrgyztan%2C+Kirgistan%2C+Uzbekistan%2C+Usbekistan%2C+Moldova%2C+Moldavia%2C+Moldawia%2C+Moldowa%2C+Baltikum%2C+Estonia%2C+Estonija%2C+Estland%2C+Latvia%2C+Latvija%2C+Lettland%2C+Latwia%2C+Latwija%2C+Litva%2C+Litwa%2C+Litauen%2C+Lietuva%2C+GUS+L%C3%A4nder%2C+billige%2C+billigste%2C+g%C3%BCnstige%2C+g%C3%BCnstigste%2C+billig+kaufen%2C+g%C3%BCnstig+kaufen%2C+Angebote%2C+Sonderangebote%2C+Sondertarife%2C+niedrige+Preise%2C+Discount.';
var metaContents  = 'Billige+Flug-%2C+Busreisen+nach+Russland%2C+Kasachstan%2C+Kirgistan%2C+Ukraine%2C+Belarus.+Bahntickets%2C+Visum%2C+Reiseversicherungen.+G%C3%BCnstige+Pauschalreisen+weltweit.+Reise-Sofortkredit.+Einfach+anrufen%3A+0541-406570.';
					                                                                    
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 */					                                                            

