--- diaporama.module	2008-11-13 16:49:46.000000000 +0100
+++ diaporama.module	2008-11-13 16:50:40.000000000 +0100
@@ -632,8 +632,10 @@ function theme_diaporama_order_info($nod
 	global $base_url;
 	
   $output = '<div class="diaporama_order_info" style="text-align: center;">';
-  $output .= '<object type="application/x-shockwave-flash" data="' . $base_url . "/" . variable_get('diaporama_default_path',file_directory_path() . '/diaporamas') . '/dewslider.swf?xml=' . $base_url . "/" . variable_get('diaporama_default_path',file_directory_path() . '/diaporamas') . '/diaporama_' . $node->nid . '.xml" width="' . $node->width . '" height="' . $node->height . '">
+  $output .= '<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' . $node->width . '" height="' . $node->height . '">
 <param name="movie" value="' . $base_url . "/" . variable_get('diaporama_default_path',file_directory_path() . '/diaporamas') . '/dewslider.swf?xml=' . $base_url . "/" . variable_get('diaporama_default_path',file_directory_path() . '/diaporamas') . '/diaporama_' . $node->nid . '.xml" />
+<param name="wmode" value="transparent" />
+<embed src="' . $base_url . "/" . variable_get('diaporama_default_path',file_directory_path() . '/diaporamas') . '/dewslider.swf?xml=' . $base_url . "/" . variable_get('diaporama_default_path',file_directory_path() . '/diaporamas') . '/diaporama_' . $node->nid . '.xml" wmode="transparent" width="' . $node->width . '" height="' . $node->height . '" name="diaporama' . $node->nid . '" TYPE="application/x-shockwave-flash" PLUGINSPACE="http://www.macromedia.com/go/getflashplayer"></embed>
 </object>';
   $output .= '</div>';
   return $output;
