$(function(){
	// 处理资讯详情图片变形问题
	$('.puic_wid').find('img').each(function(){
		var $that = $(this);
		var _alt = $that.attr('alt');
		if(_alt != 'code'){
			if(_alt != 'zixun'){
				$that.removeAttr('width');
				$that.removeAttr('height');
				$that.css({'display':'block','width':'100%','height':'auto'});
			}

		}
		// 咨询图标大小修改
		if (_alt == 'call') {
			$that.css({'display':'inline-block','width':'80px','height':'auto'});
		};

	})
	// v3品房海外精选----------------------------
	$('#demo06').navbarscroll({
        defaultSelect: 0 ,   //默认选中
        scrollerWidth:4,
        fingerClick:1,
        endClickScroll:function(obj){
            // console.log()
            var _Cityid=obj[0].dataset.id;
            $('.js_hsoe_m').hide();
            $('.js_hsoe_m[data-id='+ _Cityid +']').show();
        }
    });

})