﻿/// <reference path="../jquery-1.4.1.js" />
$(document).ready(function() {
    /*软件下载*/
$('.kfzx_rjxz').find('.tbSoftDownload').find('td').first().find('.divSoftDownload').css('background-image', 'url(/Images/Home/DownLoadTabBgHover.png)');
$('.kfzx_rjxz').find('.divSoftDownload').children().css('display', 'none');
$('.kfzx_rjxz').find('.divSoftDownload1').css('display', 'block');
$('.kfzx_rjxz').find('.tbSoftDownload').find('td').first().find('.divSoftName').css('color', '#317699').css('font-weight', 'bold');
$('.kfzx_rjxz').find('.tbSoftDownload').find('.tdSoftDownload').hover(function() {
        var index = $(this).attr('tabindex');
        $(this).nextAll('td').find('.divSoftName').css('color', '#999').css('font-weight', 'lighter');
        $(this).prevAll('td').find('.divSoftName').css('color', '#999').css('font-weight', 'lighter');
        $(this).find('.divSoftName').css('color', '#317699').css('font-weight', 'bold');
        $(this).find('.divSoftDownload').css('background-image', 'url(/Images/Home/DownLoadTabBgHover.png)');
        $(this).nextAll('td').find('.divSoftDownload').css('background-image', 'url(/Images/Home/DownLoadTabBg.png)');
        $(this).prevAll('td').find('.divSoftDownload').css('background-image', 'url(/Images/Home/DownLoadTabBg.png)');
        $('.kfzx_rjxz').find('.divSoftDownload' + index).nextAll('div').css('display', 'none');
        $('.kfzx_rjxz').find('.divSoftDownload' + index).prevAll('div').css('display', 'none');
        $('.kfzx_rjxz').find('.divSoftDownload' + index).css('display', 'block');
    });


    $('.kfzx_rjxz').find('.divSoftDownload').find('.tbSoftLst tr:odd').css('background-color', '#f5f5f5'); //odd奇数，even偶数
})
