var xmtt = "//imgwcs2.soufunimg.com/viewimage/house/2020_02/13/6cebffb4-7fb2-4cd9-b41c-900b70c5be1a/282x188.jpg";
var xmmc = "万科翡翠山晓西麓";
var newcode = "1010124261";
var xmjj = "54625元/㎡";
var yhxx = "查看详情";
var xmbq1 = "大户型";
var xmbq1url = "http://newhouse.fang.com/house/s/shijingshan/b1housetag-c413/";
var xmbq2 = "跃层";
var xmbq2url = "http://newhouse.fang.com/house/s/shijingshan/b1housetag-c414/";
var xmbq3 = "南北通透";
var videotag = 1;
var xmbq3url = "http://newhouse.fang.com/house/s/shijingshan/b1housetag-c417/";
var isXiaoguoPic = true;
var adtag = "0";
(function(){
var str='';
str+='
';
if(adtag == '1'||adtag==1){
str+='';
}
if(isXiaoguoPic=='true'||isXiaoguoPic==true){
str+='

';
}else{
str+='
';
}
if(videotag == 1||videotag == '1'){
str+=" ";
}
str+='
';
str+='';
str+='';
str+='';
if(xmbq1){
str+='
'+xmbq1+'';
}
if(xmbq2){
str+='
'+xmbq2+'';
}
if (xmbq3){
str+='
'+xmbq3+'';
}
str+='
';
document.write(str);
document.write("
");
getstatus()
function getstatus(){
$.ajax({
url:"https://openadapi.fang.com/adtrains/liveTrains.do?newcode="+newcode,
timeout:5000,
success:function(data){
var obj = JSON.parse(data);
if(obj){
var livestatus = obj.data ;
var livestatusStr = '';
if(livestatus == 0){ return;}else{
$("").prependTo($("#ad_eyes_32199789"));
if ($("#ad_eyes_32199789 .iconlive").length == 0) {
$(" ").prependTo($("#ad_eyes_32199789"));
var aelement = $("#ad_eyes_32199789 a");
for(i = 0; i < aelement.length; i++) {
$("#ad_eyes_32199789 a")[i].href = $("#ad_eyes_32199789 a")[i].href + '?sort=video'
}
}
}
}
}
});
}
})();