<!--

/*neu ------------------------------------*/
function init_cards()
{
try{
	if (document.getElementById('tab1').id == 'tab1')
 	{throw "ok";}
	else
	{throw "leer";}
	}
catch(test){
	if (test=='ok')	
		{ 
		document.getElementById('register').style.visibility = "visible";
		document.getElementById('card1').style.visibility = "visible";
		document.getElementById('no_card').style.visibility = "hidden";
		}
	else 	
		{ 
		document.getElementById('register').style.visibility = "hidden";
		document.getElementById('card1').style.visibility = "hidden";
		document.getElementById('no_card').style.visibility = "visible";
		}
	}
}


function show_card(card) 
{
var x=1;
while (x<=6) {
  document.getElementById('card'+x).style.visibility = "hidden";
  x++;
  }
document.getElementById(card).style.visibility = "visible";
}
/*neu ENDE-------------------------------*/


var flag = false;
function help(datei)
{
h=400;
b=600;
if (flag == true) if (f1.closed==false) f1.close();
f1=open("","Fenster","scrollbars=yes,menubar=no,status=no,screenX=0,screenY=0,resizable=yes,width="+b+",height="+h);
f1.location.href=datei;
f1.focus();
flag=true;
}

function gallery(datei,hilfeMarker,zurueckText,anzahl,b,h)
{
var x="script language=\"JavaScript1.1\"";
var y="/script";
var name=datei;
var zahl=anzahl;
var hilfemarke=hilfeMarker;
var zurueck= zurueckText;

document.open("text/html");
document.writeln("<html>");
document.writeln("<head>");
document.writeln("<link rel=stylesheet type=\"text/css\" href=\"normal.css\">");
document.writeln("<title>Bild</title>");

document.writeln("<"+x+">");
document.writeln("var flag = false;");
document.writeln("var Neu=new Image();");
document.writeln("function help(datei)");
document.writeln("{");
document.writeln("h=400;b=600;");
document.writeln("if (flag == true) if (f1.closed==false) f1.close();");
document.writeln("f1=open(\"\",\"Fenster\",\"scrollbars=yes,menubar=no,status=no,screenX=0,screenY=0,resizable=yes,width=\"+b+\",height=\"+h);");
document.writeln("f1.location.href=datei;");
document.writeln("f1.focus();");
document.writeln("flag=true;");
document.writeln("}");
document.writeln("function change(bild)");
document.writeln("{");
document.writeln("Neu.src=bild;");
document.writeln("document.images[\"bild\"].src=Neu.src;");
document.writeln("}");
document.writeln("<"+y+">");

document.writeln("</head>");
document.writeln("<BODY>");
document.writeln("<TABLE width=\"100%\" height=\"100%\"><tr valign=\"top\"><td align=\"center\">");
document.writeln("<a href=\"javascript:history.back()\">"+zurueck+"</a>");
document.writeln("&nbsp;&nbsp;&#149;&nbsp;&nbsp;");
if(zahl>1)
{
endung=name.substring(name.lastIndexOf("."));
name=name.substring(0,name.lastIndexOf(".")-1);
document.writeln("Seite:&nbsp;");
for(i=1;i<zahl+1;++i)
{
document.writeln("<a href=\"javascript:change('"+name+i+endung+"')\">"+i+"</a>&nbsp;&nbsp;&#149;&nbsp;&nbsp;");
}
}
document.writeln("<a href=\"javascript:help('"+hilfemarke+"')\">");
document.writeln("<img src=\"text_images/hilfe.gif\" alt=\"Hilfe\" border=\"0\"></a>");
document.writeln("<br><br>");
document.writeln("<img src=\""+datei+"\" name=\"bild\" border=\"0\" width=\""+b+"\" height=\""+h+"\"><br><br>");
document.writeln("<a href=\"javascript:history.back()\">"+zurueck+"</a>");
document.writeln("&nbsp;&nbsp;&#149;&nbsp;&nbsp;");
if(zahl>1)
{
document.writeln("Seite:&nbsp;");
for(i=1;i<zahl+1;++i)
{
document.writeln("<a href=\"javascript:change('"+name+i+endung+"')\">"+i+"</a>&nbsp;&nbsp;&#149;&nbsp;&nbsp;");
}
}
document.writeln("<a href=\"javascript:help('"+hilfemarke+"')\">");
document.writeln("<img src=\"text_images/hilfe.gif\" alt=\"Hilfe\" border=\"0\"></a>");
document.writeln("</td></tr></table>");
document.writeln("</body></html>");
document.close();
}


/*oeffne fremde Webseite -------------------------------*/


function ofw(url)
{
var winPopUp;
winPopUp=window.open(url,"Win","width=550,height=400,location=yes,status=yes,resizable=yes,adressbar=yes,toolbar=yes,scrollbars=yes");
winPopUp.focus();
}

//-->