var undefined,\r
X = X || new Function( 'return X._shortcut && X._shortcut.apply( X._shortcut, arguments )' );\r
\r
-X.VERSION = '0.6.18';\r
+X.VERSION = '0.6.39';\r
\r
X.bootTime = + new Date;\r
\r
X.getTime = Date.now ? new Function( 'return Date.now()' ) : new Function( 'return +new Date' );\r
\r
X.emptyFunction = new Function;\r
- \r
+\r
// defer の場合もあるので、document.readyState を見る\r
X.inHead = (function( s ){\r
if( !s ) return false;\r
+ if( !s.length ) return false; // Safari1.3 312.8 でerror\r
s = s[ s.length - 1 ];\r
// Dom0 || Dom1\r
return ( s.parentElement || s.parentNode ).tagName.toLowerCase() === 'head';\r
};\r
return true;\r
};\r
-\r
- \r
-// bonus: hotfix for IE6 SP1 (bug KB823727)\r
-document.execCommand && document.execCommand( 'BackgroundImageCache', false, true );\r
-document.execCommand && document.execCommand( 'LiveResize', false, false );\r
-document.execCommand && document.execCommand( 'SizeToControl', false, false );
\ No newline at end of file