/* [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','40591',jdecode('Startseite'),jdecode(''),'/40591.html','true',[],''],
	['PAGE','40720',jdecode('TV+-+Studio+-+Sets'),jdecode(''),'/40720.html','true',[],''],
	['PAGE','40667',jdecode('Virtual+Studio+Sets'),jdecode(''),'/40667.html','true',[],''],
	['PAGE','41074',jdecode('Set+-+Design'),jdecode(''),'/41074.html','true',[],''],
	['PAGE','40639',jdecode('Background+Animationen+'),jdecode(''),'/40639.html','true',[],''],
	['PAGE','41144',jdecode('Background+Animationen'),jdecode(''),'/41144.html','false',[],''],
	['PAGE','41135',jdecode('Ihre+Filme+auf+DVD'),jdecode(''),'/41135.html','true',[],''],
	['PAGE','41733',jdecode('Veranstaltungs+-++News'),jdecode(''),'/41733.html','true',[],''],
	['PAGE','57501',jdecode('LED+-++Effektvorhang++'),jdecode(''),'/57501.html','true',[],''],
	['PAGE','60201',jdecode('SWAN+%26+LOOP'),jdecode(''),'/60201.html','true',[],''],
	['PAGE','60601',jdecode('WAVE+'),jdecode(''),'/60601.html','true',[],''],
	['PAGE','60901',jdecode('CONE+TATTOO'),jdecode(''),'/60901.html','true',[],''],
	['PAGE','40708',jdecode('B%C3%BChnenbau+L%C3%B6wenk%C3%B6nig'),jdecode(''),'/40708.html','false',[],''],
	['PAGE','40680',jdecode('Presse+L%C3%B6wenk%C3%B6nig'),jdecode(''),'/40680.html','true',[],''],
	['PAGE','41171',jdecode('Presse+Parzival'),jdecode(''),'/41171.html','true',[],''],
	['PAGE','40555',jdecode('Interessante+Links'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40564',jdecode('Referenzen'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','41710',jdecode('Homepage+-+Gestaltung'),jdecode(''),'/41710.html','true',[],''],
	['PAGE','41580',jdecode('3+D+Bilder'),jdecode(''),'/41580.html','false',[],''],
	['PAGE','41153',jdecode('Indoor+-+Design'),jdecode(''),'/41153.html','false',[],''],
	['PAGE','39994',jdecode('Kontakt'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40730',jdecode('Anfahrt'),jdecode(''),'/40730.html','true',[],''],
	['PAGE','41273',jdecode('G%C3%A4stebuch'),jdecode(''),'/41273/home.html','true',[ 
		['PAGE','41272',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41273/41272.html','true',[],'']
	],''],
	['PAGE','46101',jdecode('Rainer+Hawelka'),jdecode(''),'/46101.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='TOI_Theater_1';
theSitetree.paletteFamily='38418B';
theSitetree.keyvisualId='10753';
theSitetree.keyvisualName='kv_10753.jpg';
theSitetree.fontsetId='31808';
theSitetree.graphicsetId='13606';
theSitetree.contentColor='8E8C8C';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Theater_1',
				paletteFamily: 	'38418B',
				keyvisualId: 	'10753',
				keyvisualName: 	'kv_10753.jpg',
				fontsetId: 		'31808',
				graphicsetId: 	'13606',
				contentColor: 	'8E8C8C',
				contentBGColor: '000000',
				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:  '40591',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20090701-221935'
};
webappMappings['7060']=webappMappings['7060-7eec4a892d50d3e6da9b50e4be91c5bf']={
webappId:    '7060',
documentId:  '40639',
internalId:  '7eec4a892d50d3e6da9b50e4be91c5bf',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20110203-215031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20090224-102732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40680',
internalId:  '',
customField: '20100531-121842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20120128-101605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40667',
internalId:  '',
customField: '20120207-121545'
};
webappMappings['1007']=webappMappings['1007-134c7dca7d9']={
webappId:    '1007',
documentId:  '60601',
internalId:  '134c7dca7d9',
customField: 'g.16j3thvr8.cshhbm1ehl.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40639',
internalId:  '',
customField: '20120131-132124'
};
webappMappings['1007']=webappMappings['1007-11f00621c61']={
webappId:    '1007',
documentId:  '40708',
internalId:  '11f00621c61',
customField: 'g.13s05h2pe.12odj7g3t8mg.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40708',
internalId:  '',
customField: '20111115-171414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40720',
internalId:  '',
customField: '20120120-134537'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40730',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40730',
internalId:  '',
customField: '20110523-120810'
};
webappMappings['1008']=webappMappings['1008-56901896']={
webappId:    '1008',
documentId:  '39994',
internalId:  '56901896',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41733',
internalId:  '',
customField: '20120120-133319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41074',
internalId:  '',
customField: '20120202-090655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41135',
internalId:  '',
customField: '20120120-133213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41153',
internalId:  '',
customField: '20100319-101847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41144',
internalId:  '',
customField: '20120120-134719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41710',
internalId:  '',
customField: '20111212-124254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41171',
internalId:  '',
customField: '20100715-125745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41580',
internalId:  '',
customField: '20110518-161225'
};
webappMappings['1002']=webappMappings['1002-41273atoix0irqod8']={
webappId:    '1002',
documentId:  '41273',
internalId:  '41273atoix0irqod8',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41273atoix0irqod8']={
webappId:    '1002',
documentId:  '41272',
internalId:  '41273atoix0irqod8',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41273',
internalId:  '',
customField: '20100121-222906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41272',
internalId:  '',
customField: '20100121-222906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46101',
internalId:  '',
customField: '20111215-140306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57501',
internalId:  '',
customField: '20120202-091239'
};
webappMappings['1007']=webappMappings['1007-134c7ae2080']={
webappId:    '1007',
documentId:  '60201',
internalId:  '134c7ae2080',
customField: 'g.16j3qdo4p.aqthmaehqm.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60201',
internalId:  '',
customField: '20120131-115705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60601',
internalId:  '',
customField: '20120202-092735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60901',
internalId:  '',
customField: '20120110-153702'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRQOD8';
var companyName   = 'HAWELKA+-+EVENT+-+DESIGN';
var htmlTitle	  = 'HAWELKA+-+EVENT+-+DESIGN';
var metaKeywords  = 'Werner+Hawelka%2C++Musical+Design+-+Virtual+Studio+Sets+Studio+und+Film+Design+Planung+von+Events+-+Multimediatrailer+Film+Trailer+Buenenbild+und+Szenenbild+Planung+von+ergonomischen+Studio+Sets.';
var metaContents  = 'Willkommen+bei++Werner+Hawelka%2C+Spezialist+fuer+Events+-+Multimedia+-+Shows+Virtual+TV+Studio+Sets+-+Interactive+CD+und+DVD+Programierung';
					                                                                    
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 */					                                                            

