function move ( move_x, move_y, link ) {

// Get Node
	var node = link.parentNode.parentNode.getElementsByTagName('div')[0];
	var nodeList = node.getElementsByTagName('li');
   var link = myDollarFunction(link);

   var images = new Object();

	var display = Math.floor(link.parentNode.offsetWidth / move_x);

   // Don't go beyond or below the current number of LI nodes within the list.
   if ( link.className.toString().indexOf("next") != -1 // This is the "next" arrow >>
        && node.offsetLeft <= move_x * ( nodeList.length + 1 + display) ) {

      return false;
   } 
   if ( link.className.toString().indexOf("prev") != -1 // This is the "previous" arrow << 
        && node.offsetLeft >= 0 ) {
      return false;
   }

   params = {
      x: move_x,
      y: move_y,
      transition: Effect.Transitions.sinoidal,


      // This is to disable the double click.      
      beforeStart: function() { 
         link.onclick =  new Function("return false;" + link.onclick.toString().getFuncBody());

      },
      afterFinish: function() { 
         strClick = link.onclick.toString().getFuncBody().replace("return false;","")
         link.onclick = new Function(strClick);



      }
   }

   new Effect.Move(node, params);
   return false;
}

String.prototype.getFuncBody = function(){ 
  var str=this.toString(); 
  str=str.replace(/[^{]+{/,"");
  str=str.substring(0,str.length-1);   
  str = str.replace(/\n/gi,"");
  if(!str.match(/\(.*\)/gi))str += ")";
  return str; 
} 
