﻿   
   
   
   function expandcollapse(obj,row)
    {
        var div = document.getElementById(obj);
        var img = document.getElementById('img' + obj);
        
        if (div.style.display == "none")
        {
            div.style.display = "block";
            if (row == 'alt')
            {
                img.src = "images/minus.gif";
            }
            else
            {
                img.src = "images/minus.gif";
            }
            img.alt = "Close to view other Customers";
        }
        else
        {
            div.style.display = "none";
            if (row == 'alt')
            {
                img.src = "images/plus.gif";
            }
            else
            {
                img.src = "images/plus.gif";
            }
            img.alt = "Expand to show Orders";
        }
    } 

