
$(document).ready(function() {

	jQuery.preloadImages = function()
{
	for(var i = 0; i<arguments.length; i++)
	{
		jQuery("<img>").attr("src", arguments[i]);
	}
}
  $("#contentAreaSubpage.clearfix table tbody tr td.donpad table tbody tr td p.normal a img").hover(function() {
    $(this).attr("src", $(this).attr("src").replace("_off", "_on"));
  }, function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_off"));
  });

  $("tr.FormRow td table tbody tr td.FormCaption table tbody tr td h1 a img").hover(function() {
    $(this).attr("src", $(this).attr("src").replace("_off", "_on"));
  }, function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_off"));
  });  
  
  $("#contentAreaSubpage.clearfix table tbody tr td.donpad table tbody tr td p.normal a img").mousedown(function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_click"));
  });
  $("#contentAreaSubpage.clearfix table tbody tr td.donpad table tbody tr td p.normal a img").mouseup(function() {
    $(this).attr("src", $(this).attr("src").replace("_click", "_on"));
  });

  $("tr.FormRow td table tbody tr td.FormCaption table tbody tr td h1 a img").mousedown(function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_click"));
  });
  $("tr.FormRow td table tbody tr td.FormCaption table tbody tr td h1 a img").mouseup(function() {
    $(this).attr("src", $(this).attr("src").replace("_click", "_on"));
  }); 
  
  $("div.donpad div.appArea table tbody tr td p.normal strong em a img#AylahBtn").hover(function() {
    $(this).attr("src", $(this).attr("src").replace("_off", "_on"));
  }, function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_off"));
  });  
  
   $("div.donpad div.appArea table tbody tr td p.normal strong em a img#AylahBtn").mousedown(function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_click"));
  });
  
  $("div.donpad div.appArea table tbody tr td p.normal strong em a img#AylahBtn").mouseup(function() {
    $(this).attr("src", $(this).attr("src").replace("_click", "_on"));
  });


  $("#contentAreaSubpage img#NYALSC").hover(function() {
    $(this).attr("src", $(this).attr("src").replace("_off", "_on"));
  }, function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_off"));
  });  
  
   $("#contentAreaSubpage img#NYALSC").mousedown(function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_click"));
  });
  
  $("#contentAreaSubpage img#NYALSC").mouseup(function() {
    $(this).attr("src", $(this).attr("src").replace("_click", "_on"));
  }); 
  
  $("img#Share-Your-News, img#NALSC").hover(function() {
    $(this).attr("src", $(this).attr("src").replace("_off", "_on"));
  }, function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_off"));
  });  
  
  $("img#Share-Your-News, img#NALSC").mouseup(function() {
    $(this).attr("src", $(this).attr("src").replace("_click", "_on"));
  }); 
  
   $("img#Share-Your-News, img#NALSC").mousedown(function() {
    $(this).attr("src", $(this).attr("src").replace("_on", "_click"));
  });
  
});
