/* [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','4504',jdecode('Home'),jdecode(''),'/4504.html','true',[],''],
	['PAGE','10614',jdecode('History'),jdecode(''),'/10614.html','true',[],''],
	['PAGE','4561',jdecode('Breeds'),jdecode(''),'/4561/index.html','true',[ 
		['PAGE','4894',jdecode('American+Show+Roller'),jdecode(''),'/4561/4894.html','true',[],''],
		['PAGE','4921',jdecode('Archangel'),jdecode(''),'/4561/4921.html','true',[],''],
		['PAGE','4588',jdecode('Birmingham+Roller'),jdecode(''),'/4561/4588.html','true',[],''],
		['PAGE','4948',jdecode('Dragoons'),jdecode(''),'/4561/4948.html','true',[],''],
		['PAGE','4975',jdecode('Gabriel'),jdecode(''),'/4561/4975.html','true',[],''],
		['PAGE','5002',jdecode('Old+Dutch+Capuchine'),jdecode(''),'/4561/5002.html','true',[],''],
		['PAGE','5029',jdecode('Temeschburger+Schecken'),jdecode(''),'/4561/5029.html','true',[],''],
		['PAGE','5056',jdecode('Other+Breeds'),jdecode(''),'/4561/5056.html','true',[],'']
	],''],
	['PAGE','4642',jdecode('Lofts'),jdecode(''),'/4642.html','true',[],''],
	['PAGE','34618',jdecode('Pigeon+Shows'),jdecode(''),'/34618.html','true',[],''],
	['PAGE','28418',jdecode('Other%3A+fishing%2C+flowers%2C+etc'),jdecode(''),'/28418.html','true',[],''],
	['PAGE','5110',jdecode('Resources%2Fbooks'),jdecode(''),'/5110.html','true',[],''],
	['PAGE','5137',jdecode('Links'),jdecode(''),'/5137.html','true',[],''],
	['PAGE','5164',jdecode('For+Sale'),jdecode(''),'/5164.html','true',[],''],
	['PAGE','5191',jdecode('Contact+us'),jdecode(''),'/5191.html','true',[],''],
	['PAGE','6299',jdecode('Guestbook'),jdecode(''),'/6299/index.html','true',[ 
		['PAGE','6300',jdecode('Read+Guestbook'),jdecode(''),'/6299/6300.html','true',[],'']
	],''],
	['PAGE','6430',jdecode('Dragoon+%26+Roller+Photos'),jdecode(''),'/6430.html','true',[],''],
	['PAGE','9028',jdecode('Gabriel+Photos'),jdecode(''),'/9028.html','true',[],''],
	['PAGE','9401',jdecode('Temeschburger+Photos'),jdecode(''),'/9401.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='003399';
theSitetree.keyvisualId='1280';
theSitetree.keyvisualName='feder.jpg';
theSitetree.fontsetId='191';
theSitetree.graphicsetId='228';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Profile',
				paletteFamily: 	'003399',
				keyvisualId: 	'1280',
				keyvisualName: 	'feder.jpg',
				fontsetId: 		'191',
				graphicsetId: 	'228',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				a_color: 		'003399',
				b_color: 		'000066',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4504',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '6299',
internalId:  '6299aiq010in2qq5',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '6300',
internalId:  '6299aiq010in2qq5',
customField: 'action=list'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4504',
internalId:  '801418',
customField: '1501'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '9028',
internalId:  '109dcf7b01c',
customField: 'Gabriels'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '6430',
internalId:  '1095c35fa41',
customField: 'Pigeons1'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '9401',
internalId:  '109dd0f3841',
customField: 'TemeschburgerSchecken'
};
var canonHostname = 'localhost';
var accountId     = 'AIQ010IN2QQ5';
var companyName   = 'M+%26+M+Lofts';
var htmlTitle	  = 'M++M+Lofts';
var metaKeywords  = 'pigeon%2C+pigeons%2C+gabriels%2C+dragoons%2C+archangels%2C+lofts%2C+pigeon+hobby%2C+fancy%2C+show+pigeons%2C+doves%2C+genetics%2C+feathers%2C+harrisburg%2C+almond%2C+recessive+red%2C+gimbel%2C+grizzle%2C+capuchines%2C+english+owls%2C+rollers%2C+show+rollers%2C+flying+rollers%2C+cote%2C+hobby%2C+birds%2C+bird%2C+pennsylvania%2C+central+pa%2C+kentucky%2C+pigeon+fancy%2C+fancier';
var metaContents  = 'pigeons+Rollers+Gabriels+Birmingham+Rollers+Archangels+Dragoon+Dragoons+English+Owls+Capuchines+loft+pigeon+fancy+pigeon+genetics+Temeschburgers+Temeschbergers+Timasora+Tumblers';
					                                                                    
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 */					                                                            
