/* [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','401',jdecode('Firma'),jdecode(''),'/401.html','true',[],''],
	['PAGE','494',jdecode('Oferta'),jdecode(''),'/494/index.html','true',[ 
		['PAGE','515',jdecode('Wentylacja'),jdecode(''),'/494/515.html','true',[],''],
		['PAGE','536',jdecode('Plazma+i+gaz+CNC'),jdecode(''),'/494/536.html','true',[],''],
		['PAGE','557',jdecode('Konstrukcje'),jdecode(''),'/494/557.html','true',[],'']
	],''],
	['PAGE','620',jdecode('Kontakt'),jdecode(''),'/620.html','true',[],'']];
var siteelementCount=6;
theSitetree.topTemplateName='Finance';
theSitetree.paletteFamily='EBF2FF';
theSitetree.keyvisualId='2732';
theSitetree.keyvisualName='computer.jpg';
theSitetree.fontsetId='26942';
theSitetree.graphicsetId='10675';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Finance',
				paletteFamily: 	'EBF2FF',
				keyvisualId: 	'2732',
				keyvisualName: 	'computer.jpg',
				fontsetId: 		'26942',
				graphicsetId: 	'10675',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'wsc1.home.net.pl';
var accountId     = 'AHPL10INXPOH';
var companyName   = 'K%26K+Engineering+s.c.';
var htmlTitle	  = 'KandK+Engineering+s.c.+-+HVAC+wentylacja+i+klimatyzacja%2C+ci%C4%99cie+plazm%C4%85+CNC%2C+konstrukcje+stalowe%2C+projektowanie%2C+produkcja%2C+monta%C5%BC';
var metaKeywords  = 'KK%3B+Kamp%3BK%2C+polska%2C+dolno%C5%9Bl%C4%85skie%2C+wroc%C5%82aw%2C+jelenia+g%C3%B3ra++ci%C4%99cie+plazmowe+CNC%2C+ci%C4%99cie+plazm%C4%85+CNC%2C+konstrukcje+stalowe%2C+spawanie++poland++cnc+plasma+cutting%2C+steel+constructions%2C+welding++polen%2C+niederschlesien%2C+breslau%2C+hirschberg++CNC+plasma+schneiden%2C+stahl+konstruktionen%2C+stahlkonstruktionen%2C+schweissen%2C+schwei%C3%9Fen++wentylacja%2Cklimatyzacja%2Cklima%2Cwentylator%2Cluft%2Cwiatraczek%2Cnawiew%2Cnawiewy%2Cdmuchawa%2Cwentylowanie%2Cpowietrze%2Cbadanie%2Cwentylacji%2Cpomiar%2Cklimatyzacji%2Cventilation+systems%2Cair+conditioning%2CKlimaanlage%2Cserwis%2Cmitsubishi%2Cmitsubishi+electric%2Cwentylacyjne%2Cdomus+ducting%2Celicent%2Cventure%2Cwywietrznik%2Cwietrznik+wentylacyjne%2C+klimatyzacyjne%2C+domowa+wentylacja+i+klimatyzacja%2C+Technika+wentylacyjna%2C+Wentylacja%2C+Klimatyzacja%2C+Ochrona+akustyczna%2C+Spiro%2C+Przesy%C5%82+powietrza%2C+T%C5%82umik+akustyczny%2C+Wibroizolatory%2C+Dob%C3%B3r+t%C5%82umik%C3%B3w%2C+Kapsu%C5%82y%2C+Stara+Kamienica%2C+System+rur%2C+T%C5%82umiki+ci%C5%9Bnieniowe%2C+DUCoaT%2C+Asonatory%2C+Akustyka%2C+Czyste+powietrze%2C+Nawiew%2C+Wywiew%2C+Halar%2C+Kana%C5%82y+wentylacyjne%2C+Kszta%C5%82tki+wentylacyjne%2C+RAL%2C+VDI+6022%2C+Wyrzutnie%2C+Czerpnie%2C+Kulisy%2C+Ci%C4%85g+wentylacyjny%2C+Kszta%C5%82tki%2C+Ha%C5%82as%2C+T%C5%82umienie%2C+D%C5%BAwi%C4%99koch%C5%82onne%2C+Ci%C5%9Bnienie%2C+Turmy%2C+%C5%9Aciany+t%C5%82umi%C4%85ce%2C+Wibroizolacja%2C+Kolano%2C+Prefanbrykacja%2C+Tr%C3%B3jnik%2C+Redukcje%2C+Podwieszanie+kana%C5%82%C3%B3w%2Cwentylacja%2C+kana%C5%82y+wentylacyjne%2C+kana%C5%82y+prostok%C4%85tne%2C+kana%C5%82y+owalne%2C+przewody+elastyczne%2C+gi%C4%99tkie+przewody%2C+akcesoria+wentylacyjne%2C+kratki+wentylacyjne%2C+anemostaty%2C+nawiewniki%2C+elementy+rewizyjne%2C+ta%C5%9Bmy+monta%C5%BCowe%2C+t%C5%82umiki+akustyczne%2C+przewody+kominowe%2C+kszta%C5%82tki+wentylacyjne%2C+WENTYLACJA%2C+KLIMATYZACJA%2C+WENTYLACYJNE%2C+kana%C5%82y+izolowane%2C+przepustnice+wentylacyjne%2C+aluminiowe+przewody%2C+kszta%C5%82tki+t%C5%82oczone%2C+elastyczne+przewody+aluminiowe+z+izolacj%C4%85%2C+kolanka+segmentowe%2C+rekuperacja%2C+elementy+dachowe%2C+wyrzutnie%2C+klimatyzacja%2C+eurovent%2C+squer+system%2C+flex+system%2C+spiroval+system%2C+wentyle%2C+tomicad%2C+si%C5%82owniki%2C+kominki%2C+obejmy%2C+izolacja%2C+prefabrykaty+wentylacyjne%2C+sztucer%2C+HVAC%2C+nak%C5%82adka+auto+cad%2C+biblioteka+auto+cad%2C+centrum+klima%2C+berlinerluft%2C+karpol%2C+ciecholewski%2C+lindab%2C+izomont%2C+mimet%2C+instal%2C+belimo%2C+flekswent%2C+kmw%2C+tkt%2C+kranz%2C+klimor%2C+pawa%2C+ossmet%2C+frapol%2C+kominflex%2C+komin%2C+spiroflex%2C+dostawca+kompletnych+system%C3%B3w+wentylacyjnych%2C+producent+system%C3%B3w+wentylacyjnych%2C+systemy+wentylacyjne%2C+klimatyzacja%2C+wentylacja%2CLuftfouml%3Brderung%2C+Luftfuuml%3Bhrung%2C+Luftkonditionierung%2C+Luftregulierung%2C+Luftverteilung%2C+Schalldauml%3Bmmsysteme%2C+Brandschutzsysteme%2C+KK+entwickelt%2C+produziert+und+vermarktet+Bauteile%2C+Komponenten+und+Ger%C3%A4te+f%C3%BCr+die+Luft-+und+Klimatechnik+sowie+den+qualifizierten+Metallbau%2C+Radialventilatoren%2C+Dachventilatoren%2C+Brandgasventilatoren%2C+Zubehouml%3Br+und+Ersatzteile%2C+Engineering%2C++Zu-+und+Abluft+Technik%2C+Prozessluftsysteme+geschweiszlig%3Bt%2C+Zu-+und+Abluftgitter%2C+Sichtschutzgitter%2C+Schlitzauslauml%3Bsse%2C+Weitwurfduuml%3Bsen%2C+Quell-+%2F+Sonderauslauml%3Bsse%2C+Deckenluftdurchlauml%3Bsse%2C+Dralldurchlauml%3Bsse%2C+Luuml%3Bftungsventile+Kuuml%3Bhldeckensysteme%2C+Volumenstromregler%2C+Drossel-+und+Absperrklappen%2C+Irisblenden+Jalousieklappen%2C+Schalldauml%3Bmmerzeugnisse+eckig%2C+Schalldauml%3Bmmerzeugnisse+rund%2C+Schallschutzkapseln%2C+Sonderkonstruktionen%2C+Maschinenraumverkleidungen%2C+BerlinerLuft.+Klimatechnik+Luftfouml%3Brderung%2C+Luftfuuml%3Bhrung%2C+Luftkonditionierung%2C+Luftregulierung%2C+Luftverteilung%2C+Schalldauml%3Bmmsysteme%2C+Brandschutzsysteme%2C+Metallbau%2C+Luuml%3Bftungstechnik%2CIndustrieventilator%2C+Tellerventil%2C+sendzimier-verzinkt%2C+Luuml%3Bftungsgitter%2C+Rohrschalldauml%3Bmpfer%2C+wentylacja%2C+kana%C5%82y+wentylacyjne%2C+kana%C5%82y+prostok%C4%85tne%2C+kana%C5%82y+owalne%2C+przewody+elastyczne%2C+gi%C4%99tkie+przewody%2C+akcesoria+wentylacyjne%2C+kratki+wentylacyjne%2C+anemostaty%2C+nawiewniki%2C+elementy+rewizyjne%2C+ta%C5%9Bmy+monta%C5%BCowe%2C+t%C5%82umiki+akustyczne%2C+przewody+kominowe%2C+kszta%C5%82tki+wentylacyjne%2C+WENTYLACJA%2C+KLIMATYZACJA%2C+WENTYLACYJNE%2C+kana%C5%82y+izolowane%2C+przepustnice+wentylacyjne%2C+aluminiowe+przewody%2C+kszta%C5%82tki+t%C5%82oczone%2C+elastyczne+przewody+aluminiowe+z+izolacj%C4%85%2C+kolanka+segmentowe%2C+rekuperacja%2C+elementy+dachowe%2C+wyrzutnie%2C+klimatyzacja%2C+eurovent%2C+squer+system%2C+flex+system%2C+spiroval+system%2C+wentyle%2C+tomicad%2C+si%C5%82owniki%2C+kominki%2C+obejmy%2C+izolacja%2C+prefabrykaty+wentylacyjne%2C+sztucer%2C+HVAC%2C+nak%C5%82adka+auto+cad%2C+biblioteka+auto+cad%2C+centrum+klima%2C+berlinerluft%2C+karpol%2C+ciecholewski%2C+lindab%2C+izomont%2C+mimet%2C+instal%2C+belimo%2C+flekswent%2C+kmw%2C+tkt%2C+kranz%2C+klimor%2C+pawa%2C+ossmet%2C+frapol%2C+kominflex%2C+komin%2C+spiroflex%2C+k-k%2C+Kamp%3BK%2Ckik%2Ckuk';
var metaContents  = 'Kamp%3BK+Engineering+s.c.%2C+KK%2C+to+firma+zajmuj%C4%85ca+sie+produkcj%C4%85+wentylacji%2C+ci%C4%99cia+CNC+blach+i+stali+o+grubo%C5%9Bci+od+0%2C5mm+do+100%2C0+mm%2C+produkcj%C4%85+element%C3%B3w+z+blach+i+ze+stali%2C+obr%C3%B3bk%C4%85+metali.+Nowoczesny+park+maszynowy+i+najlepsza+kadra+gwarantuje+szybk%C4%85+realizacj%C4%99+zlece%C5%84+z+najwy%C5%BCsz%C4%85+jako%C5%9Bci%C4%85.';
					                                                                    
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 */					                                                            

