Index: theme/galleryformatter.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/galleryformatter/theme/galleryformatter.js,v
retrieving revision 1.1.2.10
diff -u -p -r1.1.2.10 galleryformatter.js
--- theme/galleryformatter.js	19 Oct 2010 14:54:29 -0000	1.1.2.10
+++ theme/galleryformatter.js	1 Dec 2010 19:52:38 -0000
@@ -41,7 +41,7 @@ Drupal.galleryformatter.prepare = functi
    * figure out how to get this into proper functions reusing selections
    */
   $thumbslinks.click(function(e){
-    var $hash = $(this.hash);
+    var $hash = $(this.hash+"-slide");
     if(!$hash.is(':visible')){
       $thumbsLi.removeClass('active');
       $(this).parent().addClass('active');
@@ -54,7 +54,7 @@ Drupal.galleryformatter.prepare = functi
        */
       // window.location.hash = this.hash;  // not sure if this is the best way to do it.
     }
-    e.preventDefault();
+   // e.preventDefault();
   });
 
   /*
@@ -70,7 +70,7 @@ Drupal.galleryformatter.prepare = functi
 
   // if we have a hash in the url
   if ($locationHash) {
-    var $slideToShow = $slides.filter($locationHash);
+    var $slideToShow = $slides.filter($locationHash+"-slide");
     // if the hash corresponds to one of our slides
     if ($slideToShow.length > 0) {
       $slideToShow.show(); //  show that slide
Index: theme/galleryformatter.tpl.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/galleryformatter/theme/galleryformatter.tpl.php,v
retrieving revision 1.1.2.6
diff -u -p -r1.1.2.6 galleryformatter.tpl.php
--- theme/galleryformatter.tpl.php	28 Sep 2010 10:19:52 -0000	1.1.2.6
+++ theme/galleryformatter.tpl.php	1 Dec 2010 19:52:38 -0000
@@ -28,7 +28,7 @@
     <div class="gallery-frame">
       <ul>
       <?php foreach ($gallery_slides as $id => $data): ?>
-        <li class="gallery-slide" id="<?php print $data['hash_id']; ?>">
+        <li class="gallery-slide" id="<?php print $data['hash_id']; ?>-slide">
           <?php print $data['image']; ?>
           <?php if ((!empty($data['title'])) || (!empty($data['description']))): ?>
             <div class="panel-overlay">
