//整体链接
$(".test").click(function () {
window.open("/shopping/v/" + $(this).attr("lang") + "/content.html");
});
$(document).ready(function () {
//百度在线客服弹窗
function BDOline() {
var url = 'http://p.qiao.baidu.com/cps/chatIndex?reqParam=%7B%22from%22%3A0%2C%22sid%22%3A%22-100%22%2C%22tid%22%3A%22-1%22%2C%22ttype%22%3A1%2C%22siteId%22%3A%2210886589%22%2C%22userId%22%3A%229907003%22%2C%22pageId%22%3A0%7D';//转向网页的地址;
var iWidth = 592; //弹出窗口的宽度;
var iHeight = 612; //弹出窗口的高度;
var iTop = (window.screen.height - 30 - iHeight) / 2; //获得窗口的垂直位置;
var iLeft = (window.screen.width - 10 - iWidth) / 2; //获得窗口的水平位置;
//window.open(url, "", "help=no,toolbar=no,height=' + iHeight + ',width=' + iWidth + ',top=' + iTop + ',left=' + iLeft + '");
window.open(url, "", 'height=' + iHeight + ',,innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no');
}
$(".footerBDOnline").click(function () {
BDOline();
});
});