/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','50101',jdecode('+%E2%86%92+GOLDANKAUF+%E2%86%90'),jdecode(''),'/50101.html','true',[],''],
	['PAGE','157601',jdecode('Goldm%C3%BCnzen+Verk.'),jdecode(''),'/157601/home.html','true',[ 
		['PAGE','157622',jdecode('Kaiserreich'),jdecode(''),'/157601/157622.html','false',[],'']
	],''],
	['PAGE','160701',jdecode('Goldbarren+Verk.'),jdecode(''),'/160701/home.html','true',[ 
		['PAGE','160722',jdecode('1+Unze'),jdecode(''),'/160701/160722.html','false',[],''],
		['PAGE','160785',jdecode('5+Gramm'),jdecode(''),'/160701/160785.html','false',[],''],
		['PAGE','160764',jdecode('100+Gramm'),jdecode(''),'/160701/160764.html','false',[],''],
		['PAGE','160743',jdecode('Goldbarren+Ankauf'),jdecode(''),'/160701/160743.html','false',[],'']
	],''],
	['PAGE','158701',jdecode('Silberm%C3%BCnzen+Verk.'),jdecode(''),'/158701.html','true',[],''],
	['PAGE','207501',jdecode('Gold+-+Silber+Verkauf'),jdecode(''),'/207501.html','true',[],''],
	['PAGE','41469',jdecode('Po+-+Polsku'),jdecode(''),'/41469.html','true',[],''],
	['PAGE','40832',jdecode('Kontakt'),jdecode(''),'/40832.html','true',[],''],
	['PAGE','41906',jdecode('Routenplaner+%2F+Anfahrt'),jdecode(''),'/41906.html','true',[],''],
	['PAGE','41303',jdecode('+AGB'),jdecode(''),'/41303.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='F9C060';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33357';
theSitetree.graphicsetId='14227';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='834008';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'F9C060',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33357',
				graphicsetId: 	'14227',
				contentColor: 	'FFFFFF',
				contentBGColor: '834008',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100910-083653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41906',
internalId:  '',
customField: '20100817-112547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40832',
internalId:  '',
customField: '20100701-161008'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41906',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-56260512']={
webappId:    '1008',
documentId:  '40832',
internalId:  '56260512',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41303',
internalId:  '',
customField: '20100709-145733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41469',
internalId:  '',
customField: '20100608-072333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160701',
internalId:  '',
customField: '20100906-145602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157622',
internalId:  '',
customField: '20100807-141434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50101',
internalId:  '',
customField: '20100903-074649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '207501',
internalId:  '',
customField: '20100901-080722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160764',
internalId:  '',
customField: '20100111-092425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157601',
internalId:  '',
customField: '20100903-074705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160785',
internalId:  '',
customField: '20100111-092425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '158701',
internalId:  '',
customField: '20100901-080634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160722',
internalId:  '',
customField: '20100330-083616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160743',
internalId:  '',
customField: '20100111-092425'
};
webappMappings['7091']=webappMappings['7091-25473']={
webappId:    '7091',
documentId:  '39994',
internalId:  '25473',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-49756']={
webappId:    '7091',
documentId:  '41906',
internalId:  '49756',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRN0VT';
var companyName   = 'Goldankauf+Hamburg+Gold+Ankauf+Verkauf+Hamburg';
var htmlTitle	  = 'Goldankauf+%2B+Silberbesteck%2C+Platin%2C+Goldm%C3%BCnzen+Ankauf+Verkauf+Hamburg';
var metaKeywords  = 'Goldankauf%2C+Silberbesteck%2C+Goldverkaufen%2C+Hamburg%2C+Goldm%C3%BCnzen%2C+Gold+Ankauf%2C+Gold%2C+M%C3%BCnzen%2C+Verkauf%2C+Anlage%2C++Kaufen%2C+Goldbarren%2C+Goldschmuck%2C+Reste%2C+Silber%2C+Zahngold%2C+Kr%C3%BCgerrand%2C+K%C3%A4nguruh%2C+Eagle%2C+Maple+Leaf%2C+Philharmoniker%2C+Winer%2C+Verkaufen%2C+Harburg%2C+S%C3%BCd%2C+S%C3%BCderelbe%2C+Neuwiedenthal%2C+Hausbruch%2C+in%2C+aus%2C+bei%2C+auch%2C++Edelmetalle%2C+Brilanten%2C+Diamanten%2C+Gold+Uhr.+Skup+Zlota%2C+Skup+Srebra%2C+Sprzedaz+zlota%2C+Monet%2C+Monetarne%2C+Monety%2C+sztabki%2C+zeby%2C+zlote%2C+pierscionki%2C+branzoletki%2C+bizuteria%2C+';
var metaContents  = 'Goldankauf+Silberbesteck+Goldm%C3%BCnzen+Platin+Ankauf+Verkauf+Goldada+Hamburg+den+korrekten+und+fairen+Partner+f%C3%BCr+den+Goldankauf+jederart.+Wir+kaufen+alle+Edelmetalle+wie+z.B.+Goldbarren+ankauf%2C+Goldm%C3%BCnzen+ankauf%2C+Kr%C3%BCgerrand+ankauf%2C+Nugget+%2F++K%C3%A4nguruh+ankauf%2C+Maple+Leaf+ankauf%2C+Britannia+ankauf%2C+Philharmonniker+ankauf%2C+Eagle+ankauf%2C+Altgold+ankauf%2C+Bruchgold+ankauf%2C++Zahngold+ankauf%2C+Platin+ankauf%2C+Platinbarren+ankauf%2C+Schmuck+ankauf%2C+Silber+ankauf%2C+Silberbarren+ankauf%2C+Silberm%C3%BCnzen+ankauf%2C+Silberbesteck+ankauf%2C+Tafelsilber+ankauf%2C+Silber+und+Gold+Reste+von+Stanze+und+alle+Silber%2C+Gold%2C+Platin+Gegenst%C3%A4nde.+Goldankauf+Goldada+Hamburg+Tel.+040+%2F+796+56+54';
					                                                                    
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 */					                                                            
