var categories = new Array();

Array.prototype.in_array_plus = 
         function(search_term) {
   for (var i = 0; i < this.length; i++) {
      if (this[i] === search_term) {
         return true;
      }
   }
   return false;
}
 
$(document).ready(function() {
      //initIndex();
   });

function initIndex()
{
   // This might be a bit scatty - there is a search box on each page
   // as well - but will do for now
   $('#i-need-a-dropdown li a').each(function() { 
         categories.push($(this).html);
      });

   for(var i = 0; i<categories.length; i++)
   {
   }

   $('#i-need-a-input').keypress(function() {
         iNeedAKey();
      });
}

function iNeedAKey()
{

//   $('#i-need-a-dropdown').css('display', 'block');
}
