$(document).ready(function() {
   
    // set up variables
    var searchId = 'enter_email';
    var defaultText = "enter email";
   
    // when the input gets focus
    $('#' + searchId).focus(function() {
       
        // if the value in the input equals the default text
        if(this.value == defaultText) {
           
            // clear the input value
            this.value = '';
        }
       
    // when the input loses focus
    }).blur(function() {
       
        // if the value is empty
        if(this.value == '') {
           
            // set the input value to the default text
            this.value = defaultText;
        }
       
    });
});


$(document).ready(function() {
   
    // set up variables
    var searchId = 's';
    var defaultText = "enter term";
   
    // when the input gets focus
    $('#' + searchId).focus(function() {
       
        // if the value in the input equals the default text
        if(this.value == defaultText) {
           
            // clear the input value
            this.value = '';
        }
       
    // when the input loses focus
    }).blur(function() {
       
        // if the value is empty
        if(this.value == '') {
           
            // set the input value to the default text
            this.value = defaultText;
        }
       
    });
});


function ChangeClass() {

var NAME = document.getElementById("newsletter")

NAME.className="active" }