var test = new Vcity.CitySelector({ input: 'citySelect' });
$(document).ready(function(){
var arrJ=$(".J-lbcp");
arrJ.each(function(){
var Odl=$(this).parents("dl"),num=1;
var maxnum=Odl.find(".box").length;
Odl.find(".maxnum").text(maxnum);
function showBox(){
if(num < 1){
num = maxnum;
} else if(num > maxnum){
num = 1;
}
Odl.find(".J-lbcp").html(num);
var products = Odl.find(".box").hide().eq(num-1).show(),
ta = products.find("textarea");
if(ta.length){
products.html(ta.val());
}
}
Odl.find(".prev").click(function(){
num--;
showBox();
});
Odl.find(".next").click(function(){
num++;
showBox();
});
});
});
var arrLinks = $(".f_floor");
arrLinks.each(function(){
$(this).find("dl").height($(this).height()-30);
});
function searchClick() {
$('#search').submit();
}
var test = new Vcity.CitySelector({ input: 'citySelect' });
-->
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'push'/*tpa=https://zz.bdstaticlinksubmit/push*/;
}
else {
bp.src = 'push-1'/*tpa=http://push.zhanzhang.baidupush*/;
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
-->