<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original:  Scriptbreaker (pieterpareit@hotmail.com ) -->
<!-- Web Site:  http://www.scriptbreaker.com -->
<!-- Begin
pos = 5;
TO = null;
function shake_funct2(object,speed)
{ 
  obj = eval(object)
  txt = clear_space(obj.value);
  if (pos == 5)
  {
   txt = txt + "   ";
   pos = -5;
  }
  else
  {
   txt = "   " + txt;
   pos = 5;
  }  
  obj.value = txt;
  obj.style.width = parseInt(obj.style.width) + pos;
  obj = object
  sp = speed
  TO = setTimeout("shake_funct2(obj,sp)",speed);
}

function clear_space(text)
{
 while (text.substring(0,1) == " ")
 {
  text = text.substring(1,text.length);
 }
 while(text.substring(text.length-1,text.length) == " ")
 {
  text = text.substring(0,text.length-1);
 }
 return text;
}

function end_shake_funct2(object)
{
  clearTimeout(TO);
  obj = eval(object);
  txt = clear_space(obj.value);
  obj.value = txt;
  //alert(pos);
  if (pos == -5)
  {
   obj.style.width = parseInt(obj.style.width) +5;
  }
  pos = 5
}
//  End -->
