<!--
if(!Array.indexOf){
	    Array.prototype.indexOf = function(obj){
	        for(var i=0; i<this.length; i++){
	            if(this[i]==obj){
	                return i;
	            }
	        }
	        return -1;
	    }
	}
   

 function showPopup(e, item) {
		var coating = item.innerHTML;
	    		
	    if (!e) var e = window.event;
		if (e.pageX || e.pageY) 	{
			posx = e.pageX + 15;
			posy = e.pageY;
		}
		else if (e.clientX || e.clientY) 	{
			posx = e.clientX + document.body.scrollLeft
				+ document.documentElement.scrollLeft + 15;
			posy = e.clientY + document.body.scrollTop
				+ document.documentElement.scrollTop;
		}
	
	    document.getElementById("popup").style.top = posy + "px";
	    document.getElementById("popup").style.left = posx + "px";
	    document.getElementById("coating").innerHTML = coating;
	    document.getElementById("info").innerHTML = coatingInfo(item);
	    document.getElementById("popup").style.visibility = "visible";
	    }
	    
	    function hidePopup() {
	    document.getElementById("popup").style.visibility = "hidden";
    }
    
    function coatingInfo(item) {
	    var coatings = new Array(22);
	    var coatingsInfo = new Array(22);
	    
	    coatings[0] = "dupont";
	    coatings[1] = "xylan";
	    coatings[2] = "nylon";
	    coatings[3] = "baked_phenolic";
	    coatings[4] = "epoxy";
	    coatings[5] = "fluorobond";
	    coatings[6] = "kynar";
	    coatings[7] = "kf_polymer";
	    coatings[8] = "halar";
	    coatings[9] = "etfe";
	    coatings[10] = "ptfe";
	    coatings[11] = "fep";
	    coatings[12] = "pfa";
	    coatings[13] = "pvc";
	    coatings[14] = "pvdf";
	    coatings[15] = "pps";
	    coatings[16] = "tfe";
	    coatings[17] = "heresite";
	    coatings[18] = "polyesters";
	    coatings[19] = "polyurethane";
	    coatings[20] = "hybrids";
	    coatings[21] = "urethane";
	    
	    // 0 dupont, 1 xylan, 2 nylon, 3 baked_phenolic, 4 epoxy, 5 fluorobond,
	    // 6 kynar, 7 kf_polymer, 8 halar, 9 etfe, 10 ptfe, 11 fep, 12 pfa,
	    // 13 pvc, 14 pvdf, 15 pps, 16 tfe, 17 heresite, 18 polyesters, 19 polyurethane,
	    // 20 hybrids, 21 urethane
	    
	    coatingsInfo[0] = "All industrial grades available.";
		coatingsInfo[1] = "(Polytetrafluoroethylene) Good wear resistance, low coefficient of friction, fair corrosion resistance. Use temperature 450-500 degrees Fahrenheit.";
	    coatingsInfo[2] = "Excellent wear, low coefficient of friction, fair corrosion resistance. Use temperature 225 degrees Fahrenheit. FDA & USDA approved.";
	    coatingsInfo[3] = "Good chemical properties, excellent over the spectrum of H2SO4, ideal finned tube heat exchanger coating. Use temperature 400 degrees Fahrenheit.";
	    coatingsInfo[4] = "Good wear and abrasion qualities, good corrosion resistance. Use temperature 250 degrees Fahrenheit.";
	    coatingsInfo[5] = "Used for thin films of PFA";
	    coatingsInfo[6] = "(Polyvinylidene Fluoride) Good wear and abrasion qualities, excellent corrosion resistance. Use temperature 250-300 degrees Fahrenheit. FDA & USDA approved.";
	    coatingsInfo[7] = "(Polyvinylidene Fluoride) Good wear and abrasion qualities, excellent corrosion resistance. Use temperature 250-300 degrees Fahrenheit. FDA & USDA approved.";
	    coatingsInfo[8] = "(Ethylene-chlorotrifluorodethylene) Excellent wear and abrasion qualities, low coefficient of friction, excellent corrosion resistance, excellent release characteristics. Use temperature 300-325 degrees Fahrenheit.";
	    coatingsInfo[9] = "(Ethylene-tetrafluoroethylene) Excellent wear and abrasion qualities, low coefficient of friction, excellent corrosion resistance, excellent electrical properties. Use temperature 350 degrees Fahrenheit.";
	    coatingsInfo[10] = "(Polytetrafluoroethylene) Good wear resistance, low coefficient of friction, fair corrosion resistance. Use temperature 450-500 degrees Fahrenheit.";
	    coatingsInfo[11] = "(Fluoroinated Ethylene Propylene) Good wear and abrasion qualities, low coefficient of friction, excellent corrosion resistance, excellent release characteristics. Use temperature 400 degrees Fahrenheit.";
	    coatingsInfo[12] = "(Perfluoroalkoxy) Good wear and abrasion qualities, low coefficient of friction, excellent corrosion resistance, excellent release capabilities. Use temperature 525-550 degrees Fahrenheit.";
	    coatingsInfo[13] = "PVC coatings are highly decorative, functional and economical.";
	    coatingsInfo[14] = "(Polyvinylidene Fluoride) Good wear and abrasion qualities, excellent corrosion resistance. Use temperature 250-300 degrees Fahrenheit. FDA & USDA approved.";
	    coatingsInfo[15] = "(Polyphenylene Sulfide) Excellent abrasion resistance, good corrosion resistance. Use temperature 450-500 degrees Fahrenheit. FDA & USDA approved.";
	    coatingsInfo[16] = "Information coming soon.";
	    coatingsInfo[17] = "Good chemical properties, excellent over the spectrum of H<sub>2</sub>SO<sub>4</sub>, ideal finned tube heat exchanger coating. Use temperature 400 degrees Fahrenheit.";
	    coatingsInfo[18] = "TGIC polyester coatings are formulated to withstand extended outdoor exposure.";
	    coatingsInfo[19] = "Excellent wear and abrasion qualities, fair corrosion resistance. Use temperature 212 degrees Fahrenheit.";
	    coatingsInfo[20] = "Hybrid coatings possess good overbake resistance and Faraday Cage penetration. Hybrids perform well in non-weatherable applications such as office parts.";
	    coatingsInfo[21] = "Typial applications include patio furniture, appliances, reflective lighting fixtures, lawn and garden equipment, air conditioner housing, playground and recreation equipment, automotive accessories and electrical boxes.";
	    
		var returnCoating;
		
		returnCoating = coatingsInfo[coatings.indexOf(item.id)];
		
		return returnCoating;
    }
//-->