🔥澳门赌博官网-十大赌博官网澳门正规平台-赌博官网正规游戏网址-江阴市富美电器材料有限公司
欢乐堡奇尔培训学校 欢迎您!~
课程推荐
教育课程
幼儿班
少儿班
中学班
素质教育
艺术类
科学类
实践类
特色教育
短训班
夏令营
游学团
产品超市
幼教类
教辅类
综合类
最新动态
·为育人出发,因爱人守候 ...
· 澳门赌博官网...
· 十大赌博官网澳门正规平台...
·EQ型家长修炼--做孩子...
·线上亲子时光——猜谜抢红...
·第九届口语大赛决赛将临,...
联系方式
客服电话:400-100-4809
联系传真:0714-6266815
联 系 人:Yoyo 6221222/6223666
E-mail :2535916423@qq.com
总部地址:湖北省黄石市黄石大道820号永昌大厦五楼
游戏中心
您的位置:首页 > 游戏中心

游戏中心
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-1
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-2
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-3
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-4
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this., styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-5
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-6
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-7
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-8
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-9
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-10
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-11
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-12
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-13
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(a, ction, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-14
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-15
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-16
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-17
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-18
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clea, n(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-19
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-20
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-21
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-22
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-23
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-24
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-25
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-26
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-27
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getEle, mentsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-28
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-29
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母游戏-30
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">电子公司-1
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">电子公司-2
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClas, s="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">找字母-鸭子
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">鸭子找字
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小狗找字
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">青蛙找字
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小猪找字
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小羊找字
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小熊找字
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小熊拼字
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小狗拼画
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(functi, on(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小拖车
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小熊乐队
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小猪拼字
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">字母陷阱
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">小池塘
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else th, is.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">火车站
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">干草堆
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">游乐园
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">看图找字-动物1
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">看图找字-动物2
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">看图找字-动物3
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">看字找图-动物1
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">看图找字-动物4
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['class']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">记忆力游戏1
  • ')); $A(this.attributes).each(function(attribute){ if (attribute.name != 'name') el.setProperty(attribute.name, attribute.value); }); if (this.parentNode) this.replaceWith(el); }; default: this.setAttribute(property, value); } return el || this; }" getLast="function(){ var el = this.lastChild; while ($type(el) == 'textnode') el = el.previousSibling; return $(el); }" getFirst="function(){ var el = this.firstChild; while ($type(el) == 'textnode') el = el.nextSibling; return $(el); }" getNext="function(){ return this.getBrother('next'); }" getPrevious="function(){ return this.getBrother('previous'); }" getBrother="function(what){ var el = this[what+'Sibling']; while ($type(el) == 'textnode') el = el[what+'Sibling']; return $(el); }" getStyle="function(property){ var proPerty = property.camelCase(); var style = this.style[proPerty] || false; if (!style) { if (document.defaultView) style = document.defaultView.getComputedStyle(this,null).getPropertyValue(property); else if (this.currentStyle) style = this.currentStyle[proPerty]; } if (style && ['color', 'backgroundColor', 'borderColor'].test(proPerty) && style.test('rgb')) style = style.rgbToHex(); return style; }" setOpacity='function(opacity){ if (opacity == 0){ if(this.style.visibility != "hidden") this.style.visibility = "hidden"; } else { if(this.style.visibility != "visible") this.style.visibility = "visible"; } if (window.ActiveXObject) this.style.filter = "alpha(opacity=" + opacity*100 + ")"; this.style.opacity = opacity; return this; }' setStyles="function(source){ if ($type(source) == 'object') { for (var property in source) this.setStyle(property, source[property]); } else if ($type(source) == 'string') { if (window.ActiveXObject) this.cssText = source; else this.setAttribute('style', source); } return this; }" setStyle="function(property, value){ if (property == 'opacity') this.setOpacity(parseFloat(value)); else this.style[property.camelCase()] = value; return this; }" toggleClass="function(className){ if (this.hasClass(className)) return this.removeClass(className); else return this.addClass(className); }" removeClass="function(className){ if (this.hasClass(className)) this.className = this.className.replace(className.trim(), '').clean(); return this; }" addClass="function(className){ if (!this.hasClass(className)) this.className = (this.className+' '+className.trim()).clean(); return this; }" hasClass='function(className){ return !!this.className.test("\\b"+className+"\\b"); }' appendText="function(text){ if (this.getTag() == 'style' && window.ActiveXObject) this.styleSheet.cssText = text; else this.appendChild(document.createTextNode(text)); return this; }" replaceWith="function(el){ var el = $(el) || new Element(el); this.parentNode.replaceChild(el, this); return el; }" clone="function(contents){ return $(this.cloneNode(contents || true)); }" remove="function(){ this.parentNode.removeChild(this); }" adopt="function(el){ this.appendChild($(el) || new Element(el)); return this; }" injectInside="function(el){ return this.inject(el, 'inside'); }" injectAfter="function(el){ return this.inject(el, 'after'); }" injectBefore="function(el){ return this.inject(el, 'before'); }" inject='function(el, where){ el = $(el) || new Element(el); switch(where){ case "before": $(el.parentNode).insertBefore(this, el); break; case "after": { if (!el.getNext()) $(el.parentNode).appendChild(this); else $(el.parentNode).insertBefore(this, el.getNext()); } break; case "inside": el.appendChild(this); break; } return this; }' initialize="function(el){ if ($type(el) == 'string') el = document.createElement(el); return $(el); }" getElementsBySelector="function(selector){ var els = []; selector.split(',').each(function(sel){ els.extend(this.getElements(sel)); }, this); return $Elements(els); }" getElements="function(selector){ var filters = []; selector.clean().split(' ').each(function(sel, i){ var bits = sel.test('^(\\w*|\\*)(?:#(\\w+)|\\.(\\w+))?(?:\\[["\']?(\\w+)["\']?([\\*\\^\\$]?=)["\']?(\\w*)["\']?\\])?$'); if (!bits) return; if (!bits[1]) bits[1] = '*'; var param = bits.remove(bits[0]).associate(['tag', 'id', 'class', 'attribute', 'operator', 'value']); if (i == 0){ if (param['id']){ var el = this.getElementById(param['id']); if (!el || (param['tag'] != '*' && $(el).getTag() != param['tag'])) return false; filters = [el]; } else { filters = $A(this.getElementsByTagName(param['tag'])); } } else { if (param['id']) filters = $Elements(filters).filterById(param['id']); filters = $Elements(filters).filterByTagName(param['tag']); } if (param['class']) filters = $Elements(filters).filterByClassName(param['cla, ss']); if (param['attribute']) filters = $Elements(filters).filterByAttribute(param['attribute'], param['value'], param['operator']); }, this); filters.each(function(el){ $(el); }); return $Elements(filters); }" getElement="function(selector){ return this.getElementsBySelector(selector)[0]; }" extend="function(){ var args = arguments; if (args[1]) args = [args[0], args[1]]; else args = [this, args[0]]; for (var property in args[1]) args[0][property] = args[1][property]; return args[0]; }" removeEvent="function(action, fn){ if (this.removeEventListener) this.removeEventListener(action, fn, false); else this.detachEvent('on'+action, this[action+fn]); return this; }" addEvent="function(action, fn){ this[action+fn] = fn.bind(this); if (this.addEventListener) this.addEventListener(action, fn, false); else this.attachEvent('on'+action, this[action+fn]); var el = this; if (this != window) Unload.functions.push(function(){ if(el.removeEvent) el.removeEvent(action, fn); el[action+fn] = null; }); return this; }">记忆力游戏2

 投篮游戏

 

  1. 前置词
  2. 动词过去式
  3. 助动词
  4. 比较级
  5. 动词时态

 高尔夫球

  1. 动词时态
  2. 现在完成时

  II. 英语语法游戏

动词游戏-1 | 动词游戏-2 | 动词游戏-3 | 动词问答 | 形容词和反义词 形容词和前缀及后缀 | 副词 | 比较级 | 条件语句-1 | 条件语句-2 条件语句-3 | 关联词 | 连接词 | 将来时 | 命令语句 | 疑问句 | 情态动词-1 | 情态动词-2 | 情态动词-3 | 复合名词 | 名词的单复数 | 序数和年月-1 | 序数和年月-2 | 动词被动式-1 动词被动式-2 | 过去进行时 | 过去完成时 | 一般过去式 | 动词短语 | 前置词-1 | 前置词-2 | 现在进行时-1 现在进行时-2 | 现在进行时-3 | 现在完成时-1 现在完成时-2 | 一般现在时 | 俚语 | 量词 | 数词 | 复数名词 | 综合  

III. 词汇量游戏

字母游戏 | 动物与形容词-1 动物与形容词-2 | 动物与形容词-3 | 动物与形容词-4 | 人体器官 | 服装及装饰 | 色彩-1 色彩-2 | 民族和国家 | 星期 | 童话和寓言 | 家庭成员-1 | 家庭成员-2 | 西方节日-1 | 西方节日-2 | 西方节日-3 | 食物和饮料 | 家具-1 | 家具-2 | 学校 | 工作 | 数字 | 城市 | 星星和宇宙 | 感觉 | 外形 | 运动和体育 文具-1 文具-2 | 学校主题-1 | 学校主题-2 | 时间表达-1 | 时间表达-2 | 时间表达-3 | 时间表达-4 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 

                          IV. 听力练习游

收音机 | 现在 | 严厉惩罚 | 自由落体 | 设计中心 | 贴图 | 贴图屋 | 狗狗滑冰 | 组建乐队 | 宠物狗狗 | 疯狂飞车 | 单词 | 几何 | 平衡 | 吃草 | 宇宙袜子 | 厨师 | 狗狗洗澡 | 剪贴簿 | 突变 | 狗狗玩飞碟 | 滑稽照片 | 训练狗狗 | 和狗狗玩耍 | 组词 | 同义词 | 英文歌100首 | 字母找字 | 魔术卡片 | 元音字 | 造句 | 搜索 | 大几倍大 | 卡友 | 滑轱辘鞋的猴子 | 前进 |  |  |  |  |  公主  |  |  |  |  |  |  |  |  |  |  |  |  |  | 穿衣 | 动画片游戏 | 

                              V. 动画片


CopyRight @ 2007-2011  All Rights Reserved   版权所有
建议使用1024*768以上的屏幕分辨率和6.0以上版本的IE来访问本站
鄂ICP备12000550   技术支持: 黄石百捷 【后台登陆
🔥澳门赌博官网-十大赌博官网澳门正规平台-赌博官网正规游戏网址-江阴市富美电器材料有限公司