﻿// JScript 文件

$(document).ready(function() {
	
    $("ul#topnav li").hover(function() { //Hover over event on list item
    	$(this).css({ 'background' : '#1376c9 url(/Law/IMG/topnav_active.gif) repeat-x'}); //Add background color + image on hovered list item
    	$(this).find("span").show(); //Show the subnav
    } , function() { //on hover out...
    	$(this).css({ 'background' : 'none'}); //Ditch the background
    	$(this).find("span").hide(); //Hide the subnav
    });
	
    $("#gvList tr").hover(function(){
        $(this).css("background","#efefef");
    },  function(){
        $(this).css("background","#ffffff");
    });	
    	
});
