User:Quolnok/common.js

function toggleShow(anchor) { var text = anchor.innerHTML; if(text==textShow) { var dis = 'table-row'; } else { var dis = 'none'; } var p = anchor.parentNode; while(p.tagName!='TABLE') var p = p.parentNode; var trs = p.getElementsByTagName('tr'); for(var i = 0; i < trs.length; i++) { if(hasClass(trs[i], 'canhide')) { trs[i].style.display = dis; } }  if(text==textShow) { anchor.innerHTML = textHide; } else { anchor.innerHTML = textShow; }

if(skin="vector") {   columnAreaImage; } }