function cggg(url, title, i, num) {
if ((i % num) != 0) {
document.write("
" + title + "
| ");
} else {
if (i == 0) {
document.write(" " + title + "
| ");
} else {
document.write(" " + title + "
| ");
}
}
}
function interceptTitle(arg, l) {
var xxggzbl = arg;
if (xxggzbl.length != 0) {
if (xxggzbl.length > l) {
document.write(xxggzbl.substr(0, l) + "..");
} else {
document.write(xxggzbl);
}
}
}
function displayColumn() {
var id = window.location.href.substring(window.location.href.lastIndexOf("?p=") + 3);
var item = document.getElementById(id);
if (item) {
item.style.display = "";
} else {
document.getElementById("columnImage").style.display = "none";
document.getElementById("columnTd").style.display = "none";
}
}
function goto(url) {
window.open(url + "?p=" + window.location.href.substring(window.location.href.lastIndexOf("?p=") + 3), "_blank", "toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
}
function getRowsNum() {
var tab = document.getElementById("artList");
var n = tab.rows.length;
if (n < 2) {
tr = tab.insertRow(n);
td = tr.insertCell(0);
td.setAttribute("align", "center", 0);
td.innerHTML = "\u6682\u65e0\u5185\u5bb9";
}
}