function profisuche() {
	var el=$('suchform');
	var txt;
	txt = "<div class=\"profisuche_header\">Profisuche</div>";
	txt+="<form name=\"Profisuche\" method=get action=\"/list\"><table width=430 cellpadding=\"0\" cellspacing=\"0\" border=\"0\">";
	txt+="<tr><td align=left>Autor:</td><td align=right><input type=\"text\" id=\"autor\" size=\"30\" name=\"autor\" autocomplete=\"off\"></td></tr>";
	txt+="<tr><td align=left>Titel (oder Stichwort daraus):</td><td align=right><input type=\"text\" id=\"titel\" size=\"30\" name=\"titel\" autocomplete=\"off\"></td></tr>";
	txt+="<tr><td align=left>Verlag:</td><td align=right><input type=\"text\" id=\"verlag\" size=\"30\" name=\"verlag\" autocomplete=\"off\"></td></tr>";
	txt+="<tr><td align=left>Schlagworte/Thema:</td><td align=right><input type=\"text\" id=\"sw\" size=\"30\" name=\"sw\" autocomplete=\"off\"></td></tr>";
	txt+="<tr><td align=left>ISBN:</td><td align=right><input type=\"text\" id=\"isbn\" size=\"30\" name=\"isbn\" autocomplete=\"off\"></td></tr>";
	txt+="</table>";
	txt+="<table width=430 cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"padding-top:20px;\">";
	txt+="<tr><td width=192><span style=\"float:right\">von:</span>Preis:<td><td width=70px align=right><input type=\"text\" size=\"5\" name=\"preis_von\" style=\"width:50px;\"></td><td align=left width=20px;>&nbsp;&nbsp;bis:</td><td align=center><input type=\"text\" size=\"5\" name=\"preis_bis\" style=\"width:50px;\"></td></tr>";
	txt+="<tr><td align=left width=192>Erscheinungsjahr:</td><td colspan=3 align=left><input type=\"text\" name=\"erscheinungsjahr\" size=\"5\" style=\"width:50px;\"></td></tr>";
	txt+="<tr><td align=left width=192>Lesealter:</td><td colspan=3 align=left>";
	txt+="<select name=\"alter\"><option value=\"\">alle</option><option value=\"B\">0 - 3</option><option value=\"C\">3 - 6</option><option value=\"D\">6 - 12</option><option value=\"E\">12 - 16</option><option value=\"F\">ab 16</option></select>";
	txt+="</td></tr>";
	txt+="</table>";
	txt+="<div align=right style=\"margin-top:30px;\"><div style=\"background-color: #89CFDB;\" class=\"button\"><a onclick=\"document.Profisuche.submit();\" name=\"submit\" href=\"#\">suchen</a></div><div style=\"background-color: #89CFDB;margin-left:20px;\" class=\"button\"><a onclick=\"quicksearch();\" href=\"#\">abbrechen</a></div></div>";
	txt+="</form>";
	el.set('class','profisuche');
	el.set('html',txt);
}

function quicksearch() {
	var el=$('suchform');
	var txt;
	txt = "<form method=\"post\" action=\"/buchwelten/list\" name=\"suchform\"><table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"width:100%;\"><tbody><tr><td><input type=\"text\" onblur=\"if(!document.suchform.quick.value)document.suchform.quick.value='Bitte hier den Titel oder Autor eingeben';\" onfocus=\"if(document.suchform.quick.value=='Bitte hier den Titel oder Autor eingeben')document.suchform.quick.value='';\" value=\"Bitte hier den Titel oder Autor eingeben\" size=\"30\" name=\"quick\"></td><td style=\"width:70px;\"><div style=\"margin-bottom:5px;\"><input type=\"submit\" class=\"submit\" value=\"suchen\" name=\"sendsearch\"></div><div style=\"background-color: #25A4B7;\" class=\"button\"><a onclick=\"profisuche();\" href=\"#\">Profisuche</a></div></td></tr></tbody></table></form>";
	el.set('html',txt);
	el.set('class','');
}

