var ol = this.xoxoSubList; if (ol) { this.setAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'xoxo:enabled', 'true'); if (ol.hasAttribute ('compact')) { this.setAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'xoxo:expanded', 'false'); } else { this.setAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'xoxo:expanded', 'true'); } } if (this.hasAttributeNS (null, 'href')) { this.setAttributeNS ('http://www.w3.org/1999/xlink', 'xlink:href', this.getAttributeNS (null, 'href')); this.setAttributeNS ('http://www.w3.org/1999/xlink', 'xlink:type', 'simple'); } var ol = this.xoxoSubList; if (ol) { if (ol.hasAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'compact')) { return false; } else { return true; } } else { return true; } var ol = this.xoxoSubList; if (ol) { if (val) { ol.removeAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'compact'); this.setAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'xoxo:expanded', 'true'); } else { ol.setAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'compact', 'compact'); this.setAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'xoxo:expanded', 'false'); } } else { this.removeAttributeNS ('http://suika.fam.cx/www/style/html/xoxo#', 'xoxo:expanded'); } return this.parentNode; this.xoxoExpanded = !this.xoxoExpanded; event.stopPropagation (); this.xoxoExpanded = false; this.xoxoExpanded = true;