+if ($slides.length > 1) {
+ $switchers.each(function(i, e) {
+ $(e).click(function(e) {
+ e.preventDefault();
+ change_slide(i);
+ });
+ });
+
+ timeout = setTimeout(cycle_slide, 3000);
+}
+
+
+/*
+if (!$('#id_presentation').checked) {
+ $('[id^="id_presentation_"]').parent().parent().hide();
+}
+if (!$('#id_workshop').checked) {
+ $('[id^="id_workshop_"]').parent().parent().hide();
+}
+
+$('#id_presentation').change(function() {
+ if (this.checked) {
+ $('[id^="id_presentation_"]').parent().parent().show('slow');
+ } else {
+ $('[id^="id_presentation_"]').parent().parent().hide('slow');
+ }
+});
+
+$('#id_workshop').change(function() {
+ if (this.checked) {
+ $('[id^="id_workshop_"]').parent().parent().show('slow');
+ } else {
+ $('[id^="id_workshop_"]').parent().parent().hide('slow');
+ }
+});
+*/
+
+
+
+});