/* [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('Goldankauf+Hamburg'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','50101',jdecode('Goldankauf+Rechner'),jdecode(''),'/50101.html','true',[],''],
	['PAGE','298001',jdecode('Goldankauf+Preisliste'),jdecode(''),'/298001.html','true',[],''],
	['PAGE','273401',jdecode('Goldankauf+per+Post'),jdecode(''),'/273401.html','true',[],''],
	['PAGE','288301',jdecode('Zahngold+Ankauf'),jdecode(''),'/288301.html','true',[],''],
	['PAGE','333001',jdecode('Goldm%C3%BCnzen+Ankauf'),jdecode(''),'/333001.html','true',[],''],
	['PAGE','286201',jdecode('Goldbarren+Kaufen'),jdecode(''),'/286201.html','true',[],''],
	['PAGE','157601',jdecode('Goldm%C3%BCnzen+Kaufen'),jdecode(''),'/157601/home.html','true',[ 
		['PAGE','157622',jdecode('Kaiserreich+Goldm%C3%BCnzen'),jdecode(''),'/157601/157622.html','true',[],'']
	],''],
	['PAGE','160701',jdecode('Silberankauf+%26+Verkauf'),jdecode(''),'/160701/home.html','true',[ 
		['PAGE','160764',jdecode('Silberbesteck'),jdecode(''),'/160701/160764.html','true',[],''],
		['PAGE','160743',jdecode('Bruchsilber'),jdecode(''),'/160701/160743.html','true',[],''],
		['PAGE','160722',jdecode('Silberbarren'),jdecode(''),'/160701/160722.html','true',[],''],
		['PAGE','160785',jdecode('Silbergranulat'),jdecode(''),'/160701/160785.html','true',[],'']
	],''],
	['PAGE','242401',jdecode('Schmuck+Ankauf'),jdecode(''),'/242401/home.html','true',[ 
		['PAGE','242422',jdecode('Goldschmuck'),jdecode(''),'/242401/242422.html','true',[],'']
	],''],
	['PAGE','41469',jdecode('Skup+z%C5%82ota%2C+Skup+srebra'),jdecode(''),'/41469.html','true',[],''],
	['PAGE','40832',jdecode('Goldankauf+%2F+Kontakt'),jdecode(''),'/40832.html','true',[],''],
	['PAGE','41906',jdecode('Goldankauf+%2F+Anfahrt'),jdecode(''),'/41906.html','true',[],''],
	['PAGE','41303',jdecode('+Goldankauf+%2F+AGB'),jdecode(''),'/41303.html','true',[],'']];
var siteelementCount=20;
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: '20120206-081618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41906',
internalId:  '',
customField: '20120120-141503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40832',
internalId:  '',
customField: '20120118-094116'
};
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: '20111130-104815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41469',
internalId:  '',
customField: '20120206-083148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '333001',
internalId:  '',
customField: '20120206-081812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160701',
internalId:  '',
customField: '20120206-082012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157622',
internalId:  '',
customField: '20120122-092905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50101',
internalId:  '',
customField: '20120206-084125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '273401',
internalId:  '',
customField: '20120124-084623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160764',
internalId:  '',
customField: '20120206-082137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157601',
internalId:  '',
customField: '20111208-081716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160785',
internalId:  '',
customField: '20120206-082750'
};
webappMappings['7091']=webappMappings['7091-63157']={
webappId:    '7091',
documentId:  '50101',
internalId:  '63157',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160722',
internalId:  '',
customField: '20120206-082558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160743',
internalId:  '',
customField: '20120206-082527'
};
webappMappings['7091']=webappMappings['7091-63907']={
webappId:    '7091',
documentId:  '50101',
internalId:  '63907',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '242401',
internalId:  '',
customField: '20120206-082919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '242422',
internalId:  '',
customField: '20120206-083111'
};
webappMappings['7091']=webappMappings['7091-49756']={
webappId:    '7091',
documentId:  '41906',
internalId:  '49756',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '288301',
internalId:  '',
customField: '20120206-081652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '298001',
internalId:  '',
customField: '20120118-092950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '286201',
internalId:  '',
customField: '20120122-091640'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRN0VT';
var companyName   = 'Herzlich+Willkommen+bei+Goldankauf+Goldada+Hamburg';
var htmlTitle	  = 'Goldankauf+Hamburg+%7C+Gold+in+Hamburg+Verkaufen+%2B+Gold+Ankauf%2C+Goldschmuck%2C+Altgold%2C+Zahngold%2C+Goldm%C3%BCnzen+Ankauf+%2B+Verkauf';
var metaKeywords  = 'goldankauf%2C+gold+ankauf%2C+ankauf+gold%2C+gold+ankauf+verkauf%2C+goldankauf+hamburg%2C+harburg%2C+gold+verkaufen%2C+ankauf+gold+silber%2C+goldm%C3%BCnzen-ankauf%2C+silberbesteck%2C+Zahngold+ankauf%2C+schmuckgold+ankauf%2Cgold+ankauf+hamburg%2C';
var metaContents  = 'Goldankauf+Hamburg+%7C+Goldankauf+in+Hamburg+Goldankauf+per+Post.++Gold+Ankauf+auch+Gold+Verkauf.+Gold+Kaufen+Gold+Verkaufen.+Gold%2C+Altgold%2C+Bruchgold%2C+Goldschmuck%2C+Zahngold+ankauf+Gold%2C+Feingold%2C+Goldm%C3%BCnzen%2C+Silber+ankauf%2C+Silberbesteck%2C+Silberm%C3%BCnzen%2C+Barren%2C+Schmuck%2C+Goldgranulat%2C+Silbergranulat%2C+Platin.+Goldankauf+Gold+-+ada+in+Hamburg+S%C3%BCd.';
					                                                                    
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 */					                                                            

