var thumb = null;
    function showthumbnail(which,e)
    {
        thumb = document.getElementById('thumb');
        if( thumb && thumb.style.visibility == 'hidden' )
        {
			   var ieversion=/*@cc_on function(){ switch(@_jscript_version){ case 1.0:return 3;
              case 3.0:return 4;case 5.0:return 5; case 5.1:return 5; case 5.5:return 5.5;
              case 5.6:return 6; case 5.7:return 7; }}()||@*/0;
        
        
        if (ieversion == 7) {
		
		 var left       = e.pageX ? pageXOffset + e.clientX + 20 : document.body.scrollLeft + e.x + 20;
         var top        = e.pageY ? pageYOffset + e.clientY : document.body.scrollTop  + e.y;
		 thumb.style.left       = left + 'px';
         thumb.style.top        = top  + 2280 + 'px';
			
		}
	else { 
		 var left       = e.pageX ? pageXOffset + e.clientX + 20 : document.body.scrollLeft + e.x + 20;
         var top        = e.pageY ? pageYOffset + e.clientY : document.body.scrollTop  + e.y;
		 thumb.style.left       = left + "px";
            thumb.style.top        = top + "px";
			
		}
		
            //var left       = e.pageX ? pageXOffset + e.clientX + 20 : document.body.scrollLeft + e.x + 20 + "px";
            //var top        = e.pageY ? pageYOffset + e.clientY : document.body.scrollTop  + e.y + "px";
			//thumb.style.left       = left;
            //thumb.style.top        = top;
            thumb.style.visibility = 'visible';
            thumb.innerHTML        = '<img src="' + which + '">';
        }
    }
    function closethumbnail()

    {
        if( thumb )
            thumb.style.visibility = 'hidden';
    }


