// JavaScript Document
var prodArray = new Array();
prodArray[0] = new prodObj("113743","Remote Hour Meter","Remote Hour Meter acquires and automatically tracks lift truck runtime data, saving effort spent on maintenance and manual product checks. Lift truck add-on links to customizable digital paging network so operators can select specific time for device to submit truck data. Software enables use of network’s grouping capability to view entire fleet or specific units.","Hyster Co.","800-497-8371","","Lorri Lewis");
prodArray[1] = new prodObj("114427","Hardhat Cooler","Hardhat Cooling System uses computer controlled turbine fan that cycles on and off throughout the day, creating airflow that evacuates buildup of hot, humid air inside hardhat, which can reach temperatures as high as 160°F. Sold complete with rechargeable batteries and wall adapter, WorkFlow attaches to most short- and long-brim hardhats.","WorkFlow Industrial Products LLC.","","530-244-2443","");
prodArray[2] = new prodObj("114433","Coolant Union","Coolant Union for machine tool applications automatically senses type of media, at high pressures and speeds to 60,000 rpm. Proprietary wear-resistant silicon carbide seal operates differently if it detects air, coolant, or MQL, resulting in improved surface finish. Optimized flow prevents deposit of metal chips and dirt. AutoSense union can be customized.","Deublin","","847-689-8600","Afzal Ali");
prodArray[3] = new prodObj("114437","Floor Scrubber","Floor Scrubber employs ech2o technology that makes tap water behave like detergent without adding chemicals. Water passes through electrified screens in oxygenation chamber, producing oxygenated micro-bubbles. Electric current is applied to oxygenated water, creating highly charged water that breaks dirt into small particles and suspends it off floor’s surface for removal by scrubber’s pads.","Tennant Co.","800-553-8033","","");
prodArray[4] = new prodObj("114475","ESD-Safe Coating","ESD-Safe Coating permanently adheres to metal, glass, and plastic. Urethane Licron Crystal will not chip and maintains 10^7–10^9 W resistivity. Applied by aerosol, spray gun, or paint system, ANSI/ESD-S20.20-compliant coating protects conveyors, electronics, and workstations. Grounding wire can be attached via conductive adhesive.","Techspray","800-858-4043","","Kevin Pawlowski");
prodArray[5] = new prodObj("116105","Load Sensor","Capacitive Load Sensor  plugs into PC’s USB port, enabling users to measure loads, forces, or weights without need for additional signal conditioning, DAQ, or special software. Offered in 10, 50, 100, 250, and 500 lb capacities, iLoad Series measures compressive and tensile loads with accuracies of 0.25–0.025% FS. Software handles all communication functions and displays loads in lb, kg, or N.","Loadstar Sensors Inc.","","650-938-4282","");
prodArray[6] = new prodObj("117217","Adhesive","Adhesive is formulated with See-Cure technology. Blue color indicates when sufficient light energy has been provided to adhesive bond area to achieve full cure. Blue in uncured condition, adhesive is visible on surface of substrates, in deep wells, or when sandwiched between 2 layers of materials. Color fades and turns clear upon full cure. Adhesive will not stain component surfaces that it contacts.","Dymax Corp.","877-396-2988","860-482-1010","");
prodArray[7] = new prodObj("117231","Laser Scanner","Laser Scanner provides automated volume measurement and mass calculations of bulk materials. Model LM3D uses rotating laser head for multipoint laser scans to measure uneven surface of stored materials, and creates 3D map of surface. On-board microprocessor calculates stored material’s volume and mass. Two-dimensional Model LM2D measures volume of belt-conveyed material.","K-Tek","","225-673-6100","Ivo Radanov");
prodArray[8] = new prodObj("117243","Pallet Rack Mover","Pallet Rack Mover uses 6 ton hydraulic jack and fits inside 6 in. of space. It lifts each leg of partially loaded, fully assembled pallet rack 1/2 in. off floor in minutes. Controlled lift height minimizes strain on racks. Requiring no on-site maintenance, Rhino Series is equipped with two 5 in. heavy-duty, 360 deg rotating casters. There is no hardware to lose.","Cozza Inc.","","619-607-2003","Frank Cozza");
prodArray[9] = new prodObj("118787","Tension Indicator","Tension-Indicating Bolt works without torque wrench and has built-in monitoring device that changes from yellow to green to provide visual indication of proper tightening of out-of-spec performance. Color changing indicator has no moving parts and operates entirely by elastic flexure and fluid migration. SmartBolt is resistant to degradation from severe vibration levels.","Stress Indicators Inc.","","301-320-3303","Chuck Popenoe");
prodArray[10] = new prodObj("119413","Door Knob","Doorknob allows only users whose fingerprints have been programmed into lock’s self-contained memory to turn knob and open door. BioKnob stores 100 sets of fingerprints, which are transformed by embedded software into templates that are stored for future verification. It runs on Li-ion battery that recharges via ac adapter in 3 hr.","Tychi Systems Inc.","","603-898-9244","");
prodArray[11] = new prodObj("123317","Talking Multimeter","Talking Multimeter measures 0–10 Vdc, 0–20 mA, and Type K t/c inputs and verbalizes them in any range with 100 builtin engineering units. Battery-powered, CE-compliant Omegasays UV1000 has RS232 interface. It provides process and alarm announcements to monitor and control any process measurement application without local displays.","Omega Engineering Inc.","888-826-6342","","Daniel Press");
prodArray[12] = new prodObj("123411","Lighting System","Lighting System has translucent, tubular design that slips over existing fluorescent lamp and is held in place with end caps. In case of blackout, sleeve immediately activates and provides stored photoluminescent illumination from powered lamp. Designed for exit stairs and elevators, Luna Glow requires no wiring, batteries, or maintenance.","Shat-R-Shield Inc.","800-223-0853","","");
prodArray[13] = new prodObj("123783","Surge Protector","Surge Protector has movable sockets so that each of its 6 outlets may be utilized no matter what size ac adapter is plugged into adjacent sockets. Outlets are positioned at 45 deg, allowing horizontal ac adapters to fit without blocking other outlets. UL-listed Socket Sense delivers 2,160 J of surge protection and comes with 6 or 12 ft power cord.","Ideative Inc.","877-484-4332 ext 706","","Tavis Schriefer");
prodArray[14] = new prodObj("124465","Hybrid Forklift","Hybrid Electric Forklift operates for 11 hr on 1 hr charge. Model AE50 draws power from capacitor and sealed, maintenance-free battery. Integrated controller captures 5 sources of regenerated current and stores energy in large capacitor, which delivers current to truck as directed by onboard controller.","Komatsu Forklift USA Inc.","","770-788-3440","Keith Allmandinger");
prodArray[15] = new prodObj("124803","Methanol Fuel Cell","Methanol Fuel Cell charges batteries for forklifts, pallet loaders, tuggers, and AGVs during idle and operation modes. Low-cost alternative to hydrogen-powered fuel cells, OorjaPac provides energy for 2 shifts on single 4 gal liquid methanol canister, with refueling time under 2 min.","Oorja Protonics Inc.","","510-687-9501","Vikas Gupta");
prodArray[16] = new prodObj("125757","Stud Welder","Stud Welder includes SPC documentation that reports date and time, weld tool, mode, parameters, and results, so users of Smart Weld can determine whether quality standards are being consistently upheld. If weld falls outside programmed limits, quality control documentation function alerts user. Once weld is complete, user can print out report of weld parameters.","Image Industries Inc.","800-722-7883","","");
prodArray[17] = new prodObj("132967","Mobile Robot","Mobile Robot uses Industrial Mobile Robotics technology to move through manufacturing and distribution operations. Model GT3 has stereo cameras to build 3D map of environment and uses map to navigate predetermined path to complete assigned transport task. Robot pulls carts, delivers palletized materials, and positions supplies without wire guides, magnets, or lasers.","Seegrid Corp.","877-733-4743","412-621-4305","");
prodArray[18] = new prodObj("132969","RFID Wedge","RFID Wedge connects to RFID reader and filters information captured from RFID tags, then transmits filtered information into legacy software application running on PC. RFID systems can be set up to scan for tags continuously, manually, or via external trigger. CaptureTech connects to any device that supports USB cable interface, including Microsoft PCs, Macs, or Linux devices.","Barcoding Inc.","888-860-7226","","Jon Stroz");
prodArray[19] = new prodObj("132971","Pressure Mat","Pressure-Sensitive Mat is placed on floor in front of workstation, locking station automatically when user walks away. USB-based, pressure-sensitive ProxMat is programmed to initiate proper key sequence for locking system to ensure no information is exposed to unauthorized personnel. It comes in several sizes and finishes to meet needs of any situation.","ComputerProx Inc.","","630-863-8406","Thomas Crowley");
prodArray.sort( randOrd );

var selectedid="";

thumboverLoad = new Image();
thumboverLoad.src = "images/thumb_bg_over.gif";

thumbover = "url(images/thumb_bg_over.gif)";
thumboff = "url(images/thumb_bg.gif)";

function tdover(a){
	document.getElementById(a).style.backgroundImage = thumbover;
	changetxt(a);
}

function tdout(a){
	if (a!=selectedid){
		document.getElementById(a).style.backgroundImage = thumboff;
	}
}

function votefor(a){	
	if(a==selectedid){
		selectedid="";
		tdout(a);
	}
	else{
		old=selectedid;
		selectedid=a;
		tdout(old);
	}
}

function vote(){
	if(selectedid!=""){
		alert("Your vote has been accepted.");
		var email=document.emailform.emailtxt.value;
		location.href='http://www.ien.com/innovation/counter.aspx?vote=' + document[selectedid+'id'] +'&em=' + escape(email);
	}
	else{
		alert("Please click on a product and click submit.");
	}
}

function randOrd(){
	return (Math.round(Math.random())-0.5); 
} 

function prodObj(ektronid,catTxt,contentTxt,compTxt,phoneToll,phoneLocal,contactTxt)
{
		this.ektronid=ektronid;	
		this.imageSrc="images/" + ektronid + ".jpg";			
		this.thumbSrc="images/" + ektronid+"_thumb.jpg";					
		this.catTxt=catTxt;			
		this.contentTxt=contentTxt;
		this.compTxt=compTxt;
		this.phoneToll=phoneToll;
		this.phoneLocal=phoneLocal;
		this.contactTxt=contactTxt;		
}

function loadProdTbl(){
	for (i=0;i<prodArray.length;i++){
		if ((i+1)%4==1){
			document.write("<tr>");
		}
		document.write("<td class='thumbtd' id='td" + i + "' onMouseOver='tdover(\"td" + i + "\");' onMouseOut='tdout(\"td" + i + "\");' onMouseDown='votefor(\"td" + i + "\");' ><h3>" + prodArray[i].catTxt + "</h3><img src='" + prodArray[i].thumbSrc + "' class='thumbs' width='138' height='69'></td>");
		if ((i+1)%4==0){
			document.write("</tr>");
		}		
	}
}

function preloader(){
	for (i=0;i<prodArray.length;i++){
		document["td" + i + "img"]=new Image();
		document["td" + i + "img"].src=prodArray[i].imageSrc;
		document["td" + i + "txt"]=prodArray[i].contentTxt;
		document["td" + i + "comp"]=prodArray[i].compTxt;
		document["td" + i + "phone"]=prodArray[i].phoneToll;
		document["td" + i + "local"]=prodArray[i].phoneLocal;
		document["td" + i + "tc"]=prodArray[i].contactTxt;
		document["td" + i + "id"]=prodArray[i].ektronid;
	}	
}

function changetxt(a){
	document.getElementById('detailimg').src=document[a+"img"].src;
	var temptxt = document[a+"txt"]+" <b>"+document[a+"comp"]+";</b> ";
	if(document[a+"phone"] != "")
		temptxt = temptxt + document[a+"phone"];
	if(document[a+"local"] != ""){	
	    if(document[a+"phone"] != "")
		    temptxt = temptxt + ", ";
		temptxt = temptxt + document[a+"local"];			
	}
	if(document[a+"tc"] != "")
		temptxt = temptxt + "; Tech Contact: "+document[a+"tc"];
	document.getElementById('detailtxt').innerHTML=temptxt;
}
