 // Start of Content Menu Nav

function mainmenu(){
$(" #nav ul ").css({display: "none"}); // Opera Fix
$(" #nav li").hover(function(){
		$(this).find('ul:first').css({visibility: "visible",display: "none"}).show(400);
		},function(){
		$(this).find('ul:first').css({visibility: "hidden"});
		});
}

 
 
 $(document).ready(function(){					
	mainmenu();
});
 
 // End of Content Menu Nav
 
 
 
 
 
 // Start of Table highlighting
 
$(function() {

    var i = 0;
    
    $("colgroup").each(function() {
    
        i++;
        
        $(this).attr("id", "col"+i);
    
    });
    
    var totalCols = i;
        
    i = 1;

    $("td").each(function() {
    
        $(this).attr("rel", "col"+i);
        
        i++;
        
        if (i > totalCols) { i = 1; }
    
    });

    $("td").hover(function() {
    
        $(this).parent().addClass("hover");
        var curCol = $(this).attr("rel");
        $("#"+curCol).addClass("hover");
    
    }, function() {
    
        $(this).parent().removeClass("hover");
        var curCol = $(this).attr("rel");
        $("#"+curCol).removeClass("hover");
    
    });

});

 // End of Table highlighting