diff -Nru /tmp/corporateclean.orig/template.php corporateclean/template.php
--- /tmp/corporateclean.orig/template.php	2012-02-28 18:09:17.000000000 -0300
+++ corporateclean/template.php	2012-03-16 10:42:19.000000000 -0300
@@ -50,37 +50,40 @@
   }
 }
 
-/**
- * Add javascript files for jquery slideshow.
- */
-drupal_add_js(drupal_get_path('theme', 'corporateclean') . '/js/jquery.cycle.all.min.js');
-
-//Initialize slideshow using theme settings
-$effect=theme_get_setting('slideshow_effect','corporateclean');
-$effect_time=theme_get_setting('slideshow_effect_time','corporateclean')*1000;
-
-//Defined the initial height (300) of slideshow and then the slideshow inherits the height of each slider item dynamically
-drupal_add_js('jQuery(document).ready(function($) {  
-
-$("#slideshow").cycle({
-	fx:    "'.$effect.'",
-	speed:  "slow",
-	timeout: "'.$effect_time.'",
-	pager:  "#slider-navigation",
-	pagerAnchorBuilder: function(idx, slide) {
-		return "#slider-navigation li:eq(" + (idx) + ") a";
-	},
-	height: 300,
-	after: onAfter
-});
-
-function onAfter(curr, next, opts, fwd){
-	var $ht = $(this).height();
-	$(this).parent().animate({height: $ht});
+if ( theme_get_setting('slideshow_display','corporateclean') )
+{
+	/**
+	 * Add javascript files for jquery slideshow.
+	 */
+	drupal_add_js(drupal_get_path('theme', 'corporateclean') . '/js/jquery.cycle.all.min.js');
+
+	//Initialize slideshow using theme settings
+	$effect=theme_get_setting('slideshow_effect','corporateclean');
+	$effect_time=theme_get_setting('slideshow_effect_time','corporateclean')*1000;
+
+	//Defined the initial height (300) of slideshow and then the slideshow inherits the height of each slider item dynamically
+	drupal_add_js('jQuery(document).ready(function($) {  
+
+	$("#slideshow").cycle({
+		fx:    "'.$effect.'",
+		speed:  "slow",
+		timeout: "'.$effect_time.'",
+		pager:  "#slider-navigation",
+		pagerAnchorBuilder: function(idx, slide) {
+			return "#slider-navigation li:eq(" + (idx) + ") a";
+		},
+		height: 300,
+		after: onAfter
+	});
+
+	function onAfter(curr, next, opts, fwd){
+		var $ht = $(this).height();
+		$(this).parent().animate({height: $ht});
+	}
+
+	});',
+	array('type' => 'inline', 'scope' => 'header', 'weight' => 5)
+	);
 }
 
-});',
-array('type' => 'inline', 'scope' => 'header', 'weight' => 5)
-);
-
-?>
\ No newline at end of file
+?>
