﻿/*
 * Copyright (C) 2009 
 * All rights reserved
 * 全站通用脚本
 */
 ( function( $ ) {
$( document ).ready( function() {
    
    // 获取GET参数
    window.$_GET = {};
    document.location.search.replace(/\??(?:([^=]+)=([^&]*)&?)/g, function () {
        function decode(s) {
            return decodeURIComponent(s).replace(/\+/g, " ");
        }

        $_GET[decode(arguments[1])] = decode(arguments[2]);
    });
    
    // 修正ie6 select z-index的问题
    if ( $.fn.bgiframe ) {
        $( ".subNav" ).bgiframe();
    };
    
    // 导航tab
    $( "#nav li" ).hover(
        function() {
            $( this ).addClass( "over" );
        },
        function() {
            $( this ).removeClass( "over" );
        }
    );
    
    
    
});

})( jQuery );	




 function getTopID(id)
	{
		
		document.getElementById("top"+id).className="cur";
	}



