$(document).ready(function() {

 $("input[id='queries_job_title_query']").focus(function(){   
     if($(this).attr("value") == $(this).attr("title"))
      $(this).attr("value", "")
   })
  $("input[id='queries_job_title_query']").blur(function(){    
     if($(this).attr("value") == "" )
       $(this).attr("value", $(this).attr("title")) 
     
     })
$("input[id='queries_salary_band_query']").focus(function(){   
     if($(this).attr("value") == $(this).attr("title"))
      $(this).attr("value", "")
   })
  $("input[id='queries_salary_band_query']").blur(function(){    
     if($(this).attr("value") == "" )
       $(this).attr("value", $(this).attr("title")) 
     
     })
$("input[id='queries_location_query']").focus(function(){   
     if($(this).attr("value") == $(this).attr("title"))
      $(this).attr("value", "")
   })
  $("input[id='queries_location_query']").blur(function(){    
     if($(this).attr("value") == "" )
       $(this).attr("value", $(this).attr("title")) 
     
     })
$("input[id='queries_forum_keyword_query']").focus(function(){   
     if($(this).attr("value") == $(this).attr("title"))
      $(this).attr("value", "")
   })
  $("input[id='queries_forum_keyword_query']").blur(function(){    
     if($(this).attr("value") == "" )
       $(this).attr("value", $(this).attr("title")) 
     
     })


/* Find a service -results displaying scripts and adding some company details */
$('select#queries_function_query').css('margin-left','15px');

/* upload a company logo stuff to hide */

//$('#page_content h2:eq(0)').hide();

$('.sq-backend-smallprint').hide();
$('#image_0_file_upload span').hide();
$('#image_0_use_editor_button').hide();

$('div.find_service_result .entry_option').each(function(){
if ($(this).text() == '3') {$(this).next().removeClass().addClass('premium_entry');}
if ($(this).text() == '2') {$(this).next().removeClass().addClass('expand_entry');}
});


});