﻿// Common javascript functions.
function RunLink(link, title, windowOptions)
{
    window.open(link, title, windowOptions);
}

function showMailToLink(sAddress) {
    document.write("<a href=" + "mail" + "to:" + sAddress + "@" + "RPMSolutions.com>" + sAddress + "@" + "RPMSolutions.com" + "</a>");
}

function showpic(psDivsionTagName, psImageTagName, psImageURL) {
    var oImage = document.getElementById(psImageTagName);
    oImage.src = psImageURL;

    var oDivision = document.getElementById(psDivsionTagName);
    oDivision.style.visibility = "visible";
}

function hidepic(psDivsionTagName) {
    var oDivision = document.getElementById(psDivsionTagName);
    oDivision.style.visibility = "hidden";
}

function toggleDisplay(myID) {
    var myEl;
    myEl = document.getElementById(myID);
    myEl.style.display = (myEl.style.display == 'block') ? 'none' : 'block';
}

function setText(InsertThisText, textID) {
    var Element = document.getElementById(textID);
    Element.innerHTML = InsertThisText;

    //if (Element.firstChild) {
    //    Element.firstChild.nodeValue = InsertThisText;
    //}
    //else {
    //    Element.appendChild(document.createTextNode(InsertThisText));
    //}
}

var moAtomizerText = Array();
var moAtomizerImage = Array();
moAtomizerImage[0] = "";
moAtomizerText[0] = "<h4>Drive Plate - Titanium</h4> " +
                    "This component is manufactured from high strength titanium.  This part is a structural " +
                    "component that allows for a three piece wheel.  A three piece wheel allows for the easier " +
                    "access of the lower wear ring to be removed.";
moAtomizerText[1] = "<h4>O-Rings</h4>" +
                    "The two o-rings on the drive plate plus an o-ring between the ceramic lower wear ring " +
                    "and the case are added to the drive plate to allow for the ceramic lower wear ring to " +
                    "float during operation.";
moAtomizerText[2] = "<h4>Ceramic Lower Wear Ring-Titanium</h4>" +
                    "This wheel design allows for a one piece ceramic lower wear ring that is contained " +
                    "with a titanium ring with an engineered interference fit.  The titanium containment " +
                    "ring keeps the ceramic wear insert under compression during operation.  Titanium " +
                    "material is used prevent the chance of stress corrosion cracking.  The design " +
                    "incorporates a stepped area with an o-ring seal between the ceramic lower wear " +
                    "ring and cone nut.  This design prevents the slurry from reaching the stem of " +
                    "the drive plate and migrating underneath the ceramic lower wear ring.";
moAtomizerText[3] = "<h4>Cone Nut</h4>" +
                    "The cone nut is manufactured from hardened stainless steel.  The design " +
                    "incorporates a stepped area with an o-ring seal between the ceramic lower wear ring " +
                    "and cone nut.  This design prevents the slurry from reaching the stem of the drive " +
                    "plate and underneath the ceramic lower wear ring.";
moAtomizerText[4] = "<h4>Case-Titanium</h4>" +
                    "This component is manufactured from high strength titanium.  This part is a " +
                    "structural component of the three piece wheel design.  The design allows for " +
                    "the use of advanced wear materials for the upper and lower wear rings.  The " +
                    "case is symmetrical for easy one hundred and eighty degree rotation of the " +
                    "nozzles and allows for even wear on the outside diameter of the case.";
moAtomizerText[5] = "<h4>Nozzle-Titanium</h4>" +
                    "This nozzle has a larger orifice help with plugging issues and higher slurry " +
                    "densities.  The nozzle was designed to include a stepped area with an o-ring " +
                    "to prevent slurry packing around the nozzle allowing for easier removal.  " +
                    "This nozzle incorporates a titanium cup.  The previous design utilized a " +
                    "taper to hold the nozzle in place during operation.  The centrifugal forces " +
                    "during operation wedged the nozzle with the tapered design in the main body " +
                    "of the atomizer wheel making difficult if not impossible to remove without " +
                    "breaking.  With the new design the nozzle is able to be removed and rotated " +
                    "for longer wear life of the component.";
moAtomizerText[6] = "<h4>O-Rings</h4>" +
                    "The o-ring on the case plus the two o-rings incorporated in the lid allow for " +
                    "the upper wear ring to float during operation.";
moAtomizerText[7] = "<h4>Seperate Upper Wear Ring</h4>" +
                    "In other designs, the lid acts as a structural component as well as a wear component. The wheel is " +
                    "designed to allow for their patented upper wear ring design.  This design separates the lid as a " +
                    "structural component and the upper wear ring as a wear component.  The upper wear ring wear insert " +
                    "can be offered as a heat treated stainless steel or ceramic for extreme abrasive applications. The wear " +
                    "insert is contained with a titanium ring for superior corrosion resistance.";
moAtomizerText[8] = "<h4>Lid-Titanium</h4>" +
                    "This component is manufactured from high strength titanium.  This patented " +
                    "design allows for the lid to be a structural member only and subjects the " +
                    "seamless upper wear ring to the wear.";
moAtomizerText[9] = "";
moAtomizerText[10] = "<h4>Drive Plate - Titanium</h4> " +
                    "This component is manufactured from high strength titanium.  This part is a structural " +
                    "component that allows for a three piece wheel.  A three piece wheel allows for the easier " +
                    "access of the lower wear ring to be removed.";
moAtomizerText[11] = "<h4>O-Rings</h4>" +
                    "The two o-rings on the drive plate plus an o-ring between the ceramic lower wear ring " +
                    "and the case are added to the drive plate to allow for the ceramic lower wear ring to " +
                    "float during operation.";
moAtomizerText[12] = "<h4>Cone Nut</h4>" +
                    "The cone nut is manufactured from hardened stainless steel.  The design " +
                    "incorporates a stepped area with an o-ring seal between the ceramic lower wear ring " +
                    "and cone nut.  This design prevents the slurry from reaching the stem of the drive " +
                    "plate and underneath the ceramic lower wear ring.";
moAtomizerText[13] = "<h4>Case-Titanium</h4>" +
                    "This component is manufactured from high strength titanium.  This part is a " +
                    "structural component of the three piece wheel design.  The design allows for " +
                    "the use of advanced wear materials for the upper and lower wear rings.  The " +
                    "case is symmetrical for easy one hundred and eighty degree rotation of the " +
                    "nozzles and allows for even wear on the outside diameter of the case.";
moAtomizerText[14] = "<h4>Nozzle-Titanium</h4>" +
                    "This nozzle has a larger orifice help with plugging issues and higher slurry " +
                    "densities.  The nozzle was designed to include a stepped area with an o-ring " +
                    "to prevent slurry packing around the nozzle allowing for easier removal.  " +
                    "This nozzle incorporates a titanium cup.  The previous design utilized a " +
                    "taper to hold the nozzle in place during operation.  The centrifugal forces " +
                    "during operation wedged the nozzle with the tapered design in the main body " +
                    "of the atomizer wheel making difficult if not impossible to remove without " +
                    "breaking.  With the new design the nozzle is able to be removed and rotated " +
                    "for longer wear life of the component.";
moAtomizerText[15] = "<h4>Seperate Upper Wear Ring</h4>" +
                    "In other designs, the lid acts as a structural component as well as a wear component. The wheel is " +
                    "designed to allow for their patented upper wear ring design.  This design separates the lid as a " +
                    "structural component and the upper wear ring as a wear component.  The upper wear ring wear insert " +
                    "can be offered as a heat treated stainless steel or ceramic for extreme abrasive applications. The wear " +
                    "insert is contained with a titanium ring for superior corrosion resistance.";
moAtomizerText[16] = "<h4>Lid-Titanium</h4>" +
                    "This component is manufactured from high strength titanium.  This patented " +
                    "design allows for the lid to be a structural member only and subjects the " +
                    "seamless upper wear ring to the wear.";
moAtomizerText[20] = "<h4>Drive Plate - Titanium</h4> " +
                    "This component is manufactured from high strength titanium.  This part is a structural " +
                    "component that allows for a three piece wheel.  A three piece wheel allows for the easier " +
                    "access of the lower wear ring to be removed.";
moAtomizerText[21] = "<h4>Ceramic Lower Wear Ring-Titanium</h4>" +
                    "This wheel design allows for a one piece ceramic lower wear ring that is contained " +
                    "with a titanium ring with an engineered interference fit.  The titanium containment " +
                    "ring keeps the ceramic wear insert under compression during operation.  Titanium " +
                    "material is used prevent the chance of stress corrosion cracking.  The design " +
                    "incorporates a stepped area with an o-ring seal between the ceramic lower wear " +
                    "ring and cone nut.  This design prevents the slurry from reaching the stem of " +
                    "the drive plate and migrating underneath the ceramic lower wear ring.";
moAtomizerText[22] = "<h4>Cone Nut</h4>" +
                    "The cone nut is manufactured from hardened stainless steel.  The design " +
                    "incorporates a stepped area with an o-ring seal between the ceramic lower wear ring " +
                    "and cone nut.  This design prevents the slurry from reaching the stem of the drive " +
                    "plate and underneath the ceramic lower wear ring.";
moAtomizerText[23] = "<h4>Case-Titanium</h4>" +
                    "This component is manufactured from high strength titanium.  This part is a " +
                    "structural component of the three piece wheel design.  The design allows for " +
                    "the use of advanced wear materials for the upper and lower wear rings.  The " +
                    "case is symmetrical for easy one hundred and eighty degree rotation of the " +
                    "nozzles and allows for even wear on the outside diameter of the case.";
moAtomizerText[24] = "<h4>Nozzle-Titanium</h4>" +
                    "This nozzle has a larger orifice help with plugging issues and higher slurry " +
                    "densities.  The nozzle was designed to include a stepped area with an o-ring " +
                    "to prevent slurry packing around the nozzle allowing for easier removal.  " +
                    "This nozzle incorporates a titanium cup.  The previous design utilized a " +
                    "taper to hold the nozzle in place during operation.  The centrifugal forces " +
                    "during operation wedged the nozzle with the tapered design in the main body " +
                    "of the atomizer wheel making difficult if not impossible to remove without " +
                    "breaking.  With the new design the nozzle is able to be removed and rotated " +
                    "for longer wear life of the component.";
moAtomizerText[25] = "<h4>O-Ring</h4>" +
                    "The o-ring on the case allows for the upper wear ring to float during operation.";
moAtomizerText[26] = "<h4>Seperate Upper Wear Ring</h4>" +
                    "In other designs, the lid acts as a structural component as well as a wear component. The wheel is " +
                    "designed to allow for their patented upper wear ring design.  This design separates the lid as a " +
                    "structural component and the upper wear ring as a wear component.  The upper wear ring wear insert " +
                    "can be offered as a heat treated stainless steel or ceramic for extreme abrasive applications. The wear " +
                    "insert is contained with a titanium ring for superior corrosion resistance.";
moAtomizerText[27] = "<h4>Lid-Titanium</h4>" +
                    "This component is manufactured from high strength titanium.  This patented " +
                    "design allows for the lid to be a structural member only and subjects the " +
                    "seamless upper wear ring to the wear.";


