var Scriptaculous = {
  Version: '1.5.1',
  require: function(libraryName) {
    document.write('<script type="text/javascript" src="'+libraryName+'"></script>');
  },
  load: function() {
    if((typeof prototype_var=='undefined') ||
      parseFloat(prototype_var.Version.split(".")[0] + "." +
                 prototype_var.Version.split(".")[1]) < 1.4)
      throw("JavaScript°æ±¾Ì«µÍ£¡");
    $A(document.getElementsByTagName("script")).findAll( function(s) {
      return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
    }).each( function(s) {
      var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
      var includes = s.src.match(/\?.*load=([a-z,]*)/);
      (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider').split(',').each(
       function(include) { Scriptaculous.require(path+include+'.js') });
    });
  }
}
Scriptaculous.load();