/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','4498',jdecode('Homepage+%2F+Startseite'),jdecode(''),'/4498.html','true',[],''],
	['PAGE','4555',jdecode('About+us+%2F+%C3%9Cber+uns'),jdecode(''),'/4555.html','true',[],''],
	['PAGE','4582',jdecode('Services+%2F+Angebot'),jdecode(''),'/4582.html','true',[],''],
	['PAGE','4609',jdecode('Market+Reports'),jdecode(''),'/4609.html','true',[],''],
	['PAGE','4636',jdecode('Asia%2FChina+Market'),jdecode(''),'/4636.html','true',[],''],
	['PAGE','4663',jdecode('Switzerland+Market'),jdecode(''),'/4663.html','true',[],''],
	['PAGE','4690',jdecode('Contact+us+%2F+Kontakt'),jdecode(''),'/4690/index.html','true',[ 
		['PAGE','42421',jdecode('Contact+us+%2F+Kontakte+%28follow+up+page%29'),jdecode(''),'/4690/42421.html','false',[],'']
	],''],
	['PAGE','4717',jdecode('References+%2F+Referenzen'),jdecode(''),'/4717.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Global';
theSitetree.paletteFamily='333399';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='85';
theSitetree.graphicsetId='105';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Global',
				paletteFamily: 	'333399',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'85',
				graphicsetId: 	'105',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'242E8A',
				b_color: 		'FF9900',
				c_color: 		'000000',
				d_color: 		'EAEAEA',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4498',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4690',
internalId:  'abw0x0inx2jk48bc772c2f030f72',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '42421',
internalId:  'abw0x0inx2jk48bc772c2f030f72',
customField: 'followUp'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INX2JK';
var companyName   = 'OMC+Consulting';
var htmlTitle	  = 'Business+Consulting+Switzerland-Asia-China+%2F+Unternehmensberatung+Schweiz-Asien-China';
var metaKeywords  = 'google%2C+omni%2C+umfassend%2C+top+management%2C+business+consulting%2C+strategy+consulting%2C+services%2C+Unternehmensberatung%2C+Gesch%C3%A4ftsberatung%2C+Strategieberatung%2C+Unternehmensf%C3%BChrung%2C+F%C3%BChrungsberatung%2C+Beratung%2C+Courses%2C+Training%2C+Kurse%2C+Ausbildung%2C+SME%2C+KMU%2C+Zug%2C+Aargau%2C+Freiamt%2C+Z%C3%BCrich%2C+Zurich%2C+Luzern%2C+Lucerne%2C+low+taxes%2C+Schweiz%2C+Switzerland%2C+Swiss%2C+Asien%2C+Asia%2C+China%2C+Singapore%2C+Singapur%2C+Malaysia%2C+Hongkong%2C+Thailand%2C+Taiwan%2C+Japan%2C+Australia%2C+Australien%2C+company%2C+firm%2C+Firma%2C+Firmen%2C+holding%2C+founding%2C+formation%2C+offshore%2C+Gr%C3%BCndung%2C+mandate%2C+Mandat%2C+strategy%2C+Strategie%2C+business+plan%2C+marketing%2C+research%2C+market+assessment%2C+market+introduction%2C+Markt+Untersuchung%2C+Marktbeurteilung%2C+Markteinf%C3%BChrung%2C+change%2C+knowledge%2C+project%2C+management%2C+on+time%2C+Projekt%2C+Projektleitung%2C+hightec%2C+high+tech%2C+technology%2C+technologies%2C+Technologie%2C+F%C3%BChrung+auf+Zeit%2C+Management+auf+Zeit%2C+business+model%2C+Gesch%C3%A4ftsmodell%2C+organization%2C+Organisation%2C+investment+goods%2C+Investitionsg%C3%BCter%2C+innovation%2C+branding%2C+franchise%2C+franchising%2C+Projektleitung%2C+integration+process%2C+Integrationsprozess%2C+brand%2C+branding%2C+trade+mark%2C+semiconductor%2C+Halbleiter%2C+market+report%2C+technology+report%2C+Marktbericht%2C+Technologiebericht%2C+Private+Residence%2C+Investment';
var metaContents  = 'Management+Consulting%2C+Formation+of+a+Company+in+Switzerland%2C+Connections+between+China+%2F+Asia+and+Switzerland.+F%C3%BChrungsberatung+und+Coaching%2C+Gesch%C3%A4ftsverbindungen+zwischen+der+Schweiz+und+China+%2F+Asien.';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
