﻿$(function(){
			$(".index_right_info_txt:odd").addClass("index_right_info_txt2");  //隔行换色处
			
			$(".index_house_1:odd").addClass("index_house_bg");  //隔行换色处
			$(".house_list:odd").addClass("house_list_bg");  //隔行换色处
			$(".basket1:odd").addClass("basket1_bg");  //隔行换色处
			$(".td2:odd").addClass("rent_add_bg");  //隔行换色处
			$(".td2").hover( 
                function () { 
                    $(this).addClass("rent_add_hover");   //鼠标经过时增加样式P02
                }, 
                function () { 
                    $(this).removeClass("rent_add_hover"); //鼠标离开时移除样式P02
                }
            )

           $(".zygw1").hover(
                function() {
           $(this).addClass("zygw1_hover");   //鼠标经过时增加样式P02
                },
                function() {
                $(this).removeClass("zygw1_hover"); //鼠标离开时移除样式P02
                }
            )

           $(".zygw2").hover(
                function() {
                    $(this).addClass("zygw2_hover");   //鼠标经过时增加样式P02
                },
                function() {
                    $(this).removeClass("zygw2_hover"); //鼠标离开时移除样式P02
                }
            )

                $(".demo_1").hover(
                function() {
                $(this).addClass("demo_2");   //鼠标经过时增加样式P02
                },
                function() {
                $(this).removeClass("demo_2"); //鼠标离开时移除样式P02
                }
            )

                $(".qqyhw").hover(
                function() {
                    $(this).addClass("qqyhw2");   //鼠标经过时增加样式P02
                    },
                    function() {
                    $(this).removeClass("qqyhw2"); //鼠标离开时移除样式P02
                }
            )
            
            $(".index_right_info_txt").hover( 
                function () { 
                    $((this)).addClass("index_right_info_txt3");   //鼠标经过时增加样式P02
                }, 
                function () { 
                    $((this)).removeClass("index_right_info_txt3");   //鼠标经过时增加样式P02
                }
            )
            $(".basket1").hover( 
                function () { 
                    $(this).addClass("basket1_hover");   //鼠标经过时增加样式P02
                }, 
                function () { 
                    $(this).removeClass("basket1_hover"); //鼠标离开时移除样式P02
                }
            )
			//鼠标经过样式变化处
			$(".index_info_con .index_house_1").hover( 
                function () { 
                    $(this).addClass("index_house_0");   //鼠标经过时增加样式P02
                }, 
                function () { 
                    $(this).removeClass("index_house_0"); //鼠标离开时移除样式P02
                }
            )
                $(".pic-tr:odd").addClass("pic-tr-hover");  //隔行换色处
                $(".pic-tr").hover(
                function () {
                    $(this).addClass("pic-tr2");   //鼠标经过时增加样式P02
                },
                function () {
                    $(this).removeClass("pic-tr2"); //鼠标离开时移除样式P02
                }
                )

                $(".new-tr3:odd").addClass("new-tr5");  //隔行换色处
                $(".new-tr3").hover(
                function () {
                    $(this).addClass("new-tr4");   //鼠标经过时增加样式P02
                },
                function () {
                    $(this).removeClass("new-tr4"); //鼠标离开时移除样式P02
                }
            )
                $(".new-tr5").hover(
                function () {
                    $(this).addClass("new-tr4");   //鼠标经过时增加样式P02
                },
                function () {
                    $(this).removeClass("new-tr4"); //鼠标离开时移除样式P02
                }
            )
               
                $(".index_info .house_list").hover( 
                function () { 
                    $(this).addClass("house_list_1");   //鼠标经过时增加样式P02
                }, 
                function () { 
                    $(this).removeClass("house_list_1"); //鼠标离开时移除样式P02
                }
            )
                $(".index_info").hover(
                function () {
                    $(".index_info .index_info_title_house").addClass("index_info_title_house2");   //鼠标经过时增加样式P02
                },
                function () {
                    $(".index_info .index_info_title_house").removeClass("index_info_title_house2"); //鼠标离开时移除样式P02
                }
            )
                
                $(".index_info_show_box").hover(
                function () {
                    $(this).addClass("index_info_show_box2");   //鼠标经过时增加样式P02
                    $(".index_info_show_box .index_info_show").addClass("index_info_show2");   //鼠标经过时增加样式P02
                },
                function () {
                    $(this).removeClass("index_info_show_box2"); //鼠标离开时移除样式P02
                    $(".index_info_show_box .index_info_show").removeClass("index_info_show2");   //鼠标经过时增加样式P02
                }
            )
				
				$(".index_info_show_box_feed").hover(
                function () {
                    $(this).addClass("index_info_show_box_feed2");   //鼠标经过时增加样式P02
                    $(".index_info_show_box_feed .index_info_show").addClass("index_info_show2");   //鼠标经过时增加样式P02
                },
                function () {
                    $(this).removeClass("index_info_show_box_feed2"); //鼠标离开时移除样式P02
                    $(".index_info_show_box_feed .index_info_show").removeClass("index_info_show2");   //鼠标经过时增加样式P02
                }
            )
			
			
			$(".video_more_c").hover( 
                function () { 
                    $(this).addClass("video_more_c_hover");   //鼠标经过时增加样式P02
                }, 
                function () { 
                    $(this).removeClass("video_more_c_hover"); //鼠标离开时移除样式P02
                }
            )

            $(".video_more_index").hover(
                function() {
                    $(this).addClass("video_more_index_hover");   //鼠标经过时增加样式P02
                },
                function() {
                    $(this).removeClass("video_more_index_hover"); //鼠标离开时移除样式P02
                }
            )
			
			//鼠标经过样式变化处
			$(".textlag").focus( 
                function () { 
                    $(this).addClass("textlag0");   //鼠标经过时增加样式P02
                })
			$(".textlag").blur( 
                function () { 
                    $(this).removeClass("textlag0"); //鼠标离开时移除样式P02
                }
            )
			
			$(".pertxt").focus( 
                function () { 
                    $(this).addClass("pertxt1");   //鼠标经过时增加样式P02
                })
			$(".pertxt").blur( 
                function () { 
                    $(this).removeClass("pertxt1"); //鼠标离开时移除样式P02
                }
            )
			
			//超链接无虚线框处
			$("a").focus( 
                function () { 
                    $(this).blur();
                }
             )
             
             $("#Yhw_head1_serchinput").focus( 
                function () { 
                    $(this).removeClass("serchinput");
                    $(this).addClass("serchinput_hover");
                }
             )
             
             $("#Yhw_head1_serchinput").blur( 
                function () { 
                    $(this).removeClass("serchinput_hover");
                    $(this).addClass("serchinput");
                }
             )
			 
			 $(".txt1").focus( 
                function () { 
                    $(this).removeClass("txt1");
                    $(this).addClass("txt1_hover");
                }
             )
             
             $(".txt1").blur( 
                function () { 
                    $(this).removeClass("txt1_hover");
                    $(this).addClass("txt1");
                }
             )
        })	

        $(document).ready(function() {
        if ($.browser.msie && $.browser.version <= 6.0) {
            $(".user_nav span").hover(
                 function() {
                     $(this).children("div").attr("style", "display: block");
                 },
                  function() {
                      $(this).children("div").attr("style", "");
                  })
              }
    });
