/* [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','4482',jdecode('Home'),jdecode(''),'/4482.html','true',[],''],
	['PAGE','4803',jdecode('BlueHemp+Seeds'),jdecode(''),'/4803/index.html','true',[ 
		['PAGE','105057',jdecode('Afghani+Wonder'),jdecode(''),'/4803/105057.html','true',[],''],
		['PAGE','105084',jdecode('Calvin'),jdecode(''),'/4803/105084.html','true',[],''],
		['PAGE','105111',jdecode('Chewing'),jdecode(''),'/4803/105111.html','true',[],''],
		['PAGE','105138',jdecode('Chilla'),jdecode(''),'/4803/105138.html','true',[],''],
		['PAGE','105165',jdecode('Chronicle'),jdecode(''),'/4803/105165.html','true',[],''],
		['PAGE','107456',jdecode('Dark+Kush'),jdecode(''),'/4803/107456.html','true',[],''],
		['PAGE','105192',jdecode('DarkVader'),jdecode(''),'/4803/105192.html','true',[],''],
		['PAGE','110923',jdecode('E-Rocket'),jdecode(''),'/4803/110923.html','true',[],''],
		['PAGE','111832',jdecode('Erdbeer+Mix'),jdecode(''),'/4803/111832.html','true',[],''],
		['PAGE','105219',jdecode('Haze'),jdecode(''),'/4803/105219.html','true',[],''],
		['PAGE','111039',jdecode('Hi%26%23x27%3BNooN'),jdecode(''),'/4803/111039.html','true',[],''],
		['PAGE','105246',jdecode('Lebanese'),jdecode(''),'/4803/105246.html','true',[],''],
		['PAGE','112653',jdecode('LeGrape'),jdecode(''),'/4803/112653.html','true',[],''],
		['PAGE','112662',jdecode('Maroc+Inspiration'),jdecode(''),'/4803/112662.html','true',[],''],
		['PAGE','105273',jdecode('Nepali'),jdecode(''),'/4803/105273.html','true',[],''],
		['PAGE','110932',jdecode('NLB'),jdecode(''),'/4803/110932.html','true',[],''],
		['PAGE','105300',jdecode('Pakistani'),jdecode(''),'/4803/105300.html','true',[],''],
		['PAGE','105327',jdecode('Redhaired+Sonja'),jdecode(''),'/4803/105327.html','true',[],''],
		['PAGE','105354',jdecode('Silverado'),jdecode(''),'/4803/105354.html','true',[],''],
		['PAGE','105381',jdecode('SilverDream'),jdecode(''),'/4803/105381.html','true',[],''],
		['PAGE','112671',jdecode('Thaifun+Horizon'),jdecode(''),'/4803/112671.html','true',[],'']
	],''],
	['PAGE','111841',jdecode('Specials'),jdecode(''),'/111841.html','true',[],''],
	['PAGE','112073',jdecode('Darwin+Seeds'),jdecode(''),'/112073/index.html','true',[ 
		['PAGE','112412',jdecode('Carpatian'),jdecode(''),'/112073/112412.html','true',[],''],
		['PAGE','112237',jdecode('Perun'),jdecode(''),'/112073/112237.html','true',[],''],
		['PAGE','112787',jdecode('Night+Hail+ultra'),jdecode(''),'/112073/112787.html','true',[],''],
		['PAGE','112228',jdecode('Satin'),jdecode(''),'/112073/112228.html','true',[],'']
	],''],
	['PAGE','4911',jdecode('News'),jdecode(''),'/4911.html','true',[],''],
	['PAGE','4938',jdecode('Contact'),jdecode(''),'/4938.html','true',[],''],
	['PAGE','44502',jdecode('GuestBook'),jdecode(''),'/44502/index.html','true',[ 
		['PAGE','44503',jdecode('View'),jdecode(''),'/44502/44503.html','true',[],'']
	],''],
	['PAGE','44403',jdecode('Links'),jdecode(''),'/44403.html','true',[],''],
	['PAGE','73205',jdecode('Legal+Terms'),jdecode(''),'/73205.html','true',[],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Orbit';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='172';
theSitetree.graphicsetId='202';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='003366';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Orbit',
				paletteFamily: 	'003366',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'172',
				graphicsetId: 	'202',
				contentColor: 	'FFFFFF',
				contentBGColor: '003366',
				a_color: 		'003366',
				b_color: 		'336699',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4482',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '44502',
internalId:  '44502ABW0X0INXZTI',
customField: 'action=form&icq=true'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '44503',
internalId:  '44502ABW0X0INXZTI',
customField: 'action=list'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0INXZTI';
var companyName   = 'from+Conception+to+Perfection';
var htmlTitle	  = 'BlueHemp';
var metaKeywords  = 'seeds%2Csamen%2Chanf%2Chemp%2Canbau%2Cgrow%2Cgrowin%2Cflower%2Cflowering%2Cbl%C3%BCte%2Cbl%C3%BChen%2Cseedsexpress%2C+';
var metaContents  = 'Seeds+and+more';
					                                                                    
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 */					                                                            
