

function fixPNG(myImage) // correctly handle PNG transparency in Win IE 5.5 or higher.
{
    if (window.ie55up)
    {
        var imgID = (myImage.id) ? "id='" + myImage.id + "' " : ""
        var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : ""
        var imgTitle = (myImage.title) ? "title='" + myImage.title + "' " : "title='" + myImage.alt + "' "
        var imgStyle = "display:inline-block;" + myImage.style.cssText
        var strNewHTML = "<span " + imgID + imgClass + imgTitle
        strNewHTML += " style=\"" + "width:" + myImage.width + "px; height:" + myImage.height + "px;" + imgStyle + ";"
        strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
        strNewHTML += "(src=\'" + myImage.src + "\', sizingMethod='scale');\"></span>"
        myImage.outerHTML = strNewHTML
    }
}

function dget(objectID)
{
    return document.getElementById(objectID);
}

function outputRandomQuote(writeToElementName)
{
    document.getElementById(writeToElementName).innerHTML = getRandomQuote();
}
function getRandomQuote()
{
    var quotes = new Array();
    quotes.push('"NBH has come through for us many a times with custom orders. We are glad to have a partner who we can count on to be there to get the project done!"<BR><strong>Mark Lundgren<BR>Lund-Mark</strong>');
    quotes.push('<img src="images/leftquote_crest.png"><BR>"We really enjoy sending our clients to the NBH showroom. Their selection is great and their service is second to none."<BR><STRONG>Nick<BR>Crestwood</STRONG>');
    quotes.push('<img src="images/leftquote_euro.png"><BR>"NBH offers us a "complete source" for both hardware and machinery! We can count on their competent staff to help us with unique applications!<BR><STRONG>Euro Custom Cabinets</STRONG>');
    quotes.push('<img src="images/leftquote_closet.png"><BR>"These days, it seems like customer service is a thing of the past. Not at NBH! It\'s awesome to partner with a Company that shares our vision of customer service!"<BR><STRONG>Portland Closet Co.</STRONG>');

    index = Math.floor(Math.random() * quotes.length);

    return quotes[index];
}