/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','5401',jdecode('SEO+Toronto+Home'),jdecode(''),'/5401.html','true',[],''],
	['PAGE','24474',jdecode('Free+SEO+Quote'),jdecode(''),'/24474.html','true',[],''],
	['PAGE','5473',jdecode('Contact'),jdecode(''),'/5473.html','true',[],''],
	['PAGE','24432',jdecode('Expert+SEO'),jdecode(''),'/24432.html','true',[],''],
	['PAGE','24264',jdecode('Elite+SEO'),jdecode(''),'/24264.html','true',[],''],
	['PAGE','24453',jdecode('SEO+Consulting'),jdecode(''),'/24453.html','true',[],''],
	['PAGE','24201',jdecode('Search+Engine+Optimization'),jdecode(''),'/24201.html','true',[],''],
	['PAGE','24222',jdecode('Search+Engine+Submission'),jdecode(''),'/24222.html','true',[],''],
	['PAGE','24243',jdecode('SEO+Tools'),jdecode(''),'/24243.html','true',[],''],
	['PAGE','24285',jdecode('SEO+International+markets+'),jdecode(''),'/24285.html','true',[],''],
	['PAGE','24306',jdecode('Link+Building+Toronto'),jdecode(''),'/24306.html','true',[],''],
	['PAGE','24327',jdecode('Getting+indexed'),jdecode(''),'/24327.html','true',[],''],
	['PAGE','24348',jdecode('Google+Webmaster+Tools'),jdecode(''),'/24348.html','true',[],''],
	['PAGE','24369',jdecode('Targeted+Traffic'),jdecode(''),'/24369.html','true',[],''],
	['PAGE','24390',jdecode('indexing+activities'),jdecode(''),'/24390.html','true',[],''],
	['PAGE','24411',jdecode('White+hat+versus+black+hat+'),jdecode(''),'/24411.html','true',[],''],
	['PAGE','24801',jdecode('Preventing+Indexing'),jdecode(''),'/24801.html','true',[],''],
	['PAGE','24822',jdecode('Off-page+SEO+optimization+'),jdecode(''),'/24822.html','true',[],''],
	['PAGE','24843',jdecode('SEO+Social+networking+'),jdecode(''),'/24843.html','true',[],''],
	['PAGE','24864',jdecode('Link+campaigns'),jdecode(''),'/24864.html','true',[],''],
	['PAGE','24495',jdecode('Internet+Advertising'),jdecode(''),'/24495.html','true',[],''],
	['PAGE','24516',jdecode('Internet+Marketing'),jdecode(''),'/24516.html','true',[],''],
	['PAGE','24885',jdecode('Web+analytics'),jdecode(''),'/24885.html','true',[],''],
	['PAGE','24537',jdecode('Website+Development'),jdecode(''),'/24537.html','true',[],''],
	['PAGE','25001',jdecode('Directory+listings'),jdecode(''),'/25001.html','true',[],''],
	['PAGE','25022',jdecode('Article+distribution'),jdecode(''),'/25022.html','true',[],''],
	['PAGE','25043',jdecode('News+aggregators'),jdecode(''),'/25043.html','true',[],''],
	['PAGE','25064',jdecode('SEO+Blogging'),jdecode(''),'/25064.html','true',[],''],
	['PAGE','25085',jdecode('Three+way+linking'),jdecode(''),'/25085.html','true',[],''],
	['PAGE','25106',jdecode('One-way+linking'),jdecode(''),'/25106.html','true',[],''],
	['PAGE','25127',jdecode('Webring'),jdecode(''),'/25127.html','true',[],''],
	['PAGE','25148',jdecode('PageRank'),jdecode(''),'/25148.html','true',[],''],
	['PAGE','25169',jdecode('Pay+per+click+PPC'),jdecode(''),'/25169.html','true',[],''],
	['PAGE','25801',jdecode('Search+Engines'),jdecode(''),'/25801.html','true',[],''],
	['PAGE','25253',jdecode('SEO+Canada'),jdecode(''),'/25253/index.html','true',[ 
		['PAGE','25274',jdecode('SEO+Vancouver'),jdecode(''),'/25253/25274.html','true',[],''],
		['PAGE','25295',jdecode('SEO+Edmonton'),jdecode(''),'/25253/25295.html','true',[],''],
		['PAGE','25316',jdecode('SEO+Calgary'),jdecode(''),'/25253/25316.html','true',[],''],
		['PAGE','25337',jdecode('SEO+Regina'),jdecode(''),'/25253/25337.html','true',[],''],
		['PAGE','25358',jdecode('SEO+Winnipeg'),jdecode(''),'/25253/25358.html','true',[],''],
		['PAGE','25379',jdecode('SEO+Ottawa'),jdecode(''),'/25253/25379.html','true',[],''],
		['PAGE','25400',jdecode('SEO+Montreal'),jdecode(''),'/25253/25400.html','true',[],''],
		['PAGE','25421',jdecode('SEO+Halifax'),jdecode(''),'/25253/25421.html','true',[],'']
	],'']];
var siteelementCount=43;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B0CBD6';
theSitetree.keyvisualId='1982';
theSitetree.keyvisualName='microchips.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='383';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'B0CBD6',
				keyvisualId: 	'1982',
				keyvisualName: 	'microchips.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'383',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'B0CBD6',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24264',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5401',
internalId:  '',
customField: '20081011-042732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24201',
internalId:  '',
customField: '20081011-064957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5473',
internalId:  '',
customField: '20081003-003743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24243',
internalId:  '',
customField: '20081015-011945'
};
webappMappings['1501']=webappMappings['1501-12485464']={
webappId:    '1501',
documentId:  '5401',
internalId:  '12485464',
customField: '1501'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '5401',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25253',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '5473',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24222',
internalId:  '',
customField: '20081015-003820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24285',
internalId:  '',
customField: '20081015-013451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24306',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24327',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24348',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24369',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24390',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24411',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24432',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24453',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24801',
internalId:  '',
customField: '20081011-045949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24822',
internalId:  '',
customField: '20081011-045949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24843',
internalId:  '',
customField: '20081011-045949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24864',
internalId:  '',
customField: '20081011-045949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24474',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24495',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24516',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24885',
internalId:  '',
customField: '20081011-045949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24537',
internalId:  '',
customField: '20081011-045129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25001',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25022',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25043',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25064',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25085',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25106',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25127',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25148',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25169',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25801',
internalId:  '',
customField: '20081015-020328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25274',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25295',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25316',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25337',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25358',
internalId:  '',
customField: '20081011-052624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25379',
internalId:  '',
customField: '20081011-052625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25400',
internalId:  '',
customField: '20081011-052625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25421',
internalId:  '',
customField: '20081011-052625'
};
var canonHostname = 'cmworker02.yourhostingaccount.com';
var accountId     = 'AENDU0INEJ2D';
var companyName   = 'SEO+%7C+Toronto+%7C+Canada';
var htmlTitle	  = 'SEO+Toronto+%7C+Canada+elite+Expert+Web+Optimization';
var metaKeywords  = 'Search+Engine+Marketing%2C+Search+Engine+Optimization%2C+Search+Engine+Ranking%2C+Search+Engine+Placement%2C+Web+Site+Placement%2C+Internet+Marketing%2C+Website+Submission%2C+SEO+Tools%2C+SEO+Products%2C+Placement+Services%2C+Online+Marketing%2C';
var metaContents  = 'SEO+Toronto+Canada+SEO+expert+web+optimization+7+years+of+SEO+%28Search+Engine+Optimization+Company%29+experience+SEO+Expert+is+a+search+engine+optimization+company+which+provides+professional+search+engine+marketing+services';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            
