var webroot = "/"; if (webroot.length > 1) { webroot += '/'; } Event.observe( window, 'load', function() { validTags: ['div']; var settings = { tl: { radius: 5 }, tr: { radius: 5 }, bl: { radius: 5 }, br: { radius: 5 }, antiAlias: true, autoPad: true } if ($('admin-menu')) { var co1 = new curvyCorners(settings, $('admin-menu')); co1.applyCornersToAll(); } if ($('flashMessage')) { var co2 = new curvyCorners(settings, $('flashMessage')); co2.applyCornersToAll(); } var settings2 = { tl: { radius: 10 }, tr: { radius: 10 }, bl: { radius: 10 }, br: { radius: 10 }, antiAlias: true, autoPad: false } var co3 = new curvyCorners(settings2, 'cc'); co3.applyCornersToAll(); var co4 = new curvyCorners(settings2, 'portrait'); co4.applyCornersToAll(); } ); var Slice = { add: function(id) { var t = new Date(); var timestamp = t.getTime(); var html = $('11111').innerHTML; html = html.replace(/' + html + 'Ajouter ' + 'Supprimer'); $(timestamp) }, del: function(id) { $(id).remove(); } } // Upload form function changeUploadForm() { $('uploadFormSubmit').value = 'Veuillez attendre...'; $('uploadFormSubmit').disabled = true; $('uploadFormStatus').style.display = 'inline'; }