/* [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','601',jdecode('Home'),jdecode(''),'/601.html','true',[],''],
	['PAGE','188301',jdecode('Reflects'),jdecode(''),'/188301/index.html','true',[ 
		['PAGE','74201',jdecode('Specials+'),jdecode(''),'/188301/74201.html','true',[],'']
	],''],
	['PAGE','31301',jdecode('Barowe'),jdecode(''),'/31301.html','true',[],''],
	['PAGE','202601',jdecode('Biuro'),jdecode(''),'/202601/index.html','true',[ 
		['PAGE','120701',jdecode('Decyzyjniki'),jdecode(''),'/202601/120701.html','true',[],''],
		['PAGE','293701',jdecode('Kalkulatory'),jdecode(''),'/202601/293701.html','true',[],''],
		['PAGE','206101',jdecode('Memoklipy'),jdecode(''),'/202601/206101.html','true',[],''],
		['PAGE','200701',jdecode('No%C5%BCyki+do+list%C3%B3w++Zak%C5%82adki'),jdecode(''),'/202601/200701.html','true',[],''],
		['PAGE','120722',jdecode('Wizytowniki'),jdecode(''),'/202601/120722.html','true',[],''],
		['PAGE','191001',jdecode('Wska%C5%BAniki+Laserowe'),jdecode(''),'/202601/191001.html','true',[],''],
		['PAGE','16401',jdecode('R%C3%B3%C5%BCne'),jdecode(''),'/202601/16401.html','true',[],'']
	],''],
	['PAGE','99201',jdecode('Breloczki'),jdecode(''),'/99201/index.html','true',[ 
		['PAGE','293722',jdecode('METALOWE'),jdecode(''),'/99201/293722.html','true',[],''],
		['PAGE','293743',jdecode('PLASTIKOWE'),jdecode(''),'/99201/293743.html','true',[],''],
		['PAGE','293764',jdecode('R%C3%B3%C5%BCne'),jdecode(''),'/99201/293764.html','true',[],'']
	],''],
	['PAGE','87301',jdecode('D%C5%82ugopisy%2C+o%C5%82%C3%B3wki%2C+etui+'),jdecode(''),'/87301/index.html','true',[ 
		['PAGE','192501',jdecode('METALOWE+d%C5%82ugopisy'),jdecode(''),'/87301/192501.html','true',[],''],
		['PAGE','165601',jdecode('Etui'),jdecode(''),'/87301/165601.html','true',[],''],
		['PAGE','100801',jdecode('Parker'),jdecode(''),'/87301/100801.html','true',[],''],
		['PAGE','120743',jdecode('Waterman'),jdecode(''),'/87301/120743.html','true',[],'']
	],''],
	['PAGE','31322',jdecode('Dom'),jdecode(''),'/31322.html','true',[],''],
	['PAGE','294201',jdecode('Gi%C4%99tkie'),jdecode(''),'/294201.html','true',[],''],
	['PAGE','22501',jdecode('GOLF'),jdecode(''),'/22501.html','true',[],''],
	['PAGE','70701',jdecode('Komputer+%26+Telefon'),jdecode(''),'/70701/index.html','true',[ 
		['PAGE','111501',jdecode('Pami%C4%99ci+USB+%28pendrive%29'),jdecode(''),'/70701/111501.html','true',[],''],
		['PAGE','129801',jdecode('Ramki+Cyfrowe'),jdecode(''),'/70701/129801.html','true',[],'']
	],''],
	['PAGE','293785',jdecode('LETNIE+i+pla%C5%BCowe'),jdecode(''),'/293785.html','true',[],''],
	['PAGE','22522',jdecode('MOTORYZACYJNE'),jdecode(''),'/22522.html','true',[],''],
	['PAGE','46701',jdecode('Narz%C4%99dzia'),jdecode(''),'/46701/index.html','true',[ 
		['PAGE','294222',jdecode('LATARKI'),jdecode(''),'/46701/294222.html','true',[],''],
		['PAGE','294243',jdecode('METR%C3%93WKI'),jdecode(''),'/46701/294243.html','true',[],''],
		['PAGE','294264',jdecode('MIARKI'),jdecode(''),'/46701/294264.html','true',[],'']
	],''],
	['PAGE','31343',jdecode('Osobiste'),jdecode(''),'/31343.html','true',[],''],
	['PAGE','99222',jdecode('Parasole%2C+peleryny'),jdecode(''),'/99222.html','true',[],''],
	['PAGE','163101',jdecode('Sezonowe'),jdecode(''),'/163101.html','true',[],''],
	['PAGE','294285',jdecode('Smycze+Zawieszki'),jdecode(''),'/294285.html','true',[],''],
	['PAGE','70722',jdecode('%C5%9Awi%C4%85teczne+Art.'),jdecode(''),'/70722.html','true',[],''],
	['PAGE','108301',jdecode('Sk%C3%B3rzane+portfele%2C+teczki'),jdecode(''),'/108301.html','true',[],''],
	['PAGE','22543',jdecode('SPORT++i++GRY'),jdecode(''),'/22543.html','true',[],''],
	['PAGE','51601',jdecode('Tekstylia%3A+odzie%C5%BC%2C+czapki'),jdecode(''),'/51601/index.html','true',[ 
		['PAGE','51622',jdecode('POLO%2C+KOSZULE'),jdecode(''),'/51601/51622.html','true',[],''],
		['PAGE','56401',jdecode('BEZR%C4%98KAWNIKI%2C+POLARY'),jdecode(''),'/51601/56401.html','true',[],''],
		['PAGE','65301',jdecode('KURTKI%2C+WIATR%C3%93WKI'),jdecode(''),'/51601/65301.html','true',[],''],
		['PAGE','39822',jdecode('CHUSTY+KRAWATY+SZALE'),jdecode(''),'/51601/39822.html','true',[],'']
	],''],
	['PAGE','204501',jdecode('Torby+Plecaki+Siatki'),jdecode(''),'/204501/index.html','true',[ 
		['PAGE','207901',jdecode('Akt%C3%B3wki+++++Teczki+'),jdecode(''),'/204501/207901.html','true',[],''],
		['PAGE','207922',jdecode('Na+laptopa'),jdecode(''),'/204501/207922.html','true',[],''],
		['PAGE','207943',jdecode('Plecaki++++Torby++++Saszetki'),jdecode(''),'/204501/207943.html','true',[],''],
		['PAGE','211501',jdecode('Siatki++Coolery'),jdecode(''),'/204501/211501.html','true',[],'']
	],''],
	['PAGE','163501',jdecode('WALENTYNKI'),jdecode(''),'/163501/index.html','true',[ 
		['PAGE','166201',jdecode('Breloczki+Walentynkowe'),jdecode(''),'/163501/166201.html','true',[],'']
	],''],
	['PAGE','16422',jdecode('Zegary%2C+Stacje+pogodowe'),jdecode(''),'/16422/index.html','true',[ 
		['PAGE','195901',jdecode('Stacje+pogodowe'),jdecode(''),'/16422/195901.html','true',[],'']
	],''],
	['PAGE','39101',jdecode('Zestawy+Upominkowe'),jdecode(''),'/39101.html','true',[],''],
	['PAGE','88901',jdecode('++++'),jdecode(''),'/88901.html','true',[],''],
	['PAGE','155301',jdecode('Kalendarze'),jdecode(''),'/155301.html','true',[],''],
	['PAGE','114701',jdecode('Kalendarze+Ksi%C4%85%C5%BCkowe'),jdecode(''),'/114701/index.html','true',[ 
		['PAGE','113201',jdecode('Linia+BIZNES'),jdecode(''),'/114701/113201.html','true',[],''],
		['PAGE','114722',jdecode('Linia+KLASYCZNA'),jdecode(''),'/114701/114722.html','true',[],''],
		['PAGE','120764',jdecode('Linia+EKONOMIK'),jdecode(''),'/114701/120764.html','true',[],''],
		['PAGE','293806',jdecode('++++'),jdecode(''),'/114701/293806.html','true',[],'']
	],''],
	['PAGE','120785',jdecode('Kalendarze+%C5%9Acienne'),jdecode(''),'/120785.html','true',[],''],
	['PAGE','76801',jdecode('Zdj%C4%99cia+do+kalendarzy+cz.1'),jdecode(''),'/76801.html','true',[],''],
	['PAGE','83101',jdecode('Zdj%C4%99cia+do+kalendarzy+cz.2'),jdecode(''),'/83101.html','true',[],''],
	['PAGE','293827',jdecode('+++'),jdecode(''),'/293827.html','true',[],''],
	['PAGE','694',jdecode('KONTAKT+'),jdecode(''),'/694.html','true',[],''],
	['PAGE','88922',jdecode('+++'),jdecode(''),'/88922.html','true',[],''],
	['PAGE','153901',jdecode('Warunki+handlowe'),jdecode(''),'/153901.html','true',[],''],
	['PAGE','217601',jdecode('Indeks+produkt%C3%B3w'),jdecode(''),'/217601/index.html','true',[ 
		['PAGE','218801',jdecode('Indeks+1+-+50599'),jdecode(''),'/217601/218801.html','true',[],''],
		['PAGE','219301',jdecode('Indeks+50600+-+50999'),jdecode(''),'/217601/219301.html','true',[],''],
		['PAGE','219801',jdecode('Indeks+5100-9510200'),jdecode(''),'/217601/219801.html','true',[],'']
	],'']];
var siteelementCount=73;
theSitetree.topTemplateName='Easylife';
theSitetree.paletteFamily='AD1D1D';
theSitetree.keyvisualId='5833';
theSitetree.keyvisualName='kv_5833.jpg';
theSitetree.fontsetId='27814';
theSitetree.graphicsetId='11868';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Easylife',
				paletteFamily: 	'AD1D1D',
				keyvisualId: 	'5833',
				keyvisualName: 	'kv_5833.jpg',
				fontsetId: 		'27814',
				graphicsetId: 	'11868',
				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['5000']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20080309-192933'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '192501',
internalId:  '',
customField: '20080127-182545'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '694',
internalId:  '',
customField: '20080309-191242'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '694',
internalId:  '9632638',
customField: 'pl:PL:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '163101',
internalId:  '',
customField: '20080104-130231'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '155301',
internalId:  '',
customField: '20071230-162810'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '211501',
internalId:  '',
customField: '20080202-185305'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16401',
internalId:  '',
customField: '20080131-201603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '163501',
internalId:  '',
customField: '20080112-213315'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16422',
internalId:  '',
customField: '20080216-201308'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22543',
internalId:  '',
customField: '20080216-200609'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22501',
internalId:  '',
customField: '20070923-133501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22522',
internalId:  '',
customField: '20080216-195015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31301',
internalId:  '',
customField: '20080223-142515'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31322',
internalId:  '',
customField: '20080216-194808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31343',
internalId:  '',
customField: '20080216-195538'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '39101',
internalId:  '',
customField: '20070923-133941'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '39822',
internalId:  '',
customField: '20080216-200926'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46701',
internalId:  '',
customField: '20080216-195330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '153901',
internalId:  '',
customField: '20080112-172842'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51601',
internalId:  '',
customField: '20080216-200757'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51622',
internalId:  '',
customField: '20070923-135008'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56401',
internalId:  '',
customField: '20070923-134903'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65301',
internalId:  '',
customField: '20070923-134810'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '601',
internalId:  '10188861',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70701',
internalId:  '',
customField: '20080223-143147'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '76801',
internalId:  '1141c4b681d',
customField: 'g.12ge3u83k.2fccobs8n82.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74201',
internalId:  '',
customField: '20080126-172402'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70722',
internalId:  '',
customField: '20080216-200104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '76801',
internalId:  '',
customField: '20070802-162351'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '83101',
internalId:  '11426eaf6be',
customField: 'g.12gjdgkoc.d4hogc27b7.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83101',
internalId:  '',
customField: '20070802-162759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87301',
internalId:  '',
customField: '20080203-143433'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88901',
internalId:  '',
customField: '20070808-161104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88922',
internalId:  '',
customField: '20070816-152527'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '195901',
internalId:  '',
customField: '20080130-220534'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99201',
internalId:  '',
customField: '20080216-194600'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100801',
internalId:  '',
customField: '20070817-160532'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99222',
internalId:  '',
customField: '20080216-195623'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '108301',
internalId:  '',
customField: '20080216-200527'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '113201',
internalId:  '',
customField: '20071102-153515'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114701',
internalId:  '',
customField: '20070827-180249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114722',
internalId:  '',
customField: '20071102-153419'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111501',
internalId:  '',
customField: '20070903-173203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '120785',
internalId:  '',
customField: '20071102-161100'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '120722',
internalId:  '',
customField: '20080216-194345'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '120701',
internalId:  '',
customField: '20080128-194508'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '120743',
internalId:  '',
customField: '20070901-184143'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '129801',
internalId:  '',
customField: '20070903-173300'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '120764',
internalId:  '',
customField: '20070901-184143'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '166201',
internalId:  '',
customField: '20080216-200441'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '165601',
internalId:  '',
customField: '20080126-205315'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '188301',
internalId:  '',
customField: '20080126-180927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '191001',
internalId:  '',
customField: '20080126-204234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '200701',
internalId:  '',
customField: '20080201-102546'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '202601',
internalId:  '',
customField: '20080202-111924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '204501',
internalId:  '',
customField: '20080202-172206'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '206101',
internalId:  '',
customField: '20080202-111952'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '207922',
internalId:  '',
customField: '20080202-172710'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '207943',
internalId:  '',
customField: '20080202-180209'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '207901',
internalId:  '',
customField: '20080202-183504'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '217601',
internalId:  '',
customField: '20080223-150601'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '218801',
internalId:  '',
customField: '20080223-151412'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '219301',
internalId:  '',
customField: '20080223-152150'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '219801',
internalId:  '',
customField: '20080223-152059'
};
var canonHostname = 'wsc2.home.net.pl';
var accountId     = 'AHPL10IN3K4E';
var companyName   = 'AP68%3A+REFLECTS%C2%AE%2C+IDEAS%3B+gad%C5%BCety+sportowe%2C+upominki+%C5%9Bwi%C4%85teczne%3B+akcesoria+USB+';
var htmlTitle	  = 'AP68%3AREFLECTS%C2%AE%2C+IDEAS%2C+gad%C5%BCety+sportowe%2C+pi%C5%82karskie%2C+akcesoria+USB%2C+Warszawa+UPOMINKI+TEKSTYLIA';
var metaKeywords  = 'reflects%2Cideas%2Cagencja+poligraficzna%2C+complete%2C+specials%2C+pi%C5%82karskie%2C+sportowe%2C+68%2Ctekstylia%2Cupominki%2Creklamowe%2Ctorby%2Ctekstylia+reklamowe%2Cplecaki%2CAP68%2C+upominki+reklamowe%2Cartyku%C5%82y%2C+gad%C5%BCety%2Cbreloki%2Csportowe%2Cdla+kibica';
var metaContents  = 'Oferujemy+upominki+i+tekstylia+z+katalog%C3%B3w+Reflects+Complete%2C+Reflects+Specials%2C+Reflects+Concept%2C+IDEAS+oraz+gad%C5%BCety+sportowe%2C+pi%C5%82karskie+i+motoryzacyjne.+Prowadzimy+sprzeda%C5%BC+akcesori%C3%B3w+USB%2C+pami%C4%99ci%2C+ramek+cyfrowych%2C+myszy+i+klawiatur+komputerowych.+Posiadamy+w%C5%82asn%C4%85+++wzorcowni%C4%85+gad%C5%BCet%C3%B3w+na+terenie+Warszawy.Import+i+dystrybucja+artyku%C5%82%C3%B3w+reklamowych+na+terenie+Polski.+';
					                                                                    
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 */					                                                            

