/* [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','41087',jdecode('Kleines+W%C3%B6rterbuch'),jdecode(''),'/41087.html','true',[],''],
	['PAGE','46419',jdecode('Fotoalbum'),jdecode(''),'/46419.html','true',[],''],
	['PAGE','46712',jdecode('Buchbesprechungen'),jdecode(''),'/46712.html','true',[],''],
	['PAGE','70303',jdecode('Fragen+und+Antworten'),jdecode(''),'/70303.html','true',[],''],
	['PAGE','43355',jdecode('Links'),jdecode(''),'/43355.html','true',[],''],
	['PAGE','43325',jdecode('Im+G%C3%A4stebuch+lesen'),jdecode(''),'/43325.html','true',[],''],
	['PAGE','43326',jdecode('Ins+G%C3%A4stebuch+schreiben'),jdecode(''),'/43326.html','true',[],''],
	['PAGE','40063',jdecode('Kontakt'),jdecode(''),'/40063.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Roses';
theSitetree.paletteFamily='FFFBF2';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10743';
theSitetree.graphicsetId='10823';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFBF2';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roses',
				paletteFamily: 	'FFFBF2',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10743',
				graphicsetId: 	'10823',
				contentColor: 	'000000',
				contentBGColor: 'FFFBF2',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'787878',
				e_color: 		'9D584B',
				f_color: 		'9D584B',
				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['1501']=webappMappings['1501-1870902']={
webappId:    '1501',
documentId:  '44',
internalId:  '1870902',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20090930-081803'
};
webappMappings['1002']=webappMappings['1002-43326atoix0invy1m']={
webappId:    '1002',
documentId:  '43326',
internalId:  '43326atoix0invy1m',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-43326atoix0invy1m']={
webappId:    '1002',
documentId:  '43325',
internalId:  '43326atoix0invy1m',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46419',
internalId:  '',
customField: '20091219-162340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41087',
internalId:  '',
customField: '20060913-125047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46712',
internalId:  '',
customField: '20080618-074004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43355',
internalId:  '',
customField: '20061111-134551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43325',
internalId:  '',
customField: '20050821-151948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43326',
internalId:  '',
customField: '20050822-120739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40063',
internalId:  '',
customField: '20080501-135115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70303',
internalId:  '',
customField: '20080501-215010'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0INVY1M';
var companyName   = 'Quilt-Sterne';
var htmlTitle	  = 'Quilt-Sterne+***+DIE+deutschsprachige+Mailingliste+f%C3%BCr+QuilterInnen+***';
var metaKeywords  = 'Sternenquilter%2C+Quilt-Sterne%2C+Yahoo%2C+Sternenquilter%2C+Patchwork%2C+Patchen%2C+Quilt%2C+Quilten%2C+Quilting%2C+Applique%2C+Applikationen%2C+Steppdecke%2C+Quilts%2C+Dear+Jane%2C+Quilted+Diamonds%2C+Replica+Quilts';
var metaContents  = 'Quilt-Sterne%3A+die+Homepage+der+aeltesten+und+groessten+deutschsprachigen+Mailingliste+fuer+QuilterInnen.+Alles+ueber+Patchwork+und+Quilten.+Urspruenglich+am+20.03.00+als+Sternenquilter+gegruendet%2C+nennen+wir+uns+seit+dem+28.07.05+Quilt-Sterne%2C+um+nicht+mit+der+gleichlautenden+Webseite+Sternenquilter+verwechselt+zu+werden%2C+von+der+wir+uns+ausdruecklich+distanzieren.+';
					                                                                    
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 */					                                                            
