+ // http://space.geocities.jp/nequomame/others/excelvba/excelvba_01_03.html\r
+ // Document.ActiveElement に安全に触れるか?確認\r
+ // そういえば error は iframe 内で起きていた\r
+ // http://stackoverflow.com/questions/14378224/document-activeelement-in-iframe-shows-unspecified-error-in-ie-standards-mode\r
+ // document.activeElement in iframe shows unspecified error in IE standards mode\r
+ X_Script_gte15 || document.write( '<script type=text/vbscript>' +\r
+ [\r
+ 'Function vbs_testAE()',\r
+ 'On Error Resume Next',\r
+ 'Set ae = Document.ActiveElement',\r
+ 'If Err.Number Then',\r
+ 'ae = 1',\r
+ 'End If',\r
+ 'Err.Clear',\r
+ 'vbs_testAE = ae',\r
+ 'End Function'\r
+ ].join( '\n' ) + '</script>' );\r
+\r