﻿// Simulate placeholder for search input on Avans
$(function () {

  $("#srch_sq").focus(function () {
    if (this.value == 'Zoek' || this.value == 'Search') {
      srch_value_set(this.value);
      this.value = '';
    }
  });

  $("#srch_sq").blur(function () {
    if (this.value == '') {
      this.value = srch_value_get();
    }
  });
  
});

var srch_plchld_val_def;

function srch_value_set(search_value) {
  srch_plchld_val_def = search_value;
}

function srch_value_get() {
  return srch_plchld_val_def;
}
