var Scriptaculous = { Version: '1.8.2', require: function(libraryName) {document.write('<script type="text/javascript" src="'+libraryName+'"><\/script>');},REQUIRED_PROTOTYPE: '1.6.0.3',load: function(){function convertVersionString(versionString) {var v = versionString.replace(/_.*|\./g, '');v = parseInt(v + '0'.times(4-v.length));return versionString.indexOf('_') > -1 ? v-1 : v;}if((typeof Prototype=='undefined') ||(typeof Element == 'undefined') ||(typeof Element.Methods=='undefined') ||(convertVersionString(Prototype.Version) < convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))throw("script.aculo.us requires the Prototype JavaScript framework >= " + Scriptaculous.REQUIRED_PROTOTYPE);var js = /scriptaculous\.js(\?.*)?$/;$$('head script[src]').findAll(function(s){return s.src.match(js);}).each(function(s){var path = s.src.replace(js, ''),includes = s.src.match(/\?.*load=([a-z,]*)/);(includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(function(include) { Scriptaculous.require(path+include+'.js')});});}};Scriptaculous.load();