jQuery.noConflict();

function stopAnimation()
{ 
  if ((! bol_breakStaticGif) && (obj_outImage != ""))
  {
    obj_outImage.src = obj_outImage.src.replace(/_over.gif\?t=[0-9]*/, "_out.gif");
  }
  
  if (obj_timeout != "") window.clearTimeout(obj_timeout);
    
  bol_breakStaticGif = false;
  obj_outImage = "";
}

function stopAllAnimations()
{
  jQuery("#col1 tbody td img").each(function(int_pCounter) {
    this.src = this.src.replace(/_over.gif\?t=[0-9]*/, "_out.gif");
  });
}

var obj_outImage = "";
var bol_breakStaticGif = false;
var str_oldAniGif = "";
var obj_timeout = "";
jQuery(document).ready(function(){
    
    jQuery("#col1 thead td, #col2").mouseover(function(){
      stopAllAnimations();
      bol_breakStaticGif = false;
      obj_outImage = "";
    });
        
    jQuery("#col1 tbody td").mouseover(function(){
      obj_date = new Date();
      obj_image = jQuery(this).parent().find("img").get(0);
      
      if (obj_image.src.search(/_over.gif/) == -1) 
      {
        if ((str_oldAniGif != "") && (str_oldAniGif != obj_image.src))
        {
          stopAllAnimations();
        }
        str_oldAniGif = obj_image.src;
        
        obj_image.src = obj_image.src.replace(/_out.gif/, "_over.gif?t=" + obj_date.getTime());
      }
      else
      {
        bol_breakStaticGif = true;
      }
    });
    
    jQuery("#col1 tbody td").mouseout(function(){
      obj_outImage = jQuery(this).parent().find("img").get(0);
        
      obj_timeout = window.setTimeout("stopAnimation()", 50);
    });
});