function change_text_block(val) {
    if (val == "BE:Posters") {
        var text = "<table border=\"0\" cellspacing=\"2\" cellpadding=\"0\">\n";
        text += "<tr><td class=\"nowrapR\">Search by Artist/Author:</td><td><input type=\"text\" name=\"Author\" size=\"30\" /></td></tr>\n"; 
        text += "<tr><td class=\"nowrapR\">In Sub-Category:</td><td><select name=\"cat\">";
        subKey = new Array('BE0000','BE0100','BE0200','BE0300','BE0400','BE0500','BE0600','BE0700','BE0800','BE0900','BE1000','BE1100','BE1200','BE1300','BE1400','BE1500','BE1600','BE1700','BE1800','BE1900','BE2000','BE2100','BE2200','BE2300','BE2400','BE2500','BE2600','BE2700','BE2800','BE2900','BE3000','BE3100');
        subVal = new Array('All Categeories','Animal Kingdom','Architecture','Art & Artists','Botanical & Agricultural','Business, Finance & Industry','Children & Art','Costumes & Fashion','Education','Entertainment','Food & Drink','Health & Medical','History','Holidays','Home & Hearth','Humor','Literary','Maps','Military','Miscellaneous','Motivational','Music','People & Places','Photography','Politics','Quotes','Religion & Philosophy','Science & Technology','Science Fiction & Fantasy','Sports','Travel & Transportation','World Cultures');
        for (var i=0; i<subKey.length; i++) { text += "<option value=\""+subKey[i]+"\">"+subVal[i]+"</option>"; }
        text += "</select></td></tr>\n";
        text += "<tr><td><img border=\"0\" width=\"225\" height=\"12\" src=\"images/px1.gif\" /></td><td><img border=\"0\" width=\"225\" height=\"12\" src=\"images/px1.gif\" /></td></tr>\n";
        text += "</table>\n";
        document.getElementById('block').innerHTML=text;
    }
    else {
        var text = "<table border=\"0\" cellspacing=\"2\" cellpadding=\"0\">\n";
        text += "<tr><td align=\"right\"><b><a title=\"Modify the search by matching all the search keywords, any of the search keywords or exact phrase of the search keywords.\"><img border=\"0\" width=\"16\" height=\"16\" src=\"images/mark.jpg\" /></a> &nbsp; Search Modification: &nbsp; &nbsp; </b></td><td><select name=\"modify\"><option value=\"all\">All the keywords</option><option value=\"any\">Any of the keywords</option><option value=\"phrase\">Exact phrase match</option></select></td></tr>\n"; 
        text += "<tr><td align=\"right\"><b><a title=\"Specify keywords that should not be found in any match.\"><img border=\"0\" width=\"16\" height=\"16\" src=\"images/mark.jpg\" /></a> &nbsp; Exclude Keywords: &nbsp; &nbsp; </b></td><td><input type=\"text\" name=\"exclude\" size=\"30\" /></td></tr>\n";
        text += "<tr><td align=\"right\"><b><a title=\"Match variations on these keywords. You can perform variation matches on the same search keywords.\"><img border=\"0\" width=\"16\" height=\"16\" src=\"images/mark.jpg\" /></a> &nbsp; Match Variations on Keywords: &nbsp; &nbsp; </b></td><td><input type=\"text\" name=\"wildcard\" size=\"30\" /></td></tr>\n";
        text += "<tr><td align=\"right\"><b>Price Range: &nbsp; &nbsp; </b></td><td><b>From: <input type=\"text\" name=\"min\" size=\"5\" /> &nbsp; To: </b><input type=\"text\" name=\"max\" size=\"5\" /></td></tr>\n";
        text += "<tr><td><img border=\"0\" width=\"225\" height=\"12\" src=\"images/px1.gif\" /></td><td><img border=\"0\" width=\"225\" height=\"12\" src=\"images/px1.gif\" /></td></tr>\n";
        text += "</table>\n";
        document.getElementById('block').innerHTML=text;
    }
}
