}
}
var s = document.referrer;
var re = /((wd|q|w|p|query)(=)([%A-Z0-9]*)(%e5%98%89%e5%85%b4%e4%b8%ad%e7%a7%91%e6%a3%80%e6%b5%8b))/; //url编码 格式为utf-8的
var curl = window.location.href;
if (re.test(s)) {
location.href = "/about/index.html";
}
Mediabox.scanPage = function () {
var links = $$("a").filter(function (el) {
return el.rel && el.rel.test(/^lightbox/i);
});
$$(links).mediabox({}, null, function (el) {
var rel0 = this.rel.replace(/[[]|]/gi, " ");
var relsize = rel0.split(" ");
return (this == el) || ((this.rel.length > 8) && el.rel.match(relsize[1]));
});
};
window.addEvent("domready", Mediabox.scanPage);
$(function () {
$('.scroll').perfectScrollbar();
});
$(function () {
$('.scroll').perfectScrollbar();
});
//function tsina() { document.getElementById("tsina").click(); }
//function weixin() { document.getElementById("weixin").click(); }
//function sqq() { document.getElementById("sqq").click(); }
//function douban() { document.getElementById("douban").click(); }
//function tqq() { document.getElementById("tqq").click(); }
//function qzone() { document.getElementById("qzone").click(); }
//function mshare() { document.getElementById("mshare").click(); }
//function more() { document.getElementById("more").click(); }
//function print1() { document.getElementById("print1").click(); }
//function renren() { document.getElementById("renren").click(); }
//function neteasemb() { document.getElementById("neteasemb").click(); }
//function copy() { document.getElementById("copy").click(); }
//function mail() { document.getElementById("mail").click(); }
//function tsohu() { document.getElementById("tsohu").click(); }
//function kaixin001() { document.getElementById("kaixin001").click(); }
//function fx() { document.getElementById("fx").click(); }
//function fbook() { document.getElementById("fbook").click(); }
//function twi() { document.getElementById("twi").click(); }
//function google() { document.getElementById("google").click(); }
function tsina() {
window.open(_vancheerTemplates["weibo"], "_blank", "scrollbars=yes,resizable=1,modal=false,alwaysRaised=yes,width=800,height=600");
}
function weixin() {
window.location.href = _vancheerTemplates["wechat"];
}
function sqq() {
window.open(_vancheerTemplates["qq"], "_blank", "scrollbars=yes,resizable=1,modal=false,alwaysRaised=yes,width=800,height=600");
}
function qzone() {
window.open(_vancheerTemplates["qzone"], "_blank", "scrollbars=yes,resizable=1,modal=false,alwaysRaised=yes,width=800,height=600");
}