/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','117396',jdecode('Info'),jdecode(''),'/117396.html','true',[],''],
	['PAGE','13744',jdecode('PS3'),jdecode(''),'/13744.html','true',[],''],
	['PAGE','13717',jdecode('PS2+-++PStwo'),jdecode(''),'/13717.html','true',[],''],
	['PAGE','13663',jdecode('PS1+-++PSone'),jdecode(''),'/13663.html','true',[],''],
	['PAGE','91721',jdecode('PSP+Phat+-+Slim'),jdecode(''),'/91721.html','true',[],''],
	['PAGE','94024',jdecode('XBox+-+XBox360'),jdecode(''),'/94024.html','true',[],''],
	['PAGE','85446',jdecode('Nintendo+Wii'),jdecode(''),'/85446.html','true',[],''],
	['PAGE','13825',jdecode('Kontakt'),jdecode(''),'/13825.html','true',[],''],
	['PAGE','13879',jdecode('Impressum'),jdecode(''),'/13879.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Stars';
theSitetree.paletteFamily='3C5284';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10510';
theSitetree.graphicsetId='10913';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='3C5284';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stars',
				paletteFamily: 	'3C5284',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10510',
				graphicsetId: 	'10913',
				contentColor: 	'FFFFFF',
				contentBGColor: '3C5284',
				a_color: 		'3C5284',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120221-140424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13717',
internalId:  '',
customField: '20090628-173843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13744',
internalId:  '',
customField: '20111010-125633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13663',
internalId:  '',
customField: '20100113-113237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94024',
internalId:  '',
customField: '20110102-104748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85446',
internalId:  '',
customField: '20071221-104029'
};
webappMappings['7050']=webappMappings['7050-1']={
webappId:    '7050',
documentId:  '117396',
internalId:  '1',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91721',
internalId:  '',
customField: '20110102-104710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13825',
internalId:  '',
customField: '20100623-115509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13879',
internalId:  '',
customField: '20101109-110006'
};
webappMappings['1501']=webappMappings['1501-876024']={
webappId:    '1501',
documentId:  '4579',
internalId:  '876024',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117396',
internalId:  '',
customField: '20070901-174730'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INVD9O';
var companyName   = 'PSX+Service.de+++++++++++++Playstation+und+mehr';
var htmlTitle	  = 'Umbau+-+Reparaturen+f%C3%BCr+fast+alle+Konsolen';
var metaKeywords  = 'PS2+%2F+PSX+Service.de%2F+Finalchipumbau+%2F+Chipeinbau+%2F+X-Box+%2FReparatur+%2Fpsxservice+%2FChip%2FMatrix+Infinity+%2F+Ersatzteile+2%2FPSX%2FChipumbau%2FFinalchipeinbau%2FPS2+Umbau%2FPS2+Einbau%2FPS2+Chippsxservice.de+%2C+Konsolen+Umbauten+%2C+Reparaturen+%2C+Chips%2C+X-Box+Infinity%2CFinalchip%2CChipeinbau%2CPSX+Umbau+%2CPS2+ErsatzteileWii%2C+Game+Cube%2C+Playstation%2C+Matrix%2C+PSP%2C+PSP+flash%2C+PS3%2C+PS%2C+boot%2Cmen%C3%BC%2Cl%C3%B6ten%2Ccyclo%2C+cyclowiz%2Cwiikey%2Cwiid%2Ccrystal%2Cduox2%2C3.10OE%2CUmbau%2CKonsolentuning%2Cps2tools';
var metaContents  = 'PSXService.de+%2C+Umbau+und+Reparaturen+f%C3%BCr+fast+alle+Konsolen.Sony++Nintendo+und+die+XBox';
					                                                                    
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 */					                                                            

