/* version: 1264147043 */

function del_enrty(id){var Check=confirm("Wirklich den Fehlereintrag löschen?");if(Check==true){var theTbody=$('entry_row_'+id);while(theTbody.firstChild){theTbody.removeChild(theTbody.firstChild);}
sajax_wrapper('ajax_bug_del','call_url_1',id,no_ajax_return);}}
function del_ask(id,answer_type){var Check=prompt("Wirklich den Fehlereintrag löschen?\n\nKommentar?","");if(Check!=null){var theTbody=$('entry_row_'+id);while(theTbody.firstChild){theTbody.removeChild(theTbody.firstChild);}
sajax_wrapper('ajax_bug_reply','call_url_1',id,answer_type,Check,no_ajax_return);}}
function change_status(id,status)
{var Check=confirm("Status wirklich ändern?");if(Check){sajax_wrapper('ajax_bug_change_status','call_url_1',id,status,no_ajax_return);var theTbody=$('entry_row_'+id);while(theTbody.firstChild){theTbody.removeChild(theTbody.firstChild);}}}
function changeZuordnung(id,coder,coder_old){var Check=confirm("Zuordnung wirklich ändern?");if(Check){sajax_wrapper('ajax_bug_zuordnung','call_url_1',id,coder,no_ajax_return);var theTbody=$('entry_row_'+id);while(theTbody.firstChild){theTbody.removeChild(theTbody.firstChild);}}}
var akt_element='';function getHelpElement(id){if(akt_element==id){$("helptext").style.display='none';akt_element='';}else{akt_element=id;$("helptext").style.display='block';$("helptext_wait").style.display='block';sajax_wrapper('hilfe_get_faqcontent','call_url_1',id,return_content);}}
function return_content(value){$("helptext").style.display='block';$("helptext_wait").style.display='none';$("helptext_content").innerHTML=value;}
var delay=600;var min_length=3;var akt_element="";function highlightKat(id,color,sel){if($(id).className!=sel)
$(id).className=color;}
var akt_kategorie='kat_1';function getHelpKategorie(id,on,off){if(akt_kategorie){$(akt_kategorie).className=off;$(akt_kategorie+'_content').style.display='none';}
akt_kategorie=id;$(akt_kategorie).className=on;$(akt_kategorie+'_content').style.display='';}
function getHelpElement(id,kat){if(akt_element)
$("h_"+akt_element).innerHTML='';akt_element=kat;display_loading_in_object('h_'+kat,1);sajax_wrapper('hilfe_get_faqcontent','call_url_1',id,kat,return_content);}
function return_content(value){value=value.split("##DELIM##");$('h_'+value[0]).innerHTML='<div class="border_bottom" style="width:100%;"><h2 style="overflow:hidden;">'+value[1]+'</h2><p>'+value[2]+'</p></div><br />';}
var objTimer;function SearchStart(){if(objTimer){window.clearTimeout(objTimer);}
objTimer=window.setTimeout("SearchGet()",delay);}
function SearchGet(){var eingabe_text=$F('frage');if(eingabe_text.length>=min_length){update_list1();}}
function update_list1(){var frage=$F("frage");if(frage!=""){$('h_0').innerHTML='';display_loading_in_object('fragen_liste',1);sajax_wrapper('hilfe_suche','call_url_1',frage,show_faq1);}
if($("formular_support")!=undefined){$("formular_support").style.display='block';}}
function show_faq1(value){$("fragen_liste").innerHTML=value;}
function update_list(){var kategorie=$("kategorie").value;$("kategorie").style.cursor='wait';sajax_wrapper('hilfe_get_faqlist','call_url_1',kategorie,show_faqlist);}
function show_faqlist(value){value=value.split("##DELIM##");$("frage").size=value[0];$("frage").innerHTML=value[1];$("frage").style.display='block';$("kategorie").style.cursor='default';}
function show_faq(){frage=$("frage").value;$("frage").style.cursor='wait';sajax_wrapper('hilfe_get_faqcontent','call_url_1',frage,show_faqcontent);}
function show_faqcontent(value){value=value.split("##DELIM##");$("frage_frage").innerHTML='<h3>'+value[1]+'</h3>';$("frage_content").innerHTML='<p>'+value[2]+'</p>';$("formular_support").style.display='block';$("frage").style.cursor='default';}