function WebForm_FindFirstFocusableChild(control) { if (!control || !(control.tagName)) { return null; } var tagName = control.tagName.toLowerCase(); if (tagName == "undefined") { return null; } var children = control.childNodes; if (children) { for (var i = 0; i < children.length; i++) { try { if (WebForm_CanFocus(children[i])) { return children[i]; } else { var focused = WebForm_FindFirstFocusableChild(children[i]); if (WebForm_CanFocus(focused)) { return focused; } } } catch (e) { } } } return null; } function WebForm_AutoFocus(focusId) { var targetControl; if (__nonMSDOMBrowser) { targetControl = document.getElementById(focusId); } else { targetControl = document.all[focusId]; } var focused = targetControl; if (targetControl && (!WebForm_CanFocus(targetControl)) ) { focused = WebForm_FindFirstFocusableChild(targetControl); } if (focused) { try { focused.focus(); if (__nonMSDOMBrowser) { focused.scrollIntoView(false); } if (window.__smartNav) { window.__smartNav.ae = focused.id; } } catch (e) { } } } function WebForm_CanFocus(element) { if (!element || !(element.tagName)) return false; var tagName = element.tagName.toLowerCase(); return (!(element.disabled) && (!(element.type) || element.type.toLowerCase() != "hidden") && WebForm_IsFocusableTag(tagName) && WebForm_IsInVisibleContainer(element) ); } function WebForm_IsFocusableTag(tagName) { return (tagName == "input" || tagName == "textarea" || tagName == "select" || tagName == "button" || tagName == "a"); } function WebForm_IsInVisibleContainer(ctrl) { var current = ctrl; while((typeof(current) != "undefined") && (current != null)) { if (current.disabled || ( typeof(current.style) != "undefined" && ( ( typeof(current.style.display) != "undefined" && current.style.display == "none") || ( typeof(current.style.visibility) != "undefined" && current.style.visibility == "hidden") ) ) ) { return false; } if (typeof(current.parentNode) != "undefined" && current.parentNode != null && current.parentNode != current && current.parentNode.tagName.toLowerCase() != "body") { current = current.parentNode; } else { return true; } } return true; }
<rt id="i8qka"></rt>
<tt id="i8qka"></tt>
<object id="i8qka"><center id="i8qka"></center></object>
<rt id="i8qka"><optgroup id="i8qka"></optgroup></rt>
<tr id="i8qka"><xmp id="i8qka">
<rt id="i8qka"></rt>
<object id="i8qka"><wbr id="i8qka"></wbr></object>
亚洲少妇一区 阿克| 周至县| 沁水县| 伊宁市| 综艺| 光山县| 芮城县| 安乡县| 兰坪| 阿合奇县| 温泉县| 麻江县| 西藏| 荆门市| 开原市| 富裕县| 喀什市| 南和县| 渭源县| 卓资县| 大石桥市| 沙田区| 宜兴市| 望都县| 巴中市| 苏州市| 寻甸| 迁西县| 静安区| 庆元县| 含山县| 城固县| 宁安市| 崇阳县| 师宗县| 仙游县| 夏河县| 修文县| 淄博市| 高台县| 沅陵县| http://444 http://444 http://444