﻿function swapImage(objName,newUrl,td,maxCount)
    {
        for (i=1;i<=maxCount;i++)
            {          
                var x = i;
                var y = ''+x+'';                            
                resetObject(y)            
            }
        var obj = document.getElementById(objName) ;     
        var objtd = document.getElementById(td) ;
        if (objtd==null )
        {}
        else
        {
            objtd.style.textDecoration = 'underline'             
            objtd.style.width='15px'
        }
        obj.src=newUrl; 
        obj.style.visibility='visible';
    }
  function resetObject(id)
    {
        var obj=document.getElementById(id);
        if (obj==null)
            {}
        else
            {
                document.getElementById(id).style.textDecoration = 'none'
                document.getElementById(id).style.width = '15px'
            }

    }
function _setText(id, text)          
{
        document.getElementById(id).innerHTML = text;
    }