/* [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','40967',jdecode('Home'),jdecode(''),'/40967.html','true',[],''],
	['PAGE','45141',jdecode('Leistungen+%2F+Preise'),jdecode(''),'/45141.html','true',[],''],
	['PAGE','45362',jdecode('DVD-H%C3%BCllen'),jdecode(''),'/45362.html','true',[],''],
	['PAGE','45841',jdecode('DVD-Verpackungen'),jdecode(''),'/45841.html','true',[],''],
	['PAGE','45062',jdecode('G%C3%A4stebuch'),jdecode(''),'/45062.html','true',[],''],
	['PAGE','45862',jdecode('Gutschein'),jdecode(''),'/45862.html','true',[],''],
	['PAGE','45883',jdecode('Demo-DVD'),jdecode(''),'/45883.html','true',[],''],
	['PAGE','45404',jdecode('News'),jdecode(''),'/45404.html','true',[],''],
	['PAGE','44741',jdecode('Sportfreunde+Siegen'),jdecode(''),'/44741.html','true',[],''],
	['PAGE','41865',jdecode('Unsere+Partner'),jdecode(''),'/41865.html','true',[],''],
	['PAGE','41041',jdecode('Presse'),jdecode(''),'/41041.html','true',[],''],
	['PAGE','44241',jdecode('Jobs'),jdecode(''),'/44241.html','true',[],''],
	['PAGE','41050',jdecode('Impressum+%2F+Kontakt'),jdecode(''),'/41050.html','true',[],''],
	['PAGE','41066',jdecode('AGB%C2%B4s'),jdecode(''),'/41066.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='TOI_Lights_1';
theSitetree.paletteFamily='110606';
theSitetree.keyvisualId='10824';
theSitetree.keyvisualName='kv_10824.jpg';
theSitetree.fontsetId='31852';
theSitetree.graphicsetId='13645';
theSitetree.contentColor='ECA877';
theSitetree.contentBGColor='110606';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Lights_1',
				paletteFamily: 	'110606',
				keyvisualId: 	'10824',
				keyvisualName: 	'kv_10824.jpg',
				fontsetId: 		'31852',
				graphicsetId: 	'13645',
				contentColor: 	'ECA877',
				contentBGColor: '110606',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40967',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20090128-120539'
};
webappMappings['1501']=webappMappings['1501-34612028']={
webappId:    '1501',
documentId:  '40967',
internalId:  '34612028',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41041',
internalId:  '',
customField: '20090124-195137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41050',
internalId:  '',
customField: '20081228-202918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41066',
internalId:  '',
customField: '20080127-195720'
};
webappMappings['1008']=webappMappings['1008-39442944']={
webappId:    '1008',
documentId:  '41050',
internalId:  '39442944',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45141',
internalId:  '',
customField: '20091228-200024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41865',
internalId:  '',
customField: '20090303-205604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44241',
internalId:  '',
customField: '20090804-194400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45362',
internalId:  '',
customField: '20091228-200046'
};
webappMappings['1008']=webappMappings['1008-65374791']={
webappId:    '1008',
documentId:  '45062',
internalId:  '65374791',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45404',
internalId:  '',
customField: '20091130-162101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45883',
internalId:  '',
customField: '20091228-195940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45062',
internalId:  '',
customField: '20091027-204722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44741',
internalId:  '',
customField: '20090805-215331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45862',
internalId:  '',
customField: '20091226-125538'
};
webappMappings['1008']=webappMappings['1008-65375002']={
webappId:    '1008',
documentId:  '45862',
internalId:  '65375002',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-65375692']={
webappId:    '1008',
documentId:  '45883',
internalId:  '65375692',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45841',
internalId:  '',
customField: '20091228-200104'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0I73D22';
var companyName   = 'Der+Videograf+f%C3%BCr+Hochzeit+und+Videos+aller+Art';
var htmlTitle	  = 'nannitat-tv.de+%C2%B7+Der+Videograf+f%C3%BCr+Hochzeit+und+Videos+aller+Art';
var metaKeywords  = 'nannitat-tv.de%2C+Niederfischbach%2C+Siegen%2C+Kreuztal%2C+Olpe%2C+Kirchen%2C+Betzdorf%2C+Videobearbeitung%2C+DVD%2C+Filmaufnahmen%2C+Video%2C+filmen%2C+Hochzeit%2C+nanitat%2C+nannitat%2C+Filmschnitt%2C+Film%2C+nanitat-tv.de%2C+nanitat-tv%2C+Hochzeitzfilmer%2C+Videoerstellung%2C+Videobearbeitung%2C+Festefilmer%2C+Festfilmer%2C+Daniel+Schneider%2C+wir+machen+Videos%2C+wir+machen+Videos+sehenswert%2C+nanitat%2C+nannitat%2C+tv%2C+Hochzeitsmesse%2C+Filmerstellung%2C+Filmbearbeitung%2C+Videograf%2C+Siegerland%2C+S%C3%BCdwestfalen%2C+bundesweit%2C+Videograf%2C+Filme+aller+Art';
var metaContents  = 'Der+Videograf+f%C3%BCr+Hochzeit+und+Videos+aller+Art.+Wir+bearbeiten+auch+kundeneigenes+Videomaterial.';
					                                                                    
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 */					                                                            

