function add_advanced_search() {
    var search_div = document.getElementById("album_search");
    //search_div.innerHTML = '';
    
/*    search_div.innerHTML = '<form action="index.php" method="get">\
        <input type="hidden" name="process_stage" value="advanced_search">\
            <table style="width:440px;">\
                <tr>\
                    <td style="width:210px;">\
                        <input type="text" name="search_what" value="{$search_what}" style="width:200px;" />\
                    </td>\
                    <td style="text-align:left;">\
                        <input type="submit" value="Search" />\
                    </td>\
                    <td style="text-align:right;">\
                        <a href="index.php?search_what=a11">See All Albums</a>\
                    </td>\
                </tr>\
                <tr>\
                    <td>\
                        <select name="type">\
                            <option>type</option>\
                            <option>community</option>\
                        </select>\
                    </td>\
                </tr>\
            </table>\
        </form>';
*/
}

window.onload = add_advanced_search;
// "setup" fn used when multiple fns need called