/* For ZBlogPHP MoreLinks88130471 [ https://app.zblogcn.com/?id=1784 ] */
(function(){
var sTlist1 = document.getElementById("sTlist1");
var sTlist2 = document.getElementById("sTlist2");
var sTlist3 = document.getElementById("sTlist3");
var sPlist1 = document.getElementById("sPlist1");
var sPlist2 = document.getElementById("sPlist2");
var sPlist3 = document.getElementById("sPlist3");
var sTlist1Arr = [], sTlist2Arr = [], sTlist3Arr = [], sPlist1Arr = [], sPlist2Arr = [], sPlist3Arr = [], aPshowArr = [], oDiyArr = [];
sTlist1Arr[0] = '
网站测速';
sTlist1Arr[1] = '免备案高防CDN 攻击不绕美';
sTlist1Arr[2] = '织梦cms迁移wordpress';
sTlist1Arr[3] = '广告位招租 ';
sTlist1Arr[4] = 'com域名60,cn域名32';
sTlist1Arr[7] = '微信小程序商城开发一条龙';
sTlist1Arr[9] = 'zkeys阿帕云引擎模板14套';
sTlist2Arr[0] = 'Z-BlogPHP官网';
sTlist2Arr[1] = 'Z-BlogPHP应用中心';
sTlist2Arr[2] = 'GitHub';
sTlist2Arr[3] = '新浪微博';
sTlist2Arr[4] = '极客公园';
sTlist2Arr[5] = '阿里云';
sTlist2Arr[6] = '腾讯云';
sTlist2Arr[7] = '网易云音乐';
sTlist2Arr[8] = '益吾库';
sTlist2Arr[9] = '作者全部作品';
sTlist3Arr[0] = 'Z-BlogPHP官网';
sTlist3Arr[1] = 'Z-BlogPHP应用中心';
sTlist3Arr[2] = 'GitHub';
sTlist3Arr[3] = '联系作者';
sPlist1Arr[0] = '
';
sPlist1Arr[1] = '
';
sPlist1Arr[2] = '
';
//sPlist1Arr[4] = '
';
sPlist2Arr[0] = '
';
sPlist2Arr[1] = '
';
sPlist3Arr[0] = '
';
sPlist3Arr[1] = '
';
sPlist3Arr[2] = '
';
sPlist3Arr[3] = '
';
aPshowArr[3] = '
';
aPshowArr[11] = '
';
oDiyArr[1] = '';
oDiyArr[2] = '';
oDiyArr[4] = '自定义广告内容4';
oDiyArr[5] = '自定义广告内容5';
oDiyArr[6] = '自定义广告内容6';
function erxPlushow(arr, name){
for (var i=0; i < arr.length; i++){
document.getElementById(name+i)&&arr[i]?document.getElementById(name+i).innerHTML = arr[i]:'';
}
}
erxPlushow(aPshowArr, 'aPshow');
erxPlushow(oDiyArr, 'oDiy');
function stAutoHt(a, c){
var b = [], h = 0;
for (var i=0; i < a.length; i++){
b.push(a[i].offsetHeight);
}
h = (c + Math.max.apply(Math, b) - Math.min.apply(Math, b)) * 1;
for (var i=0; i < a.length; i++){
a[i].parentNode.style.height = h + "px";
}
}
if(sTlist1){
var sTlist1Str = "", sTlist1As = sTlist1.getElementsByTagName("a");
for (var i=0; i < sTlist1Arr.length; i++){
if(typeof(sTlist1Arr[i])!='undefined'){
sTlist1Str += sTlist1Arr[i];
}
}
sTlist1.innerHTML = '';
stAutoHt(sTlist1As, 35);window.addEventListener("resize", function(){stAutoHt(sTlist1As, 35);}, false);
if(sTlist1Str == ""){
sTlist1.parentNode.removeChild(sTlist1);
}
} if(sTlist2){
var sTlist2Str = "", sTlist2As = sTlist2.getElementsByTagName("a");
for (var i=0; i < sTlist2Arr.length; i++){
if(typeof(sTlist2Arr[i])!='undefined'){
sTlist2Str += sTlist2Arr[i];
}
}
sTlist2.innerHTML = '';
stAutoHt(sTlist2As, 38);window.addEventListener("resize", function(){stAutoHt(sTlist2As, 38);}, false);
if(sTlist2Str == ""){
sTlist2.parentNode.removeChild(sTlist2);
}
} if(sTlist3){
var sTlist3Str = "", sTlist3As = sTlist3.getElementsByTagName("a");
for (var i=0; i < sTlist3Arr.length; i++){
if(typeof(sTlist3Arr[i])!='undefined'){
sTlist3Str += sTlist3Arr[i];
}
}
sTlist3.innerHTML = '';
stAutoHt(sTlist3As, 40);window.addEventListener("resize", function(){stAutoHt(sTlist3As, 40);}, false);
if(sTlist3Str == ""){
sTlist3.parentNode.removeChild(sTlist3);
}
} if(sPlist1){
var sPlist1Str = "", sclose = "0", sPlist1ck = sGetCookie("sPlist1");
for (var i=0; i < sPlist1Arr.length; i++){
if(typeof(sPlist1Arr[i])!='undefined'){
sPlist1Str += sPlist1Arr[i];
}
}
if(sPlist1ck != 1){
sPlist1.innerHTML = '';
if(sclose == 1){
var closetag = document.createElement("i");
closetag.className = "close";
closetag.setAttribute("title", "关闭本组");
closetag.innerHTML = "×";
sPlist1.appendChild(closetag);
sPlist1.getElementsByClassName('close')[0].onclick = function(){
this.parentNode.style.display = "none";
sSetCookie("sPlist1", 1);
}
}
}
if(sPlist1Str == ""){
sPlist1.parentNode.removeChild(sPlist1);
}
} if(sPlist2){
var sPlist2Str = "", sclose = "0", sPlist2ck = sGetCookie("sPlist2");
for (var i=0; i < sPlist2Arr.length; i++){
if(typeof(sPlist2Arr[i])!='undefined'){
sPlist2Str += sPlist2Arr[i];
}
}
if(sPlist2ck != 1){
sPlist2.innerHTML = '';
if(sclose == 1){
var closetag = document.createElement("i");
closetag.className = "close";
closetag.setAttribute("title", "关闭本组");
closetag.innerHTML = "×";
sPlist2.appendChild(closetag);
sPlist2.getElementsByClassName('close')[0].onclick = function(){
this.parentNode.style.display = "none";
sSetCookie("sPlist2", 1);
}
}
}
if(sPlist2Str == ""){
sPlist2.parentNode.removeChild(sPlist2);
}
} if(sPlist3){
var sPlist3Str = "", sclose = "0", sPlist3ck = sGetCookie("sPlist3");
for (var i=0; i < sPlist3Arr.length; i++){
if(typeof(sPlist3Arr[i])!='undefined'){
sPlist3Str += sPlist3Arr[i];
}
}
if(sPlist3ck != 1){
sPlist3.innerHTML = '';
if(sclose == 1){
var closetag = document.createElement("i");
closetag.className = "close";
closetag.setAttribute("title", "关闭本组");
closetag.innerHTML = "×";
sPlist3.appendChild(closetag);
sPlist3.getElementsByClassName('close')[0].onclick = function(){
this.parentNode.style.display = "none";
sSetCookie("sPlist3", 1);
}
}
}
if(sPlist3Str == ""){
sPlist3.parentNode.removeChild(sPlist3);
}
} function sSlider(id){
var li = document.getElementById("sPslider"+id).getElementsByTagName('li');
var index = 0;
goto();
function goto(){
for(var i=0;i