//This is meant to house global scripts for the NOCO site

$(document).ready(function() {

	// Adds striping to the odd rows of any data table
	$("table.dataTable tbody tr:nth-child(even)").addClass("even");
	$("table.dataTable tbody tr:nth-child(odd)").addClass("odd");
	
	// Adds hover state to rows on table for all browsers
	$("table.dataTable tr").hover(
      function () {
        $(this).addClass("hover");
      }, 
      function () {
        $(this).removeClass("hover");
      }
    );
    
    //Adds pipe character between nav elements except for the last element
   // $("ul#nav li:not(:last)").append(" | ");
   // $("ul#footer-nav li:not(:last)").append(" | ");
		
});
