/* [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/home.html','true',[ 
		['PAGE','13701',jdecode('Leistungsspektrum'),jdecode(''),'/4579/13701.html','true',[],''],
		['PAGE','13728',jdecode('Gebrauchtmaschinen'),jdecode(''),'/4579/13728.html','true',[],''],
		['PAGE','23326',jdecode('gebrauchte+Droop+%26+Rein'),jdecode(''),'/4579/23326.html','true',[],''],
		['PAGE','23278',jdecode('Oldtimer'),jdecode(''),'/4579/23278.html','true',[],''],
		['PAGE','13755',jdecode('Geschichte'),jdecode(''),'/4579/13755.html','true',[],''],
		['PAGE','13782',jdecode('Referenzen'),jdecode(''),'/4579/13782.html','true',[],''],
		['PAGE','13809',jdecode('Stundens%C3%A4tze'),jdecode(''),'/4579/13809.html','true',[],''],
		['PAGE','13836',jdecode('Gesch%C3%A4ftsbedingungen'),jdecode(''),'/4579/13836.html','true',[],''],
		['PAGE','15332',jdecode('Impressum+u.++Kontakt'),jdecode(''),'/4579/15332.html','true',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Quadrat';
theSitetree.paletteFamily='4755D5';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10449';
theSitetree.graphicsetId='10838';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Quadrat',
				paletteFamily: 	'4755D5',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10449',
				graphicsetId: 	'10838',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'4755D5',
				e_color: 		'807E7E',
				f_color: 		'434242',
				hasCustomLogo: 	'true',
				contentFontFace:'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: '20100115-085615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13728',
internalId:  '',
customField: '20100221-115533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23278',
internalId:  '',
customField: '20071221-183955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20071221-185852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23326',
internalId:  '',
customField: '20100221-102503'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13755',
internalId:  '',
customField: '20090512-163049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13782',
internalId:  '',
customField: '20080127-120245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13809',
internalId:  '',
customField: '20081116-114416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13836',
internalId:  '',
customField: '20070819-193925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15332',
internalId:  '',
customField: '20081012-133730'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0INLWLA';
var companyName   = 'Rein+CNC-Service+GmbH+Bielefeld';
var htmlTitle	  = 'Rein+CNC-Service+GmbH+Bielefeld%2C+Germany';
var metaKeywords  = 'titleRein+CNC-Service+GmbH+Bielefeld%2C+Germany%2Ftitle+Meta+name+%3D+Publisher+content+%3D+Rein+GmbHMeta+name+%3D+Author+content+%3D+Martin+ReinMeta+name+%3D+Copyright+content+%3D+%C2%A9+Meta+name+%3D+Revisit-after+content+%3D+5Meta+name+%3D+Expires+content+%3D+noneMeta+name+%3D+Keywords+content+%3D+Heidenhain%2CFidia%2CCNC%2CTNC%2CFr%C3%A4smaschine%2CBohrwerk%2CDemontage%2CBetriebsumz%C3%BCge%2CMaschinenumz%C3%BCge%2CMaschinentransporte%2CVerlagerung%2CSchwerlast%2Cinnerbetriebliche%2CTransporte%2CContainer%2CVerladung%2CRetrofit%2CService%2CUmbau%2CKundendienst%2CInstandhaltung%2CReparatur%2CMontage%2CDST%2CDroop+++Rein%2CDroop%2CFOG%2CFSM%2CFPV%2CModimill%2CSchwerzerspanung%2CScharmann%2CWotan%2CChiron%2CHeyligenstaedt%2CHeyco%2CWaldrich%2CBok%C3%B6%2CBohner%2CK%C3%B6hle%2CFluri%2COerlikon%2CSIP%2CKolb%2CSchiess%2CAschersleben%2CLine%2CForest%2CLin%C3%A9%2CHuron%2CKekeisen%2CReiden%2CMecof%2CRambaudi%2CParpas%2CSoraluce%2CButler%2CAnayak%2CMetba%2CSHW%2CDMU%2CDeckel%2CMaho%2CGildemeister%2CMikron%2CHermle%2CKlopp%2CFPT%2CZayer%2CCorrea%2CHartk%C3%A4mper%2CWeisser%2CZPS%2CWemas%2CDepo%2CDufieux%2CUnittool%2CKSP%2CWerkzeugmaschinenservice%2CKittel%2CMaschinenservice%2CLKS%2CKlipp%2CM%C3%B6nkem%C3%B6ller%2CNAME%2CDRNA%2CNiveltronik%2CWerkzeugmaschinen%2Cmilling%2Cmills%2CBielefeld%2CHydraulikheber%2CFixator%2CGabelstapler%2CAutokran%2CSiemens+Simatic+S3+111Meta+name+%3D+Description+content+%3D+Instandhaltung%2C+Umbau%2C+Demontage+und+Verkauf+von+gebrauchten+WerkzeugmaschinenMeta+name+%3D+Pagetopic+content+%3D+DienstleistungMeta+name+%3D+Pagetype+content+%3D+Private+HomepageMeta+name+%3D+Audience+content+%3D+ExpertenMeta+name+%3D+Robots+content+%3D+robots.txt+Meta+name+%3D+Author+content+%3D+Martin+Rein+Meta+name+%3D+Copyright+content+%3D+%C2%A9++Meta+name+%3D+Revisit-after+content+%3D+5+Meta+name+%3D+Expires+content+%3D+noneINDEX%2CNOFOLLOW';
var metaContents  = 'Instandhaltung%2C+Umbau%2C+Demontage+und+Verkauf+von+gebrauchten+Werkzeugmaschinen+Heidenhain+Fidia+CNC+TNC+Fr%C3%A4smaschine+Bohrwerk+Demontage+Betriebsumz%C3%BCge+Maschinenumz%C3%BCge+Schwerlast+innerbetriebliche+Transporte+Container+Verladung+Retrofit+Service+Umbau+Kundendienst+Reparatur+Montage+DST+Droop+Rein+FOG+Modimill+Schwerzerspanung+Scharmann+Wotan+Chiron+Heyligenstaedt+Heyco+Waldrich+Bok%C3%B6+Bohner+K%C3%B6hle+Fluri+Oerlikon+SIP+Kolb+Schiess+Aschersleben+Line+Forest+Lin%C3%A9+Huron+Kekeisen+Reiden+Mecof+Rambaudi+Parpas+Soraluce+Butler+Anayak+Metba+SHW+DMU+Deckel+Maho+Gildemeister+Mikron+Hermle+Klopp+FPT+Zayer+Correa+Hartk%C3%A4mper+Weisser+ZPS+Wemas+Depo+Unittool+KSP+Kittel+LKS+Klipp+M%C3%B6nkem%C3%B6ller+NAME+DRNA+Niveltronic+Werkzeugmaschinen+milling+mills+Bielefeld+Hydraulikheber+Fixator+Autokran';
					                                                                    
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 */					                                                            
