/* [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','1508',jdecode('Home'),jdecode(''),'/1508.html','true',[],''],
	['PAGE','1565',jdecode('Contact'),jdecode(''),'/1565.html','true',[],'']];
var siteelementCount=2;
theSitetree.topTemplateName='Soccer';
theSitetree.paletteFamily='4A67FC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10499';
theSitetree.graphicsetId='11114';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Soccer',
				paletteFamily: 	'4A67FC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10499',
				graphicsetId: 	'11114',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'4A67FC',
				e_color: 		'4A67FC',
				f_color: 		'4A67FC',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1508',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1508',
internalId:  '',
customField: '20110730-165648'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1565',
internalId:  '',
customField: '20110730-165802'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INEFU4';
var companyName   = 'Footballmercato.net';
var htmlTitle	  = 'ANNONCES-FOOTBALL%2C+site+officiel+recommand%C3%A9+par+agent+licenci%C3%A9+association+affili%C3%A9e+FIFA%2C+annonces-football%2C+par+FOOTMERCATO%2Cfootmercato%2Cfoot-national%2C+football+mercato+%2C+advertising+Football%2C+annonces+annonce+football+Soccer+%2C++anzeigen%2C+anuncio+futbol%2C';
var metaKeywords  = 'site+leader+annonce+foot++footballmercato.annonce+football+belgique%2C+suisse%2Cafrique%2C+canada%2C+italia%2C+espana%2Cluxembourg%2C+francais%2C+england%2C+united+kingdom%2C+footmercato%2C+calciomercato%2C+annonces+football%2C+annonce+soccer+canada%2C+annonce+calcio+italia%2C+awisi%2C+annuncio+futbol%2C+football+africain%2C+annonce+senegal+football%2Ccote+divoire%2C+cameroun+football+annonce+football+ivoirien%2C+annonces+football+francophone%2C+annonce+attaqaunt%2C+d%EF%BF%BDfenseur%2C+attaquant%2C+gardien+de+but%2C+milieu+de+terrain%2C+entra%EF%BF%BDneur%2C+coach';
var metaContents  = 'annonces-football+fr+%2C+annonces-football%2C+annonce-football%2C+annonce+foottball+garanties+sans+arnarques%2C+vrais+annonces%2C+annonces+footballl+control%C3%A9es%2Cfootballmercato.net%2C+footballballmercato%2Cfootnational%2C+foot-national%2C+mercato+%2Cfootmercato%2C+annonce+foot+%2C+ad+football%2C+Foot+mercato+annonces+football+dans+le+mondeannonce+football+belgique%2C+suisse%2Cafrique%2C+canada%2C+italia%2C+espana%2Cluxembourg%2C+francais%2C+england%2C+united+kingdom%2C+footmercato%2C+calciomercato%2C+annonces+football%2C+annonce+soccer+canada%2C+annonce+calcio+italia%2C+awisi%2C+annuncio+futbol%2C+football+africain%2C+annonce+senegal+football%2C+annonce+football+ivoirien%2C+annonces+football+francophone%2C+annonce+attaqaunt%2C+d%EF%BF%BDfenseur%2C+attaquant%2C+gardien+de+but%2C+milieu+de+terrain%2C+entra%EF%BF%BDneur%2C+coach%2C+rien+%C3%A0+voir+avec+footballmercato.com';
					                                                                    
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 */					                                                            

