// -------------------------------------------------------------------------------------------------------
// load stylesheets
// -------------------------------------------------------------------------------------------------------

var ns = navigator.appName.indexOf("Netscape") != -1 ? true : false;
var mac = navigator.userAgent.indexOf("Mac") != -1 ? true : false;

function setStylesheet() {
	if(mac && ns) sheet = '<link rel="stylesheet" href="../css/mac_netscape.css" type="text/css">';
	else if(mac) sheet = '<link rel="stylesheet" href="../css/mac_standard.css" type="text/css">';
	else if(ns) sheet = '<link rel="stylesheet" href="../css/netscape.css" type="text/css">';
	else sheet = '<link rel="stylesheet" href="../css/standard.css" type="text/css">';
	return sheet;
}

document.write(setStylesheet());

// -------------------------------------------------------------------------------------------------------

function fenster(src, breite, hoehe) { 
  bild = window.open("", "neu", "width=" + breite + ",height=" + hoehe);
  bild.document.writeln('<html><head><title>FC Germania Arzheim</title></head>');
  bild.document.writeln('<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>');
  bild.document.writeln('<a href="javascript:self.close()"><img src="' + src + '" border=0></a>');
  bild.document.writeln('</body></html>');
  bild.focus();
}
// --------------------------------------------------------------------------------------------------------

function fuss() {
	document.writeln('<table cellspacing=0 cellpadding=0 width=560 border=0>');
	document.writeln('<tr><td height="30"></td></tr><tr>');
	document.writeln('<tr><td width=15 background=../alle/leiste_l.gif height=18>&nbsp;</td><td class=p4 align=right width=530 background=../alle/leiste.gif><a href="#top" name="zum Seitenanfang"><IMG height=13 alt="zum Seitenanfang" hspace=5 src="../alle/top.gif" width=15 align=middle border=0></a></td><td width=15 background=../alle/leiste_r.gif height=18>&nbsp;</td></tr>');
	document.writeln('</table><br>');
}
function kopf(line) {
	document.writeln('<table width="560" border="0" height="0" cellpadding="0" cellspacing="0">');
	document.writeln('<tr><td width="15" height="18" background="../alle/leiste_l.gif">&nbsp;</td>');
	document.writeln('<td width="530" background="../alle/leiste.gif" class="p4">' + line + '</td>');
	document.writeln('<td width="15" height="18" background="../alle/leiste_r.gif">&nbsp;</td></tr><tr><td height="0"></td></tr></table>');
}

document.writeln('<link rel="shortcut icon" href="http://www.fc-arzheim.de/alle/favicon.ico" />');	
window.defaultStatus = "Homepage des FC Germania Arzheim";

function vorladen() {
   var arg = vorladen.arguments;
   if (document.images)
      for (var i=0; i<arg.length; i++) {
         eval("var img" + i + " = new Image();");
         eval("img" + i + ".src = \"" + arg[i] + "\";");
      }
}

function vorladen_array(a) {
   if (document.images)
      for (var i=0; i<a.length; i++) {
         eval("var img" + i + " = new Image();");
         eval("img" + i + ".src = \"" + a[i] + "\";");
      }
}

function austauschen(name, grafik) {
   if (document.images && document.images[name]) {
      document.images[name].old = document.images[name].src;
      document.images[name].src = grafik;
   }
}

function zuruecksetzen(name) {
   if (document.images && document.images[name]) {
      document.images[name].src = document.images[name].old;
   }
}


