/* [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','401',jdecode('Home'),jdecode(''),'/401.html','true',[],''],
	['PAGE','601',jdecode('Products'),jdecode(''),'/601.html','true',[],''],
	['PAGE','3601',jdecode('Contact'),jdecode(''),'/3601.html','true',[],'']];
var siteelementCount=3;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='D72B2B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10893';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Alpha',
				paletteFamily: 	'D72B2B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10893',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'D72B2B',
				e_color: 		'D72B2B',
				f_color: 		'D72B2B',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5003']=webappMappings['5003-tid:1;pid:WSCSYSSSSLYTC24M']={
webappId:    '5003',
documentId:  '401',
internalId:  'tid:1;pid:WSCSYSSSSLYTC24M',
customField: 'en:US:'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20081007-133950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20091120-103132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3601',
internalId:  '',
customField: '20081006-153839'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INV8WX';
var companyName   = 'BAKER+Process+Equipment+Company';
var htmlTitle	  = 'Baker+Process+Equipment+Company';
var metaKeywords  = 'HEAD++META+NAME%3DKEYWORDS+CONTENT%3Dteledyne+analytical+instruments%2C+k-tek+corporation%2C+abb+process+analytics%2C+baker+process+equipment+company+inc.%2C+engineering+services%2C+sales%2C+Land+instruments%2C+infrared+pyrometers%2C+fixed+and+portable+pyrometers%2C+barben+analyzer+technology%2C+graham+corporation%2C+surface+condensers%2C+heat+exchangers%2C+vacuum+jets%2C+desuperheaters%2C+chromatographs%2C+magnetic+level+gauges%2C+laser+level+transmitters%2C+ecodyne+mrm%2C+air-cooled+heat+exchangers%2C+filters%2C+diaphraghm+pumps%2C+steam+jets%2C+honeywell+flammable+and+toxic+gas+detectors%2C+orifice+plates%2C+pH+probes%2C+trace+moisture%2C+onyx+valve%2C+pinch+valves%2C+sk%2C+schutte+koerting%2C+air+dimension+pumps%2C+Super+Systems+Inc.%2C+ecom+america%2C+guided+wave+rader%2C+instrumentation%2C+heat+transfer%2C+level+switches%2C+percent+oxygen%2C+trace+oxygen%2C+combustibles%2C+gas+sampling+systems%2C+micro-fuel+cells%2C+deltech+filters+and+dryers%2C+headline+filters++META+NAME%3DDESCRIPTION+CONTENT%3DLocal+Manufacturer+Representative+Industrial+Equipment+Sales++TITLEBaker+Process+Equipment+Company+Inc.%2FTITLE++META+HTTP-EQUIV%3DCONTENT-LANGUAGE+CONTENT%3DEN++META+NAME%3Drevisit-after+CONTENT%3D14+days++META+NAME%3DGenerator+CONTENT%3Dhttp%3A%2F%2Fwebsitesubmit.hypermart.net%2F++META+NAME%3Drobots+CONTENT%3Dall++%21-+-+MetaTags+http%3A%2F%2Fwebsitesubmit.hypermart.net%2F+-+-++%21-+-+Local+Manufacturer+Representative+Industrial+Equipment+Sales+-+-++%2FHEAD';
var metaContents  = 'Baker+Process+Equipment+Company+has+been+a+respected+manufacturers+representative+of+industrial+process+equipment+and+analytical+instrumentation+for+more+than+35+years.++With+headquarters+in+Coraopolis%2C+PA+and+subsidiary+offices+in+Charleston%2C+WV+and+Cuyahoga+Falls%2C+OH%2C+Baker+Process+Equipment+has+served+the+industry+of+these+three+states+with+high+quality+engineered+products+and+application+expertise.++++++++As+an+added+benefit+to+the+customer+base%2C+the+Coraopolis+facility+has+a+fully+equipped+and+staffed+electronics+repair+shop+and+stocks+instruments+and+parts+in+order+to+be+recognized+as+a+full+service+vendor+with+local+roots%2C+respected+personnel%2C+and+rapid+reaction+to+customer+requirements.++++++++Baker+Process+Equipment+engineers%2C+chemists%2C+and+electronics+personnel+have+accrued+many+years+of+experience+and+technical+knowledge+while+providing+service+and+diverse+solutions+to+the+Steelmaking%2C+Metals%2FHeat+Treat%2C+Pulp+and+Paper%2C+Power%2FUtilities%2C+Chemicals%2C+Glass%2FCeramics+industries+as+well+as+Industrial++Academic+Research+facilities.++++Baker+Process+Equipment+provides+quality+equipment+form+industry+leaders+such+as+Teledyne+Analytical+Instruments%2C+K-Tek+Corporation%2C+ABB+Process+Analytics%2C+Graham+Corporation%2C+Super+Systems+and+many+more.+++Additional+capabilities+include+the+application+of+analytical+instrumentation+to+process+control+including+custom+designed+sampling+and+analytical+systems+for+complex+chemical+and+metallurgical+processes.++Measurement+%2F+Instrumentation+ABB+Process+Analytics+Gas+Chromatography%2C+Process+IR++UV%2C+Mass+Spectrometers%2C+Lab++Process+FTIR%2C+Physical+Property+Analyzers++Barben+Analyzer+Technology+pH%2FORP%2C+DO%2C+Conductivity+Process+Sensors%2C+pH+Process+Analyzers++EBG+Flow+Products+Orifice+Plates++Flanges%2C+Meter+Runs%2C+Flow+Nozzles++ECOM+America+Portable+Emission+Analyzers%2C+NOx%2C+SOx%2C+CO%2C+O2%2C+Combustibles++K-Tek+Magnetic+Liquid+Level+Gauges+and+Transmitters%2C+Laser+Level%2C+Capacitance%2C+Ultrasonic%2C+Guided+Wave+Radar%2C+Thermal+Dispersion+Liquid+Flow+and+Level+Switches++Super+Systems+Carbon+Potential++High+Temperature+Oxygen+Probes+and+Analyzers++Teledyne+Analytical+Instruments+Trace+Oxygen%2C+Percent+Oxygen%2C+Flue+Gas%2C+Online+and+Portable%2C+NOx%2C+Combustible+Systems%2C+Process+NIR%2C+NDIR+and+UV+Analyzers++Universal+Analyzers+Electronic+Gas+Sample+Coolers%2C+Sample+Probes++Honeywell+Analytics+Flammable%2C+Toxic+and+Oxygen+Gas+Monitors++Process+Graham+Corporation+Batavia%2C+NY+Steam+Jet+Vacuum+Systems%2C+MicroMix+and+MicroMax+Water+Heaters%2C+Brazed+Plate+Heat+Exchangers%2C+Plate+and+Frame+Heat+Exchangers%2C+Heliflow+Spiral+Shell+and+Tube+Heat+Exchangers%2C+Desuperheaters%2C+Liquid+Ring+and+Dry+Vacuum+Pumps++Onyx+Valve+Pinch+Valves%2C+Pressure+Isolator+Rings%2C+Replacement+Sleeves++SK+Schutte+Koerting+Steam+Jets%2C+Water+Eductors%2C+Water+Heaters++Heat+Transfer+Ecodyne+MRM+Air-cooled+heat+exchangers%2C+forced+and+induced+draft+designs++Pumps+Air+Dimensions+Diaphragm+Sample+Pumps%2C+Heated+Head+Pumps++Filters+and+Dryers++Deltech+Compressed+Air+Filters%2C+Compressed+Air+Dryers%2C+Breathing+Air+Systems++GKN+Sinter+Metals+Sample+Filters%2C+Porous+Metal+Filter+Media%2C+Flow+Restrictors%2C+Process+Filters%2C+Spargers%2C+Sensor+Protection++Headline+%2F+United+Filtration+Sample+Gas%2C+Labratory+and+Vacuum+Pump+Filters%2C+Aluminum%2C+Stainless+Steel+Polymeric+Housings%2C+Borosilicate%2C+Fluorocarbon+and+Stainless+Steel+Elements++Engineering+Services++Instrument+Repair++Baker+Process+Equipment+Company+Inc.+308+Moon+Clinton+Road+Coraopolis%2C+PA+15108+412-264-8271++Baker+Process+Equipment+Company+Inc.+Dunbar%2C+WV+25064+304-768-4722++Baker+Industrial+Equipment+Inc.+Cuyahoga+Falls%2C+OH+44223+330-928-8877';
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();
};
