﻿// JScript 文件


jQuery(function($){    
    $("#menu_sy").mouseover(function(){
        Menu_hide();
        }
    ).mouseout(function(){
        
    });    
});

jQuery(function(){
    $("#menu_gsjj").mouseover(function(){
        Menu_hide();
        $("#menu_bottom_gsjj").show();        
        }
    ).mouseout(function(){
        
        if(window.event.toElement.id!="menu_gsjj" && window.event.toElement.id!="1" && window.event.toElement.id!="3" && window.event.toElement.id!="2")
        {
            Menu_hide();
        }
    });
});

jQuery(function(){
     $("#menu_sbxs").mouseover(function(){
        Menu_hide();
        $("#menu_bottom_sbxs").show();        
        }
    ).mouseout(function(){
        if(window.event.toElement.id!="menu_sbxs" && window.event.toElement.id!="1" && window.event.toElement.id!="3" && window.event.toElement.id!="2")
        {
            Menu_hide();
        }
    });
});

jQuery(function(){
    $("#menu_mxfw").mouseover(function(){
        Menu_hide();
        $("#menu_bottom_mxfw").show();
        }
    ).mouseout(function(){
        if(window.event.toElement.id!="menu_mxfw" && window.event.toElement.id!="1" && window.event.toElement.id!="3" && window.event.toElement.id!="2")
        {
            Menu_hide();
        }
    });
});

jQuery(function(){
    $("#menu_xwzx").mouseover(function(){
        Menu_hide();
        }
    ).mouseout(function(){
        if(window.event.toElement.id!="menu_xwzx" && window.event.toElement.id!="1" && window.event.toElement.id!="3" && window.event.toElement.id!="2")
        {
            Menu_hide();
        }
    });
});

jQuery(function(){
     $("#menu_jszc").mouseover(function(){
        Menu_hide();
        }
    ).mouseout(function(){
        if(window.event.toElement.id!="menu_jszc" && window.event.toElement.id!="1" && window.event.toElement.id!="3" && window.event.toElement.id!="2")
        {
            Menu_hide();
        }
    });
});

jQuery(function(){
    $("#menu_zpxx").mouseover(function(){
        Menu_hide();        
        }
    ).mouseout(function(){
        if(window.event.toElement.id!="menu_zpxx" && window.event.toElement.id!="1" && window.event.toElement.id!="3" && window.event.toElement.id!="2")
        {
            Menu_hide();
        }
    });
});

jQuery(function(){
    $("#menu_lxwm").mouseover(function(){
        Menu_hide();
        $("#menu_bottom_lxwm").show();  
        }
    ).mouseout(function(){        
        if(window.event.toElement.id!="menu_lxwm" && window.event.toElement.id!="1" && window.event.toElement.id!="3" && window.event.toElement.id!="2")
        {
            Menu_hide();
        }
    }); 
});

function Menu_hide()
{
    $("#menu_bottom_gsjj").hide();
    $("#menu_bottom_sbxs").hide();
    $("#menu_bottom_mxfw").hide();
    $("#menu_bottom_lxwm").hide();    
}

jQuery(function($){
    $("#menu_bottom_gsjj").hover(
        function(){
            
        },function(){
            
            Menu_hide();
        }
    )
    
})

jQuery(function($){
    $("#menu_bottom_sbxs").hover(
        function(){
            
        },function(){
            
            Menu_hide();
        }
    )
    
})

jQuery(function($){
    $("#menu_bottom_mxfw").hover(
        function(){
            
        },function(){
            
            Menu_hide();
        }
    )
    
})

jQuery(function($){
    $("#menu_bottom_lxwm").hover(
        function(){
            
        },function(){
            
            Menu_hide();
        }
    )
    
})





jQuery(function($){    
    $("#s_c_l_fwxm").addClass("s_c_l_background");
});

jQuery(function($){
    $("#s_c_l_fwxm").mouseover(function(){
        S_c_l_delClass();
        $(this).addClass("s_c_l_background");
        S_c_r_Hide();
        $("#s_c_r_fwxm").show();        
    });
});

jQuery(function($){
    $("#s_c_l_mxqc").mouseover(function(){
        S_c_l_delClass();
        $(this).addClass("s_c_l_background");
        S_c_r_Hide();
        $("#s_c_r_mxqc").show();
    });
});

jQuery(function($){
    $("#s_c_l_mxjydq").mouseover(function(){
        S_c_l_delClass();
        $(this).addClass("s_c_l_background");
        S_c_r_Hide();
        $("#s_c_r_mxjydq").show();
    });
});

jQuery(function($){
    $("#s_c_l_mxdzcp").mouseover(function(){
        S_c_l_delClass();
        $(this).addClass("s_c_l_background");
        S_c_r_Hide();
        $("#s_c_r_mxdzcp").show();
    });
});

function S_c_l_delClass()
{
    $("#s_c_l_fwxm").removeClass("s_c_l_background");
    $("#s_c_l_mxqc").removeClass("s_c_l_background");
    $("#s_c_l_mxjydq").removeClass("s_c_l_background");
    $("#s_c_l_mxdzcp").removeClass("s_c_l_background");
}
function S_c_r_Hide()
{
    $("#s_c_r_fwxm").hide();
    $("#s_c_r_mxqc").hide();
    $("#s_c_r_mxjydq").hide();
    $("#s_c_r_mxdzcp").hide();
}


jQuery(function($){
    $("#QQTop_Close").click(function(){
        $("#QQLive").hide();
    });
});

jQuery(function($){
    $("#s_c_r_fwxm > div").hover(
        function(){        
        $(this).addClass("ser_cont_right_lil_active");
        },function(){
        $(this).removeClass("ser_cont_right_lil_active");
        }    
    );
})

jQuery(function($){
    $("#selectweb").change(function(){
        
        if($(this).val()==1)
        {            
            window.open("http://www.szrpm.cn","_self");            
        }
        else if($(this).val()==2)
        {
            window.open("http://www.tjrpm.com","_self");
        }  
        else if($(this).val()==3)
        {
            window.open("http://www.szppc.gov.cn/industry/","_self");
        }        
    });
    
});


jQuery(function($){
    $("#notice").slideDown(1000);
})

jQuery(function($){
    $("#notice_close").click(function(){
        $("#notice").slideUp(1000);
    }).mouseover(function(){
        $("#notice_close").css("background-color","red");
    }).mouseout(function(){
        $("#notice_close").css("background-color","transparent");
    });
})


function CloseNotice()
{
    $("#notice").slideUp(1000);
}

jQuery(function($){
    setTimeout("CloseNotice()",5000)
})