/* [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','120201',jdecode('Home'),jdecode(''),'/120201.html','true',[],''],
	['PAGE','63901',jdecode('Termine'),jdecode(''),'/63901.html','true',[],''],
	['PAGE','121501',jdecode('Newsletter'),jdecode(''),'/121501.html','true',[],''],
	['PAGE','41274',jdecode('Media'),jdecode(''),'/41274.html','true',[],''],
	['PAGE','118801',jdecode('Bilder'),jdecode(''),'/118801.html','true',[],''],
	['PAGE','117401',jdecode('Shop'),jdecode(''),'/117401.html','true',[],''],
	['PAGE','115301',jdecode('Diskografie'),jdecode(''),'/115301.html','true',[],''],
	['PAGE','102706',jdecode('G%C3%A4stebuch'),jdecode(''),'/102706/home.html','true',[ 
		['PAGE','102701',jdecode('Eintr%C3%A4ge'),jdecode(''),'/102706/102701.html','true',[],'']
	],''],
	['PAGE','64201',jdecode('Impressum'),jdecode(''),'/64201.html','true',[],''],
	['PAGE','41310',jdecode('Links'),jdecode(''),'/41310.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='TOI_Interieur_02';
theSitetree.paletteFamily='E4E4E4';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33408';
theSitetree.graphicsetId='14270';
theSitetree.contentColor='F4F4F4';
theSitetree.contentBGColor='4B301E';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Interieur_02',
				paletteFamily: 	'E4E4E4',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33408',
				graphicsetId: 	'14270',
				contentColor: 	'F4F4F4',
				contentBGColor: '4B301E',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Palatino Linotype, Book Antiqua, Palatino, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115301',
internalId:  '',
customField: '20101007-105621'
};
webappMappings['1002']=webappMappings['1002-102706atoix0i7dbh5']={
webappId:    '1002',
documentId:  '102701',
internalId:  '102706atoix0i7dbh5',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63901',
internalId:  '',
customField: '20101007-105439'
};
webappMappings['7060']=webappMappings['7060-a2d055c2c3883684b5874cdab4c5640a']={
webappId:    '7060',
documentId:  '118801',
internalId:  'a2d055c2c3883684b5874cdab4c5640a',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102701',
internalId:  '',
customField: '20081221-172151'
};
webappMappings['1008']=webappMappings['1008-22972363']={
webappId:    '1008',
documentId:  '63901',
internalId:  '22972363',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102706',
internalId:  '',
customField: '20081221-172151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20100904-105456'
};
webappMappings['1002']=webappMappings['1002-102706atoix0i7dbh5']={
webappId:    '1002',
documentId:  '102706',
internalId:  '102706atoix0i7dbh5',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120201',
internalId:  '',
customField: '20100801-115247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64201',
internalId:  '',
customField: '20100215-131651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20100904-105917'
};
webappMappings['1008']=webappMappings['1008-73623466']={
webappId:    '1008',
documentId:  '121501',
internalId:  '73623466',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['7050']=webappMappings['7050-56000']={
webappId:    '7050',
documentId:  '120201',
internalId:  '56000',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117401',
internalId:  '',
customField: '20101007-105800'
};
webappMappings['1008']=webappMappings['1008-73283242']={
webappId:    '1008',
documentId:  '117401',
internalId:  '73283242',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118801',
internalId:  '',
customField: '20100416-214609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121501',
internalId:  '',
customField: '20101007-110529'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0I7DBH5';
var companyName   = 'www.oakmc.de';
var htmlTitle	  = 'www.oakmc.de';
var metaKeywords  = 'OaK+MC%2C+OaKRecords%2C+Duisburgerhiphop%2C+Walsum%2C+Rapertoire%2C+Rapmusik%2C+oakrecords.de%2C+Musik%2C+Duisburg%2C+OaK%2C+Rap%2C+Hiphop%2C+Ruhrpott%2C+Thomas%2C+Schlenke%2C+Thomas+Schlenke%2C+mp3%2C+Raptor%2C+Beats%2C+Instrumental%2C+Dj%2C+Dj+Slave%2C+Jupiter%2C+Das+Rap-Attentat%2C+Dikeluft%2C+ich+mache+meine+eigenen+Sachen%2C+Label+Report+Vol.1%2C+Pott%2C+Landschaftspark%2C+Hamborn%2C+Meiderich%2C+marxloh%2C+City%2C+Der+Lauf+der+Dinge%2C+Remix%2C+Oakey+Dokey%2C+Zendegi%2C+Eddy%2C+Zendegi+Music%2C+Poke%2C+Mic-d%2C+sucio%2C+vokal%2C+sucio++Vokal%2C+S.T.L.%2C+King%2C+Deluxe%2C+Google%2C+Ruhrpott%2C+Pott%2C+Style%2C+IMMES%2C+Oakmc%2C+oakmc%2C+mp3.de%2C+Vierlinden%2C+B%C3%A4renbr%C3%BCder%2C+Albtraum%2C+';
var metaContents  = 'OaK+MC%2C+Duisburger+Rap+Artist';
					                                                                    
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 */					                                                            

