﻿function display (displayMessage)

{
document.getElementById('bbTestTerms').innerHTML = displayMessage;
}



function tensile (message)

{
display('<div id="imagePosition"> \n' +
        '<img id="tech_terms" height="375" border="0" width="500" name="tech_terms" alt="" src="images/tensile.jpg"/> \n' +
    '</div> \n' +
        '<div id="explanation" align="center"> \n' +
       ' <br><br><br><br><br>\n' +
       '<align="center"><b>Tensile Strength<br></b><br><br>This is the ultimate pullout force\n' +
       ' required for the bolt to fail when under a tensile load.');
}



function shearThread (message)

{
display('<div id="imagePosition"> \n' +
        '<img id="tech_terms" height="375" border="0" width="500" name="tech_terms" alt="" src="images/shearThread.jpg"/> \n' +
    '</div> \n' +
        '<div id="explanation" align="center"> \n' +
       ' <br><br><br><br><br>\n' +
       '<align="center"><b>Shear Strength Over Thread<br></b><br><br>This is the ultimate force required for the bolt to \n' +
    ' fail when the shear plane, produced by the two materials being clamped, falls over the \n' +
    ' threaded portion of the bolt.</div>');
}



function shearSlot (message)

{
display('<div id="imagePosition"> \n' +
        '<img id="tech_terms" height="375" border="0" width="500" name="tech_terms" alt="" src="images/shearOver.jpg"/> \n' +
    '</div> \n' +
        '<div id="explanation" align="center"> \n' +
       ' <br><br><br><br><br>\n' +
       '<align="center"><b>Shear Strength Over Slot<br></b><br><br>This is the ultimate force required for the bolt to \n' +
    ' fail when the shear plane, produced by the two materials being clamped, falls over the slotted portion of the \n' +
    ' Blind Bolt near the anchor when the bolt has been installed in the correct vertical alignment.</div>');
}



function shearSlot90 (message)

{
display('<div id="imagePosition"> \n' +
        '<img id="tech_terms" height="375" border="0" width="500" name="tech_terms" alt="" src="images/shear90.jpg"/> \n' +
    '</div> \n' +
        '<div id="explanation" align="center"> \n' +
       ' <br><br><br><br><br>\n' +
       '<align="center"><b>Shear Strength 90<sup>o</sup> Over Slot<br></b><br><br>This is the ultimate force required \n' +
    ' for the bolt to fail when the shear plane, produced by the two materials being clamped, falls over the slotted  \n' +
    'portion of the Blind Bolt when the bolt has been installed with the anchor in a horizontal position.</div>');
}



function reset1 (message)

{
display('<div id="imagePosition"> \n' +
        '<img id="tech_terms" height="375" border="0" width="500" name="tech_terms" alt="" src="images/allTest.jpg"/> \n' +
    '</div> \n' +
        '<div id="explanation" align="center"></div>');
}