
myfaq= new Array();
myfaqantw= new Array();

function schreibe() {
if (this.aktiv) {
if (document.layers)
document.liste.document.writeln(this.str);
else
ieliste+=this.str;
}
}

function toggle(wen) {
myfaqantw[wen].aktiv=!myfaqantw[wen].aktiv;
}

function faq(str,id) {
this.aktiv=true;
this.id=id;
this.schreibe=schreibe;
this.str="<tr><td colspan=2><a href='javascript:toggle("+id+");writeFAQ();'><img src='../gifs/pfeil.gif' border='0'></a>"+str;
}

function faqantw(str,id) {
this.str="<tr><td width='10'>&nbsp;</td><td>"+str;
this.aktiv=false;
this.id=id;
this.schreibe=schreibe;
}

function writeFAQ() {
if (document.layers) {
document.liste.document.open();
document.liste.document.write("<table border='0' cellspacing='0' cellpadding='1'>");
for (var i=0;i<myfaq.length;i++) {
myfaq[i].schreibe();
myfaqantw[i].schreibe();
}
document.liste.document.write("</table>");
document.liste.document.close();
}
else {
ieliste="<table border='0' cellspacing='0' cellpadding='2'>";
for (var i=0;i<myfaq.length;i++) {
myfaq[i].schreibe();
myfaqantw[i].schreibe();
}
document.all.liste.innerHTML=ieliste+"</table>";
}
}

function nsfreshup() {
 window.history.go(0);
}

function faqinit() {
window.onresize = nsfreshup;
writeFAQ();
}

function simple() {
if (!(document.layers)&&!(document.all)) {
document.open();
document.write("<table border='0' cellspacing='0' cellpadding='2'>");
for (var i=0;i<myfaq.length;i++) {
document.write(myfaq[i].str+"<br></td></tr>");
document.write(myfaqantw[i].str+"<br><br></td></tr>");
}
document.write("</table>");
document.close();
}
}



