/* [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','11901',jdecode('HOME'),jdecode(''),'/11901.html','true',[],''],
	['PAGE','9301',jdecode('About+SAXTON+MFG+CO'),jdecode(''),'/9301.html','true',[],''],
	['PAGE','16801',jdecode('H20+PROBLEMS'),jdecode(''),'/16801.html','true',[],''],
	['PAGE','9415',jdecode('ECOSOLUTION'),jdecode(''),'/9415.html','true',[],''],
	['PAGE','19401',jdecode('ECOSOLUTION+101'),jdecode(''),'/19401.html','true',[],''],
	['PAGE','29215',jdecode('WHY+ECOSOLUTION%3F'),jdecode(''),'/29215.html','true',[],''],
	['PAGE','19001',jdecode('Systems+%26+Equipment'),jdecode(''),'/19001.html','true',[],''],
	['PAGE','19422',jdecode('WARRANTY+REGISTRY'),jdecode(''),'/19422.html','true',[],''],
	['PAGE','10364',jdecode('CONTACT+US'),jdecode(''),'/10364.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Transluszent';
theSitetree.paletteFamily='333333';
theSitetree.keyvisualId='9240';
theSitetree.keyvisualName='kv2.swf';
theSitetree.fontsetId='17360';
theSitetree.graphicsetId='12757';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Transluszent',
				paletteFamily: 	'333333',
				keyvisualId: 	'9240',
				keyvisualName: 	'kv2.swf',
				fontsetId: 		'17360',
				graphicsetId: 	'12757',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9301',
internalId:  '',
customField: '20080513-173305'
};
webappMappings['7008']=webappMappings['7008-3306']={
webappId:    '7008',
documentId:  '19001',
internalId:  '3306',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16801',
internalId:  '',
customField: '20080509-131304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9415',
internalId:  '',
customField: '20080424-133825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19422',
internalId:  '',
customField: '20080418-171620'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '29215',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10364',
internalId:  '',
customField: '20080424-132202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11901',
internalId:  '',
customField: '20080516-175254'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '11901',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-7003437']={
webappId:    '1501',
documentId:  '11901',
internalId:  '7003437',
customField: '1501'
};
webappMappings['7008']=webappMappings['7008-2229']={
webappId:    '7008',
documentId:  '19422',
internalId:  '2229',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19401',
internalId:  '',
customField: '20080507-153620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20080507-154219'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '11901',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '9301',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '16801',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '9415',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '19401',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '19001',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29215',
internalId:  '',
customField: '20080509-131455'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '10364',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '19422',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-2776']={
webappId:    '7008',
documentId:  '10364',
internalId:  '2776',
customField: 'language:en;country:US;'
};
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0IN27BW';
var companyName   = 'Saxton+Mfg+Co+-+Since+1945';
var htmlTitle	  = 'ECOSOLUTION+SALT-FREE+WATER+CONDITIONING+EQUIPMENT+by+Saxton+Mfg+Co';
var metaKeywords  = 'salt-free+water+conditioners%2C+water+softener%2C+no+salt%2C+ecosolution%2C+commercial%2C+residential+water+softener%2C+alternative+water+softener%2C+alternative+water+conditioner%2C+salt-free%2C+alternative+water+conditioners%2C+ecosolution%2C+eco+solution%2C+spectrosoft%2C+scale+elimination%2C+scale+reduction%2C+NEXT+Filtration%2C+Filtersorb%2C+CWG%2C+AQUACERA%2C+PELICAN+TECHNOLOGIES%2C+LIFESOURCE%2C+PURE+WATER%2C+WATER+CONDITIONING%2C+NO+SALT%2C+SALT+FREE%2C+SALT-FREE';
var metaContents  = 'salt-free+water+conditioners%2C+water+softener%2C+no+salt%2C+ecosolution%2C+commercial%2C+residential+water+softener%2C+alternative+water+softener%2C+alternative+water+conditioner%2C+no+electricity+required%2C+no+drain%2C+no+waste%2C+alternative+options%2C+ECOSOLUTION%2C+AQUACERA%2C+SAXTON%2C+ECOSOLUTION+SYSTEMS%2C+NO+SALT+SYSTEMS%2C+MELSTREAM%2C+SPECTROSOFT';
					                                                                    
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 */					                                                            
