-
+ 1BF62B59E6E8920E465495F14ABF44DBFDAE10F9633EAB17C26B98781F6C254A81663F9BA7350F2E92095C89D1E90C6CE973306CC93659B2605E8524831D0CC1
mp-wp/wp-includes/js/scriptaculous/scriptaculous.js
(0 . 0)(1 . 58)
115073 // script.aculo.us scriptaculous.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
115074
115075 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
115076 //
115077 // Permission is hereby granted, free of charge, to any person obtaining
115078 // a copy of this software and associated documentation files (the
115079 // "Software"), to deal in the Software without restriction, including
115080 // without limitation the rights to use, copy, modify, merge, publish,
115081 // distribute, sublicense, and/or sell copies of the Software, and to
115082 // permit persons to whom the Software is furnished to do so, subject to
115083 // the following conditions:
115084 //
115085 // The above copyright notice and this permission notice shall be
115086 // included in all copies or substantial portions of the Software.
115087 //
115088 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
115089 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
115090 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
115091 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
115092 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
115093 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
115094 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
115095 //
115096 // For details, see the script.aculo.us web site: http://script.aculo.us/
115097
115098 var Scriptaculous = {
115099 Version: '1.8.0',
115100 require: function(libraryName) {
115101 // inserting via DOM fails in Safari 2.0, so brute force approach
115102 document.write('<script type="text/javascript" src="'+libraryName+'"><\/script>');
115103 },
115104 REQUIRED_PROTOTYPE: '1.6.0',
115105 load: function() {
115106 function convertVersionString(versionString){
115107 var r = versionString.split('.');
115108 return parseInt(r[0])*100000 + parseInt(r[1])*1000 + parseInt(r[2]);
115109 }
115110
115111 if((typeof Prototype=='undefined') ||
115112 (typeof Element == 'undefined') ||
115113 (typeof Element.Methods=='undefined') ||
115114 (convertVersionString(Prototype.Version) <
115115 convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))
115116 throw("script.aculo.us requires the Prototype JavaScript framework >= " +
115117 Scriptaculous.REQUIRED_PROTOTYPE);
115118
115119 $A(document.getElementsByTagName("script")).findAll( function(s) {
115120 return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
115121 }).each( function(s) {
115122 var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
115123 var includes = s.src.match(/\?.*load=([a-z,]*)/);
115124 (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
115125 function(include) { Scriptaculous.require(path+include+'.js') });
115126 });
115127 }
115128 }
115129
115130 Scriptaculous.load();