$(document).ready(function () {
 $('.cs').css("background","url(images/cs.gif) no-repeat top left");
 $('.cs').css("width","793px");
  // find the elements to be eased and hook the hover event
  $('div.jimgMenu ul li').hover(function() {
    
    // if the element is currently being animated (to a easeOut)...
    if ($(this).is(':animated')) {
      $(this).stop().animate({width: "793px"}, {duration: 450, easing:"easeOutQuad"});
	  $('.cs').css("background-position","bottom left");
	  $(this).css("background-position","top left");	  
    } else {
      // ease in quickly
      $(this).stop().animate({width: "793px"}, {duration: 400, easing:"easeOutQuad"});
	  $('.cs').css("background-position","bottom left");
	  $(this).css("background-position","top left");	  
    }
  }, function () {
    // on hovering out, ease the element out
    if ($(this).is(':animated')) {
      $(this).stop().animate({width: "38px"}, {duration: 400, easing:"easeInOutQuad"})
	  $('.cs').css("background-position","top left");
	  $(this).css("background-position","bottom left");	  
    } else {
      // ease out slowly
      $(this).stop('animated:').animate({width: "38px"}, {duration: 450, easing:"easeInOutQuad"});
	  $('.cs').css("background-position","top left");
	  $(this).css("background-position","bottom left");	  
    }
  });
});
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
