/* [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 POS_TARGET=8;
var theSitetree=[ 
	['PAGE','51212',jdecode('Home'),jdecode(''), jdecode('%2F51212.html'), 'true',[],'',''],
	['PAGE','14601',jdecode('About+PRO%E2%80%A2THERM'),jdecode(''), jdecode('%2F14601.html'), 'true',[],'',''],
	['PAGE','33301',jdecode('Industries+Served'),jdecode(''), jdecode('%2F33301.html'), 'true',[],'',''],
	['PAGE','14643',jdecode('Equipment+Products+Overview'),jdecode(''), jdecode('%2F14643.html'), 'true',[],'',''],
	['PAGE','145245',jdecode(''),jdecode(''), jdecode('%2F145245.html'), 'true',[],'',''],
	['PAGE','119223',jdecode('Need+an+Equipment+Proposal+%3F+'),jdecode(''), jdecode('%2F119223.html'), 'true',[],'',''],
	['PAGE','228811',jdecode('Engineering+Tools'),jdecode(''), jdecode('%2F228811.html'), 'true',[],'',''],
	['PAGE','228832',jdecode(''),jdecode(''), jdecode('%2F228832.html'), 'true',[],'',''],
	['PAGE','14664',jdecode('Boilers+Burners+Economizers'),jdecode(''), jdecode('%2F14664.html'), 'true',[],'',''],
	['PAGE','14685',jdecode('Deaerators+Blowdown+Traps'),jdecode(''), jdecode('%2F14685.html'), 'true',[],'',''],
	['PAGE','14706',jdecode('Water+Treatment+%26+Chem+Feed'),jdecode(''), jdecode('%2F14706.html'), 'true',[],'',''],
	['PAGE','20401',jdecode('Air+Pollution%2C+Flue+Gas+%26+Ash+'),jdecode(''), jdecode('%2F20401.html'), 'true',[],'',''],
	['PAGE','20422',jdecode('Heat+Exchangers+%26+Vessels'),jdecode(''), jdecode('%2F20422.html'), 'true',[],'',''],
	['PAGE','20443',jdecode('Instruments+Controls+Valves'),jdecode(''), jdecode('%2F20443.html'), 'true',[],'',''],
	['PAGE','144045',jdecode('Removable+Insulation+Jackets'),jdecode(''), jdecode('%2F144045.html'), 'true',[],'',''],
	['PAGE','145266',jdecode(''),jdecode(''), jdecode('%2F145266.html'), 'true',[],'',''],
	['PAGE','42312',jdecode('Remanufactured+Equipment'),jdecode(''), jdecode('%2F42312.html'), 'true',[],'',''],
	['PAGE','41412',jdecode('Inventory+Parts+%26+Equipment'),jdecode(''), jdecode('%2F41412.html'), 'true',[],'',''],
	['PAGE','145287',jdecode(''),jdecode(''), jdecode('%2F145287.html'), 'true',[],'',''],
	['PAGE','98612',jdecode('Request+Information'),jdecode(''), jdecode('%2F98612.html'), 'true',[],'',''],
	['PAGE','14769',jdecode('Contact'),jdecode(''), jdecode('%2F14769.html'), 'true',[],'',''],
	['PAGE','106223',jdecode('Careers'),jdecode(''), jdecode('%2F106223.html'), 'true',[],'',''],
	['PAGE','266677',jdecode('News---Weather---Sports'),jdecode(''), jdecode('%2F266677.html'), 'true',[],'','']];
var siteelementCount=23;
theSitetree.topTemplateName='Easy';
theSitetree.paletteFamily='006666';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='52';
theSitetree.graphicsetId='53';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp35-attweb',
  product: 'WSCSYSSSSLY0X9RC'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Easy',
				paletteFamily: 	'006666',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'52',
				graphicsetId: 	'53',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'006666',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-15145234']={
webappId:    '1501',
documentId:  '51212',
internalId:  '15145234',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51212',
internalId:  '',
customField: '20111231-081050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14601',
internalId:  '',
customField: '20100501-064001'
};
webappMappings['7008']=webappMappings['7008-12059']={
webappId:    '7008',
documentId:  '98612',
internalId:  '12059',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98612',
internalId:  '',
customField: '20100501-071531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14643',
internalId:  '',
customField: '20100612-064125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14664',
internalId:  '',
customField: '20110305-211206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14685',
internalId:  '',
customField: '20101126-082318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14706',
internalId:  '',
customField: '20101003-164004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20401',
internalId:  '',
customField: '20100430-201923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20422',
internalId:  '',
customField: '20110306-220940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20443',
internalId:  '',
customField: '20110206-231114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33301',
internalId:  '',
customField: '20100501-064047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14769',
internalId:  '',
customField: '20100501-070408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106223',
internalId:  '',
customField: '20100501-070341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41412',
internalId:  '',
customField: '20100612-064637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42312',
internalId:  '',
customField: '20100501-064844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '228832',
internalId:  '',
customField: '20100316-213141'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '51212',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119223',
internalId:  '',
customField: '20100501-064630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '228811',
internalId:  '',
customField: '20101107-205405'
};
webappMappings['7080']=webappMappings['7080-824']={
webappId:    '7080',
documentId:  '266677',
internalId:  '824',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '266677',
internalId:  '',
customField: '20100617-070013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '144045',
internalId:  '',
customField: '20091126-155817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145245',
internalId:  '',
customField: '20100316-213103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145266',
internalId:  '',
customField: '20091031-220921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145287',
internalId:  '',
customField: '20091031-221026'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INPDYZ';
var companyName   = 'PRO%E2%80%A2THERM+PROCESS+%26+THERMAL+SYSTEMS';
var htmlTitle	  = 'PRO%E2%80%A2THERM+-+Steam+Generation%2C+Heat+Transfer%2C+and+Energy+Conservation+Specialists';
var metaKeywords  = '';
var metaContents  = '';
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) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	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();
};

