/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41264',jdecode('Sortiment'),jdecode(''),'/41264.html','true',[],''],
	['PAGE','72701',jdecode('Angebote'),jdecode(''),'/72701/home.html','true',[ 
		['PAGE','73022',jdecode('Digitalpianos'),jdecode(''),'/72701/73022.html','true',[],''],
		['PAGE','73001',jdecode('Klaviere+und+Orgeln'),jdecode(''),'/72701/73001.html','true',[],''],
		['PAGE','79501',jdecode('Keyboards'),jdecode(''),'/72701/79501.html','true',[],''],
		['PAGE','73043',jdecode('Gitarren'),jdecode(''),'/72701/73043.html','true',[],''],
		['PAGE','73064',jdecode('Blasinstrumente+'),jdecode(''),'/72701/73064.html','true',[],'']
	],''],
	['PAGE','41273',jdecode('Kursangebote'),jdecode(''),'/41273.html','true',[],''],
	['PAGE','41291',jdecode('Neuigkeiten'),jdecode(''),'/41291.html','true',[],''],
	['PAGE','41282',jdecode('Veranstaltungen'),jdecode(''),'/41282.html','true',[],''],
	['PAGE','41710',jdecode('Einblicke'),jdecode(''),'/41710.html','true',[],''],
	['PAGE','41309',jdecode('Kontakt+-+Impressum'),jdecode(''),'/41309.html','true',[],''],
	['PAGE','41373',jdecode('Anfahrt'),jdecode(''),'/41373.html','true',[],''],
	['PAGE','41838',jdecode('G%C3%A4stebuch'),jdecode(''),'/41838/home.html','false',[ 
		['PAGE','41837',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41838/41837.html','false',[],'']
	],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Music';
theSitetree.paletteFamily='A8A6A6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10715';
theSitetree.graphicsetId='10822';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Music',
				paletteFamily: 	'A8A6A6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10715',
				graphicsetId: 	'10822',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'A8A6A6',
				e_color: 		'777676',
				f_color: 		'777676',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41373',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1007']=webappMappings['1007-10ca6fdb605']={
webappId:    '1007',
documentId:  '41710',
internalId:  '10ca6fdb605',
customField: 'g.11ijfdnan.2q8ihvvnfkv.3o'
};
webappMappings['1002']=webappMappings['1002-41838atoix0i7mi0k']={
webappId:    '1002',
documentId:  '41838',
internalId:  '41838atoix0i7mi0k',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41838atoix0i7mi0k']={
webappId:    '1002',
documentId:  '41837',
internalId:  '41838atoix0i7mi0k',
customField: 'action=list'
};
webappMappings['1008']=webappMappings['1008-18421413']={
webappId:    '1008',
documentId:  '41309',
internalId:  '18421413',
customField: 'de:DE:'
};
webappMappings['1008']=webappMappings['1008-18465752']={
webappId:    '1008',
documentId:  '41273',
internalId:  '18465752',
customField: 'de:DE:'
};
webappMappings['1501']=webappMappings['1501-18593553']={
webappId:    '1501',
documentId:  '44',
internalId:  '18593553',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73043',
internalId:  '',
customField: '20110421-120953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110823-224905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41291',
internalId:  '',
customField: '20110507-221243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41264',
internalId:  '',
customField: '20110406-161837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41273',
internalId:  '',
customField: '20110628-153857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41282',
internalId:  '',
customField: '20110921-103228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41710',
internalId:  '',
customField: '20061128-222755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41309',
internalId:  '',
customField: '20070304-173743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41373',
internalId:  '',
customField: '20070304-173923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41838',
internalId:  '',
customField: '20060729-180443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41837',
internalId:  '',
customField: '20060729-180443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73064',
internalId:  '',
customField: '20110418-161942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72701',
internalId:  '',
customField: '20110420-232553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73001',
internalId:  '',
customField: '20110418-162838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73022',
internalId:  '',
customField: '20110823-225416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79501',
internalId:  '',
customField: '20110610-122121'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7MI0K';
var companyName   = 'musikhaus+plat';
var htmlTitle	  = 'musikhaus+plat';
var metaKeywords  = 'musikhaus+plat.+Musik.+Gettorf.+Musikinstrumente.+Digitalpianos.+Sakralorgel.++Roland+Musikinstrumente.+Keyboardunterricht.+Musicalchor+Gettorf.+Fl%C3%B6tenkurse.+Kinder-Musical-Chor.+Junge+B%C3%BChne+Gettorf.+Veranstaltungen+Musikhaus+Plat++Klaviere+Kiel.+Klaviere+Gettorf.+Klavier+gebraucht.+Klavier.+Klaviere';
var metaContents  = 'musikhaus+plat.+Hier+finden+sie+hochwertige+Musikinstrumente%2C+Zubeh%C3%B6r%2C+Noten%2C+ein+reichhaltiges+Kursangebot+und+Veranstaltungen+rund+um+das+Thema+Musik+';
					                                                                    
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 */					                                                            

