diff --git a/sites/all/modules/contrib/colorbox_node/colorbox_node.js b/sites/all/modules/contrib/colorbox_node/colorbox_node.js
index 183dd83..c182d5f 100644
--- a/sites/all/modules/contrib/colorbox_node/colorbox_node.js
+++ b/sites/all/modules/contrib/colorbox_node/colorbox_node.js
@@ -10,6 +10,7 @@
 				parse.href = href;
 				// Lets add our colorbox link after the base path if necessary.
 				var base_path = Drupal.settings.basePath;
+				var path_prefix = Drupal.settings.pathPrefix;
 				var pathname = parse.pathname;
 
 				// Lets check to see if the pathname has a forward slash.
@@ -17,20 +18,20 @@
 				if(pathname.charAt(0) != '/') {
 					pathname = '/' + parse.pathname;
 				}
-				
+
 				if(base_path != '/') {
-					var link = pathname.replace(base_path, base_path + 'colorbox/');
+					var link = pathname.replace(base_path, base_path + path_prefix + 'colorbox/');
 				} else {
-					var link = base_path + 'colorbox' + pathname;
+					var link = base_path + path_prefix + 'colorbox' + pathname;
 				}
 				// Update our href to the link containing colorbox.
 				$(this).attr('href', link + parse.search);
-				
+
 				// Bind Ajax behaviors to all items showing the class.
 			    var element_settings = {};
 			    // Clicked links look better with the throbber than the progress bar.
 			    element_settings.progress = { 'type': 'throbber' };
-	
+
 			    // For anchor tags, these will go to the target of the anchor rather
 			    // than the usual location.
 			    if ($(this).attr('href')) {
@@ -39,8 +40,8 @@
 			    }
 			    var base = $(this).attr('id');
 			    Drupal.ajax[base] = new Drupal.ajax(base, this, element_settings);
-			});			
-			
+			});
+
 			// When using contextual links and clicking from within the colorbox
 			// we need to close down colorbox when opening the built in overlay.
 			$('ul.contextual-links a', context).once('colorboxNodeContextual').click(function() {
