﻿function searchPost(termElement) {

    var term = document.getElementById(termElement);
    var postBackURL = '/Search/'
    postBackURL = postBackURL + term.value;
    
    window.location  = postBackURL;

}


function searchBoxWatermark(textBox) {
        
    if (textBox.value == '')
        textBox.value = 'Search by title, artist...';
}