function handlePlaceHolderText() {
$('input[type=text]').focus(function(){
      if($(this).val() == $(this).attr('defaultValue'))
      {
        $(this).val('');
      }
    });
    $('input[type=text]').blur(function(){
      if($(this).val() == '')
      {
        $(this).val($(this).attr('defaultValue'));
      }
    });
}
/* Search Functions */
function submitQuickSearch()
{
   var keyWords = document.getElementById('inpQuickSearch').value;
   document.location.href = document.location.href.split('?')[0] + '?tabid=5&keyword=' + keyWords;
}
function submitCategory()
{
   var url = document.getElementById('selCategory').value;
   document.location.href = document.location.href.substr(0, document.location.href.indexOf('DesktopDefault.aspx')) + url;
}
function entsub(e){
        var evt = window.event ? e.keyCode : e.which;
        var keyPressed = evt;
        if (keyPressed == 13){
              submitQuickSearch();
              return false;
         } else {
              return true;
         }
   }
$(document).ready(function() {
handlePlaceHolderText();
})

