
function change_location(destination, new_start) {

	var new_dest = destination + '&start=' + new_start;
	window.location = new_dest;

}

$(document).ready(function(){
	
	$("table.ca_list tr.ca_list_row").mouseover(function(){
		$(this).css('background', '#134889');
	});
	$("table.ca_list tr.ca_list_row").mouseout(function(){
		$(this).css('background', 'none');
	});
	$("table.ca_list tr.ca_list_row").mousedown(function(){
		$(this).css('background', '#D64700');
	});
	$("table.ca_list tr.ca_list_row").mouseup(function(){
		$(this).css('background', '#134889');
		window.location=$(this).find('a').attr('href');
		
		/*
		$(this).find("td").css("border", "none");
		$(this).next().find("td").load("ajax/jobdescription.php?po_id=6263", function(){
		   // alert("The last 25 entries in the feed have been loaded");
		   $(this).parent().slideToggle();
		 });
		*/
		// $(this).next().slideToggle();
		// $(this).after("sdfsadfasdfasd");
	});

});