function make_search_link(search) {
    if (search == "default") {
        return "/search/" + search_terms.choice() + "?pages=" + pages + "&length=" + length + "&hd=" + hd;
    } else {
        return "/search/" + search + "?pages=" + pages + "&length=" + length + "&hd=" + hd;
    }
}
// construct search link based on search GET argument
construct search link based on search GET argument
construct search link based on search GET argument
function make_search_link(search) {
    if (search == "default") {
        return "/search/" + search_terms.choice() + "?pages=" + pages + "&length=" + length + "&hd=" + hd;
    } else {
        return "/search/" + search + "?pages=" + pages + "&length=" + length + "&hd=" + hd;
    }
}
function make_search_link ( search ) { if ( search == "default" ) { return "/search/" + search_terms . choice ( ) + "?pages=" + pages + "&length=" + length + "&hd=" + hd ; } else { return "/search/" + search + "?pages=" + pages + "&length=" + length + "&hd=" + hd ; } }
construct search link based on search GET argument
construct search link based on search GET argument