/* [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','1701',jdecode('Home'),jdecode(''),'/1701.html','true',[],''],
	['PAGE','40485',jdecode('%3E+USA+Projects'),jdecode(''),'/40485/index.html','true',[ 
		['PAGE','35001',jdecode('US-1'),jdecode(''),'/40485/35001.html','true',[],''],
		['PAGE','35043',jdecode('US-2'),jdecode(''),'/40485/35043.html','true',[],''],
		['PAGE','40922',jdecode('US-3'),jdecode(''),'/40485/40922.html','true',[],''],
		['PAGE','36122',jdecode('US-4'),jdecode(''),'/40485/36122.html','true',[],''],
		['PAGE','36101',jdecode('US-5'),jdecode(''),'/40485/36101.html','true',[],''],
		['PAGE','35022',jdecode('US-6'),jdecode(''),'/40485/35022.html','true',[],''],
		['PAGE','40985',jdecode('US-7'),jdecode(''),'/40485/40985.html','true',[],''],
		['PAGE','40901',jdecode('US-8'),jdecode(''),'/40485/40901.html','true',[],''],
		['PAGE','41048',jdecode('US-9'),jdecode(''),'/40485/41048.html','true',[],''],
		['PAGE','46401',jdecode('US-10'),jdecode(''),'/40485/46401.html','true',[],'']
	],''],
	['PAGE','58201',jdecode('%3E+EUROPE+Projects'),jdecode(''),'/58201/index.html','true',[ 
		['PAGE','58222',jdecode('EU-1'),jdecode(''),'/58201/58222.html','true',[],''],
		['PAGE','58243',jdecode('EU-2'),jdecode(''),'/58201/58243.html','true',[],''],
		['PAGE','58264',jdecode('EU-3'),jdecode(''),'/58201/58264.html','true',[],'']
	],''],
	['PAGE','59801',jdecode('%3E+AUSTRALIA+Projects'),jdecode(''),'/59801/index.html','true',[ 
		['PAGE','59822',jdecode('AU-1'),jdecode(''),'/59801/59822.html','true',[],'']
	],''],
	['PAGE','40401',jdecode('%3E+AMERICAS+Projects'),jdecode(''),'/40401/index.html','true',[ 
		['PAGE','33601',jdecode('AM-1'),jdecode(''),'/40401/33601.html','true',[],''],
		['PAGE','40443',jdecode('AM-2'),jdecode(''),'/40401/40443.html','true',[],''],
		['PAGE','14501',jdecode('AM-3'),jdecode(''),'/40401/14501.html','true',[],''],
		['PAGE','46422',jdecode('AM-4'),jdecode(''),'/40401/46422.html','true',[],''],
		['PAGE','63001',jdecode('AM-5'),jdecode(''),'/40401/63001.html','true',[],'']
	],''],
	['PAGE','41069',jdecode('%3E+ASIA+Projects'),jdecode(''),'/41069/index.html','true',[ 
		['PAGE','27201',jdecode('AS-1'),jdecode(''),'/41069/27201.html','true',[],''],
		['PAGE','23601',jdecode('AS-2'),jdecode(''),'/41069/23601.html','true',[],''],
		['PAGE','1794',jdecode('AS-3'),jdecode(''),'/41069/1794.html','true',[],''],
		['PAGE','15601',jdecode('AS-4'),jdecode(''),'/41069/15601.html','true',[],''],
		['PAGE','36143',jdecode('AS-5'),jdecode(''),'/41069/36143.html','true',[],''],
		['PAGE','41195',jdecode('AS-6'),jdecode(''),'/41069/41195.html','true',[],''],
		['PAGE','41216',jdecode('AS-7'),jdecode(''),'/41069/41216.html','true',[],'']
	],''],
	['PAGE','41258',jdecode('%3E+AFRICA+Projects'),jdecode(''),'/41258/index.html','true',[ 
		['PAGE','41237',jdecode('AF-1'),jdecode(''),'/41258/41237.html','true',[],''],
		['PAGE','41279',jdecode('AF-2'),jdecode(''),'/41258/41279.html','true',[],''],
		['PAGE','41300',jdecode('AF-3'),jdecode(''),'/41258/41300.html','true',[],''],
		['PAGE','41321',jdecode('AF-4'),jdecode(''),'/41258/41321.html','true',[],''],
		['PAGE','56801',jdecode('AF-5'),jdecode(''),'/41258/56801.html','true',[],'']
	],''],
	['PAGE','63801',jdecode('%3E+PROJECTS+%28%3C100M%29'),jdecode(''),'/63801.html','true',[],''],
	['PAGE','66801',jdecode('%3E+PROPERTIES+FOR+SALE'),jdecode(''),'/66801.html','true',[],''],
	['PAGE','68201',jdecode('%3E+REO+%26+MTN'),jdecode(''),'/68201.html','true',[],''],
	['PAGE','76401',jdecode('%3E+COMMODITIES'),jdecode(''),'/76401/index.html','true',[ 
		['PAGE','76422',jdecode('1.+Petroleum%2FD2'),jdecode(''),'/76401/76422.html','true',[],''],
		['PAGE','76443',jdecode('2.+Diamonds'),jdecode(''),'/76401/76443.html','true',[],''],
		['PAGE','76464',jdecode('3.+Scraps%2FPolymers'),jdecode(''),'/76401/76464.html','true',[],''],
		['PAGE','76485',jdecode('4.+Solar+Products'),jdecode(''),'/76401/76485.html','true',[],'']
	],''],
	['PAGE','63822',jdecode('%3E+FUNDING+PROGRAMS'),jdecode(''),'/63822.html','true',[],''],
	['PAGE','71001',jdecode('%3E+OTHER+PROGRAMS'),jdecode(''),'/71001.html','true',[],''],
	['PAGE','7401',jdecode('Contact+Us'),jdecode(''),'/7401/index.html','true',[ 
		['PAGE','13501',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/7401/13501.html','false',[],'']
	],'']];
var siteelementCount=50;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='003390';
theSitetree.keyvisualId='1742';
theSitetree.keyvisualName='ebusiness2.jpg';
theSitetree.fontsetId='294';
theSitetree.graphicsetId='353';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='003390';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'003390',
				keyvisualId: 	'1742',
				keyvisualName: 	'ebusiness2.jpg',
				fontsetId: 		'294',
				graphicsetId: 	'353',
				contentColor: 	'FFFFFF',
				contentBGColor: '003390',
				a_color: 		'003390',
				b_color: 		'000000',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1701',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '13501',
internalId:  'ahw050ineaib2ce3be2ce28b4059',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '7401',
internalId:  'ahw050ineaib2ce3be2ce28b4059',
customField: ''
};
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050INEAIB';
var companyName   = 'PIN%3A++A+Global+Funding+Network';
var htmlTitle	  = 'PIN+Funding+Network+provides+connection+for+Projects+and+Funding+on+a+Worldwide+basis.';
var metaKeywords  = 'Project%2CFinance%2COffshore%2CLoan%2CVenture%2CCapital%2CDevelopment%2CExpansions%2CEquipment%2CShip%2CAircraft%2CLeased%2C+Instruments%2CCommercial%2CDevelopment%2C+Funding%2C+Financing';
var metaContents  = 'Premier+Investors+Global+Network+provides+connection+for+all+kinds+of+projects+and+funding+on+a+worldwide+basis.++All+project+debt++equity+finance+capital%2C+joint+venture%2C+global+developments...';
					                                                                    
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 */					                                                            
