function highlightform(){
   
  $('input').not($('#submit_button')).focus(function()
       {
          $(this).css("border", "1px solid #58B4C8");
          
       });
       
   $('input').not($('#submit_button')).blur(function(){

          $(this).css("border", "1px solid #ccc");
       });
   
  //blur
  $('textarea').focus(function(){

          $(this).css("border", "1px solid #58B4C8");
  });
  
  $('textarea').blur(function(){
          $(this).css("border", "1px solid #ccc");
  });
}

function checklength(text, size){
  if (size == undefined)
     size == 4;
     
   if (text.length >= size)
     return true;
   else return false;
}

