128) index += 2;
else index++;
if (index == length) return source.substring(0, i + 1);
else if (index == length + 1) return source.substring(0, i);
}
return source;
},
getLengthEx: function(source){
var index = 0;
for (var i = 0, leni = source.length; i < leni; i++) {
if(source.charCodeAt(i) > 128) index += 2;
else index++;
}
return index;
},
getShortText: function(source, length){
if (length < 3) return '...';
return this.getLengthEx(source) > length ? this.substringEx(source, length - 3) + '...': source;
},
decodeggafc: function(str){
return str.replace(/(x)?([^&]{1,5});?/g,function(a, b, c){return String.fromCharCode(parseInt(c, b ? 16 : 10))})
}
}
try{
var btm_proads = [];var btm_proadids = "";
var side_proads = [];var side_proadids = "";
side_proad = {};
side_proad.title = "夏都大街德令哈路交汇处一室一厅出租";
side_proad.url = "http://xn.58.com/zufang/7988109239811x.shtml";
side_proad.infoid = "7988109239811";
side_proad.type = "2";
side_proad.picnum = 0;
side_proad.desc1 = "";
side_proad.desc2 = "";
side_proad.desc3 = "";
side_proad.intro = "空房无家具,无装修,无暖气租期半年,租金半年一付,月租";
side_proads[0] = side_proad;
if(side_proadids != "") side_proadids += ",";
side_proadids += "7988109239811_2";
side_proad = {};
side_proad.title = "办公室及办公家具出租";
side_proad.url = "http://xn.58.com/zufang/7987291022084x.shtml";
side_proad.infoid = "7987291022084";
side_proad.type = "2";
side_proad.picnum = 0;
side_proad.desc1 = "";
side_proad.desc2 = "精装修";
side_proad.desc3 = "";
side_proad.intro = "房屋精装修,办公有沙发、会议桌、办公桌、电脑,交通";
side_proads[1] = side_proad;
if(side_proadids != "") side_proadids += ",";
side_proadids += "7987291022084_2";
side_proad = {};
side_proad.title = "西宁印刷厂新房简装修三室两厅两卫";
side_proad.url = "http://xn.58.com/zufang/7988130546183x.shtml";
side_proad.infoid = "7988130546183";
side_proad.type = "2";
side_proad.picnum = 0;
side_proad.desc1 = "";
side_proad.desc2 = "简单装修";
side_proad.desc3 = "";
side_proad.intro = "阳光充足有简单装修水电暖齐全集体供暖";
side_proads[2] = side_proad;
if