// JavaScript Document

 
 function preload_images(atag) {
	 //preload the rollovers
	jQuery.each($(atag), function() {
		var src = $(this).children().attr("src").replace(/\.png/, '_on.png');
		//jQuery ('<img src="'+src + '" />');
			$('#preload_placeholder').attr('src', src);
		}
	);
 }
 
function assign_rollovers(atag) {
	preload_images(atag);
	
	$(atag).hover(
			function(){
	 		 	var src = $(this).children().attr("src").replace(/\.png/, '_on.png');
				$(this).children().attr("src", src);
	 		},
			function() {
				var src = $(this).children().attr("src").replace(/\_on\.png/, '.png');
				$(this).children().attr("src", src);
			}
	 );	
}

$(document).ready(function(){
	$("tr.td_rollover").hover(
      function () {
        $(this).addClass("highlight");
      }, 
      function () {
        $(this).removeClass("highlight");
      }
    );  
});


	