-
+ 2ED0C1640C8E9C909B1F23E60CC43C506107061838D2CAE362B7EB4FFC4A55320BB74C1D55881AE42863D91A3DD2225FA9709F63A20D06F0551C70579BBB11AE
mp-wp/wp-includes/js/scriptaculous/wp-scriptaculous.js
(0 . 0)(1 . 59)
116047 // script.aculo.us scriptaculous.js v1.7.1_beta3, Fri May 25 17:19:41 +0200 2007
116048
116049 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
116050 //
116051 // Permission is hereby granted, free of charge, to any person obtaining
116052 // a copy of this software and associated documentation files (the
116053 // "Software"), to deal in the Software without restriction, including
116054 // without limitation the rights to use, copy, modify, merge, publish,
116055 // distribute, sublicense, and/or sell copies of the Software, and to
116056 // permit persons to whom the Software is furnished to do so, subject to
116057 // the following conditions:
116058 //
116059 // The above copyright notice and this permission notice shall be
116060 // included in all copies or substantial portions of the Software.
116061 //
116062 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
116063 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
116064 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
116065 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
116066 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
116067 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
116068 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
116069 //
116070 // For details, see the script.aculo.us web site: http://script.aculo.us/
116071
116072 var Scriptaculous = {
116073 Version: '1.8.0',
116074 require: function(libraryName) {
116075 // inserting via DOM fails in Safari 2.0, so brute force approach
116076 document.write('<script type="text/javascript" src="'+libraryName+'"></script>');
116077 },
116078 REQUIRED_PROTOTYPE: '1.6',
116079 load: function() {
116080 function convertVersionString(versionString){
116081 var r = versionString.split('.');
116082 return parseInt(r[0])*100000 + parseInt(r[1])*1000 + parseInt(r[2]);
116083 }
116084
116085 if((typeof Prototype=='undefined') ||
116086 (typeof Element == 'undefined') ||
116087 (typeof Element.Methods=='undefined') ||
116088 (convertVersionString(Prototype.Version) <
116089 convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))
116090 throw("script.aculo.us requires the Prototype JavaScript framework >= " +
116091 Scriptaculous.REQUIRED_PROTOTYPE);
116092
116093 $A(document.getElementsByTagName("script")).findAll( function(s) {
116094 return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
116095 }).each( function(s) {
116096 var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
116097 var includes = s.src.match(/\?.*load=([a-z,]*)/);
116098 if ( includes )
116099 includes[1].split(',').each(
116100 function(include) { Scriptaculous.require(path+include+'.js') });
116101 });
116102 }
116103 }
116104
116105 Scriptaculous.load();