var companyURL;
var numcompanies;
numcompanies=51;
company = new Array(numcompanies);
company[0] = new Array("Absolute Aire","absolutair.gif","http://www.absolutaire.com","Custom make-up air units","Direct fired rooftops");
company[1] = new Array("Alyan Pumps","alyanpump_logo.jpg","http://www.alyanpump.com","condensate","Feed water","Sump and sewage pumps");
company[2] = new Array("American Energy Exchange","aex_logo.gif","http://www.aexusa.com","Air to air heat exchanger","Packaged HXC's");
company[3] = new Array("Aerosonics","aerosonics.gif","http://www.aerosonics.com","Noise enclosures","Sound attenuators","Elbow traps","Accoustical louvers");
company[4] = new Array("Barry Blower","barryblower_logo.jpg","http://www.barryblower.com","Class fans","Utility sets","Tube and Vane Axial","Plenum and ESI Fans");
company[5] = new Array("Brimar","brimar_logo.gif","http://www.brimar.com","Pipe identification","Safety products");
company[6] = new Array("Carel Humidifiers","carel.gif","http://www.carel.com","Humidifiers (commercial and industrial)");
company[7] = new Array("Conbraco","conbraco_logo.gif","http://www.conbraco.com","Backflow preventers","Relief valves","Steam & hot water specialties","Strainer");
company[8] = new Array("Control Air","controlair_logo.gif","http://www.controlair.com","Integral face & bypass coils","Industrial MUA units","Space & door heaters");
company[9] = new Array("Danfoss Graham","danfoss_logo.gif","http://www.www.namc.danfoss.com","Variable Frequency drives");
company[10] = new Array("Data Aire","dataaire.jpg","http://www.dataaire.com","Ceiling and floor computer room air conditioners","Chillers");
company[11] = new Array("Delhi Industries","delhi_logo.gif","http://www.dehli-industries.com","Blowers","Cabinet fans","Fan coils");
company[12] = new Array("Dell Corporation","dell_logo.gif","http://www.dellheatrix.com","Electric duct heaters");
company[13] = new Array("Dunham Bush","dunhambush_logo.gif","http://www.dunhambush.com","Air & water cooled chillers","Air handling units","Unit heaters");
company[14] = new Array("Evapco","evapco_logo.gif","http://www.evapco.com","Cooling towers","Closed circuit coolers","Evap condensers");
company[15] = new Array("Flex-hose Co. Inc.","flexhose_logo.jpg","http://www.flexhose.com","Flexible metal connectors","Teflon & rubber expansion joints & compensators");
company[16] = new Array("Flow Design","flowdesign_logo.gif","http://www.flowdesign.com","Automatic & manual balancing valves","Venturis","Coil hook-up assemblies");
company[17] = new Array("Gasmaster","gasmaster_logo.gif","http://www.gasmaster.com","Boiler water heaters");
company[18] = new Array("Heatcraft Coils","heatcraft_logo.gif","http://www.heatcraft.com","DX, CW, HW, Steam, Replacement Coils");
company[19] = new Array("Hurst Boilers","hurstboiler_logo.jpg","http://www.hurstboiler.com","Scotch firebox","Fire tube boilers","Boiler feed, air deariator","Blowdown separators");
company[20] = new Array("Jenn Fan","jennfan_logo.gif","http://www.jennfan.com","Roof, inline, utility, and ceiling exhaust fans");
company[21] = new Array("Leader, Industries","leaderindustries.gif","http://www.leaderindustries.com","Roof hoods","Curbs","Fire, smoke & control dampers","Louvers & louvered penthouses");
company[22] = new Array("Magic Aire","magicaire_logo.gif","http://www.magicaire.com","Fan coil units");
company[23] = new Array("Mueller Steam","muellersteam_logo.gif","http://www.muellersteam.com","Check valves","Strainers");
company[24] = new Array("Namco","namco_logo.gif","http://www.namco.com","Variable speed, pressure booster system","Pump packages");
company[25] = new Array("New Philadelphia, Buffalo (Joy Mfg)","howden_buffalo.gif","http://www.howdenbuffalo.com","Controllable & adjustable pitch vane axil fans","Mixed flow fans");
company[26] = new Array("Precision Coils","precision-coils.gif","http://www.precision-coils.com","DX, CW, HW, Steam Coils","Replacement coils");
company[27] = new Array("Polaris","polaris_logo.gif","http://www.polarisphe.com","Plate & frame heat exchanger");
company[28] = new Array("PennBarry","pennbarrylogo.gif","http://www.pennbarry.com","Ventilation and Class fans","Utility sets","Tube and Vane Axial","Plenum and ESI Fans");
company[29] = new Array("Puroflux","puroflux_logo.gif","http://www.puroflux.com","Water filtration systems");
company[30] = new Array("Raypak","raypak_logo.gif","http://www.raypak.com","Copper tube-boilers","Water heaters");
company[31] = new Array("Raywall Electric","raywall_logo.jpg","http://www.tpicorp.com","Baseboard, cabinet, duct electric heaters","Radiant connectors & furnaces");
company[32] = new Array("Reco USA","reco_logo.jpg","http://www.recousaheaters.com","Storage tanks","Tube bundles","Water heaters","Steam generators");
company[33] = new Array("Reflect-O-Ray","reflectoray_logo.jpg","http://www.reflectoray.com","Tube-type infr-red heaters");
company[34] = new Array("Rite Boilers","riteboiler_logo.gif","http://www.riteboiler.com","Atmospheric & forced draft watertube boilers");
company[35] = new Array("Ruud","ruudac_logo.gif","http://www.ruudac.com","Roof top units","Heat Pumps","Condensing units","Furnaces & Split Systems");
company[36] = new Array("The Schebler Co.","schebler_logo.gif","http://www.schebler.com","Positive pressure SST stacks","Double wall insulated UL stacks","Grease stacks");
company[37] = new Array("Scott Springfield Mfg.","scottspringfield_logo.gif","http://www.scottspringfield.com","Custom air handling units");
company[38] = new Array("Seasons Four","seasons4_logo.jpg","http://www.seasons4.net","Custom & multizone replacement rooftop units");
company[39] = new Array("Sterling","sterling_logo.jpg","http://www.sterlinghvac.com","Hydronic finned radiation","Gas & hot water unit heaters","Engineered heating/makeup air equipment","Direct and indirect fired units","Radiant ceiling panels");
company[40] = new Array("Superior Rex","superiorrex_logo.gif","http://www.superiorrex.com","Fan coil units");
company[41] = new Array("Taco","taco_logo.gif","http://www.taco-hvac.com","Inline circulators","Close coupled & split case pumps","Heat exchangers","Shell & tube, plate & frame hxc","Tanks & specialties");
company[42] = new Array("Thermal Pipe Systems","thermalpipesystems_logo.gif","http://www.thermalpipesystems.com","Direct buried pipe","Preinsulated pipe systems","How water, chilled water, steam & condensate");
company[43] = new Array("Toxalert","toxalert_logo.gif","http://www.toxalert.com","Refrigerant & gas monitoring equipment");
company[44] = new Array("Tuttle Bailey","tuttleandbailey_logo.jpg","http://www.tuttleandbailey.com","Grilles, registers & diffusers","Single duct, DD, fan powered VAV boxes","Control dampers","Electric duct heaters");
company[45] = new Array("US Fan","USFan_logo.gif","http://www.usfan.com","Roof, wall, ceiling, utility prop. exhaust","Class and plenum fans");
company[46] = new Array("Vibration Eliminator Co.","vibrationeliminator.gif","http://www.veco-ny.com","Spring, rubber isolators","Vibration bases","Seismic isolators","Seismic calculations");
company[47] = new Array("Watson McDaniel","watsonmcdaniel_logo.gif","http://www.watsonmcdaniel.com","Complete line of steam products","Traps & strainers","Pumps & regulators");
company[48] = new Array("Weiss Instruments","weissinstruments_logo.gif","http://www.weissinstruments.com","Thermometers","Pressure guages");
company[49] = new Array("Wonder Metals","wondermetals_logo.gif","http://www.wondermetals.com","Louvers","Penthouses");
company[50] = new Array("Burnham Boilers","burnham_logo.gif","http://www.burnham.com","Cast Iron Boilers","Storage Tanks","Panel Radiators","Convectors");

function changeCompany(companyID){
	companyURL = companyID;
	document["logo"].src = "images/" + company[companyID][1];
	document.getElementById("companyname").innerHTML = company[companyID][0];
	if(company[companyID][3]){
		document["marker1"].src = "images/marker.gif";
		document.getElementById("desc_one").innerHTML = company[companyID][3];
	}
	else {
		document["marker1"].src = "images/markerhide.gif";
		document.getElementById("desc_one").innerHTML = "";
		}
	if(company[companyID][4]){
		document["marker2"].src = "images/marker.gif";
		document.getElementById("desc_two").innerHTML = company[companyID][4]; 
	}
	else {
		document["marker2"].src = "images/markerhide.gif";		
		document.getElementById("desc_two").innerHTML = "";
		}		
	if(company[companyID][5]){
		document["marker3"].src = "images/marker.gif";
		document.getElementById("desc_three").innerHTML = company[companyID][5];
	}
	else {
		document["marker3"].src = "images/markerhide.gif";
		document.getElementById("desc_three").innerHTML = "";
		}		
	if(company[companyID][6]){
		document["marker4"].src = "images/marker.gif";
		document.getElementById("desc_four").innerHTML = company[companyID][6]; 
	}
	else {
		document["marker4"].src = "images/markerhide.gif";
		document.getElementById("desc_four").innerHTML = "";
		}
}
function openCompanyWeb(companyID) {
	var w;
	w = window.open(company[companyURL][3],"feedback",place);
}

function preloadImages()
{ 
  document.imageArray = new Array(numcompanies);
  for(var i=0; i<numcompanies; i++)
  {
    document.imageArray[i] = new Image;
    document.imageArray[i].src = "images/" + company[i][1];
  }
}
preloadImages();