/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13807',jdecode('Die+Schmuckparty'),jdecode(''),'/13807.html','true',[],''],
	['PAGE','13812',jdecode('Der+Schmuck'),jdecode(''),'/13812.html','true',[],''],
	['PAGE','40501',jdecode('Buchungsgeschenk'),jdecode(''),'/40501.html','true',[],''],
	['PAGE','13822',jdecode('Termin+%2F+Anfragen+'),jdecode(''),'/13822/home.html','true',[ 
		['PAGE','37902',jdecode('Termin+Anfrage++%28Folgeseite%29'),jdecode(''),'/13822/37902.html','false',[],'']
	],''],
	['PAGE','13817',jdecode('Messen+%2F+Termine'),jdecode(''),'/13817.html','true',[],''],
	['PAGE','41101',jdecode('Impressum'),jdecode(''),'/41101.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Party';
theSitetree.paletteFamily='0035E0';
theSitetree.keyvisualId='3527';
theSitetree.keyvisualName='kv_3527.jpg';
theSitetree.fontsetId='10441';
theSitetree.graphicsetId='10806';
theSitetree.contentColor='C6CEE8';
theSitetree.contentBGColor='0035E0';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Party',
				paletteFamily: 	'0035E0',
				keyvisualId: 	'3527',
				keyvisualName: 	'kv_3527.jpg',
				fontsetId: 		'10441',
				graphicsetId: 	'10806',
				contentColor: 	'C6CEE8',
				contentBGColor: '0035E0',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'E6FFAB',
				e_color: 		'E6FFAB',
				f_color: 		'E6FFAB',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0in2z8t101253c8453']={
webappId:    '1001',
documentId:  '13822',
internalId:  'atoix0in2z8t101253c8453',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2z8t101253c8453']={
webappId:    '1001',
documentId:  '37902',
internalId:  'atoix0in2z8t101253c8453',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20100131-195552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13822',
internalId:  '',
customField: '20050311-234507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13817',
internalId:  '',
customField: '20100131-191328'
};
webappMappings['1501']=webappMappings['1501-8935062']={
webappId:    '1501',
documentId:  '13801',
internalId:  '8935062',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40501',
internalId:  '',
customField: '20090220-231105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20050311-220451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13807',
internalId:  '',
customField: '20050311-233712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37902',
internalId:  '',
customField: '20050311-235127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41101',
internalId:  '',
customField: '20060711-203602'
};
var canonHostname = 'cfawrk06.aul.t-online.de';
var accountId     = 'ATOIX0IN2Z8T';
var companyName   = 'SCHMUCKPARTY';
var htmlTitle	  = 'Schmuckparty++%2F+Schmuckkauf+einmal+anders';
var metaKeywords  = 'Schmuckparty%2C+Schmuckabend%2CHeimparty%2CPartyabend%2CSchmuck%2CKinderschmuck%2CSilberschmuck%2CGoldschmuck%2CHerrenschmuck%2CSchmuck%2CFelix%2CJanosch%2CTigerente%2CGrasberg%2CBremen%2C+Osterholz%2COsterholz-Scharmbeck%2COHZ%2CROW%2CRotenburg%2CWorpswede%2CUhren%2CLeipzig%2CAnette%2CLutz%2CB%C3%B6hland%2CTarmstedt%2CGrasberg%2CAllergie%2CParty%2CAccessoiers%2CTarmstedter+Ausstellung%2CHomeparty%2CGeschenk%2CAdolphsdorf%2CSilberschmuck%2CKinderschmuck%2CLilientahl%2C';
var metaContents  = 'Genie%C3%9Fen+Sie+das+Privileg+der+ungest%C3%B6rten+Auswahl+bei+sich+zu+Hause+und+lassen+Sie+sich+bei+der+Zusammenstellung+Ihrer+pers%C3%B6nlichen+Kollektion+von+Ihrer+Schmuckberaterin+helfen.+Laden+Sie+hierzu+gleich+ein+paar+Freunde+und+Bekannte+ein+und+verbringen+ein+paar+sch%C3%B6ne+Stunden.';
					                                                                    
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 */					                                                            

