Problem Seite hat Fehlermeldung!

Totschke

Grünschnabel
Und zwar folgendes Problem habe ich!
PHP:
<? include("include/_funcs.php");

$visits = $cr[value];
$cat += 0;
$cat = addslashes($cat);
if($cat) {
	if(($cat>=9)OR($cat<=0)) {
		$cat=1;

$ticker = $tr[value];

if ($action=="logout") {
	session_destroy();
	$uid = 0;
	header("Location: $SCRIPT_NAME");
	exit;
} else if ($action=="login") {
	$nick = addslashes(trim($nick));
	$pass = addslashes($pass);
	if($nick && $pass)
				if ($r[id]) {
					session_start();
					session_register("uid","nickname","caps");
					$uid = $r[id];
					$nickname = $r[nick];
					$caps[admin] = $r[f_admin];
					$caps[news] = $r[f_news];
					header("Location: $SCRIPT_NAME");
					exit;
				}
} ?>
<html>
<head>
<title>SV West03 Leipzig e.V.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
<script src="scroll.js" type=text/javascript></script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
// -->
</script>
<link href="balken.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Stil2 {color: #EFEFEF}
-->
</style>
</head>
<html>
<head>
</head>
<body bgcolor="#000000" background="pics/bgw031.jpg" onLoad="P7_setScroller('p7scroller1','p7s1content1',622,0);P7_runScroller('p7scroller1','Right','Slow',1,0,0,0)">
<table width="762" border="1" align="center" cellpadding="1" cellspacing="1" bordercolor="#990000">
  <tr> 
    <td bgcolor="#000000" rowspan="7" width="1"><img src="pics/pixel.gif" width="1" height="1"></td>
    <td bgcolor="#000000" width="760"><img src="pics/pixel.gif" width="1" height="1"></td>
    <td bgcolor="#000000" rowspan="7" width="1"><img src="pics/pixel.gif" width="1" height="1"></td>
  </tr>
  <tr> 
    <td><div align="center"><img src="pics/w03header.jpg" width="772" height="90"></div></td>
  </tr>
  <tr> 
    <td bgcolor="#000000"><img src="pics/pixel.gif" width="1" height="1"></td>
  </tr>
  <tr> 
    <td height="30" align="center" bgcolor="#990033" class="navitxt"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="navitxt">
        <tr> 
          <td width="130"><font color="#CC3333"><img src="pics/pixel.gif" width="1" height="1" align="absmiddle"> 
            </font> <div id="p7scroller1" style="position:absolute; width:429px; height:18px; z-index:2; overflow: hidden; clip: rect(0 622 20 0); left: 389px; top: 124px;"> 
              <div id="p7s1content1" style="position:absolute; width:622px; z-index:1; left: 494px; top: 1px"> 
                <table width="500" border="0" cellspacing="0" cellpadding="0" class="smalltxt">
                  <tr> 
                    <td nowrap> <font color="#CC3333"><strong><span class="ticktxt"> 
                      <?=$ticker?>
                      </span> </strong></font></td>
                  </tr>
                </table>
              </div>
            </div>
            <font color="#CC3333"> Vereins-News &gt;&gt;&gt;</font></td>
          <td width="635" align="right" class="navitxt"> <font color="#CC3333"> 
            <?=$visits.". Besucher&nbsp;&nbsp;"?>
            </font></td>
          <td width="7" align="right" class="navitxt"><font color="#CC3333">&nbsp;</font></td>
        </tr>
    </table></td>
  </tr>
  <tr> 
    <td bgcolor="#000000"><img src="pics/pixel.gif" width="1" height="1"></td>
  </tr>
  <tr> 
    <td> <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000">
        <tr> 
          <td width="132" valign="top" align="right" bgcolor="#CC0033"> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#cc0033" class="navitxt">
              <tr> 
                <td><img src="pics/pixel.gif" width="1" height="6"></td>
              </tr>
              <tr> 
                <td bgcolor="#000000"><img src="pics/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td bgcolor="#990033"><div align="center">Allgemein</div></td>
              </tr>
              <tr> 
                <td bgcolor="#000000"><img src="pics/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td><img src="pics/pixel.gif" width="1" height="11"></td>
              </tr>
              <?	if(($page=="news.php" OR $page=="")AND(!$cat)){ ?>
              <tr> 
                <td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;<font color="#990033">Neuigkeiten</font></td>
              </tr>
              <?	} else { ?>
              <tr> 
                <td>&nbsp;&nbsp;<font color="#FFFFFF">&nbsp;<span class="navitxt">&nbsp;<a href="index.php?page=news.php">Neuigkeiten</a></span></font></td>
              </tr>
              <?	}
							if($page=="verein.php"){ ?>
              <tr> 
                <td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;<font color="#990033">Vereiin</font></td>
              </tr>
              <?	} else { ?>
              <tr> 
                <td>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?page=verein.php">Verein</a></td>
              </tr>
              <?	}
							if($page=="sponsoren.php"){ ?>
              <tr> 
                <td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;<font color="#990033">Anfahrt</font></td>
              </tr>
              <?	} else { ?>
              <tr> 
                <td>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?page=sponsoren.php">Anfahrt</a></td>
              </tr>
              <?	}
							if(($page=="gb.php")OR($page=="gbwrite.php")){ ?>
              <?	} else { ?>
              <?	} ?>
              <tr> 
                <td>&nbsp;&nbsp;&nbsp;&nbsp;<a href="forum/">Forum</a></td>
              </tr>
              <?	if($page=="kontakt.php"){ ?>
              <tr> 
                <td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;<font color="#990033">Kontakt</font></td>
              </tr>
              <?	} else { ?>
              <tr> 
                <td>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?page=kontakt.php">Kontakt</a></td>
              </tr>
              <?	}
							if($page=="links.php"){ ?>
              <tr> 
                <td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;<font color="#990033">Links</font></td>
              </tr>
              <?	} else { ?>
              <tr> 
                <td>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.php?page=links.php">Links</a></td>
              </tr>
              <?	}  ?>
              <tr> 
                <td>&nbsp;&nbsp;&nbsp; <a href="index.php?page=history.php">Historisches</a></td>
              </tr>
              <tr> 
                <td><img src="pics/pixel.gif" width="1" height="11"><font color="#CC0033"> 
                  ...</font><a href="index.php?page=netikete.php">Netiquette</a></td>
              </tr>
              <tr> 
                <td><div align="center"></div></td>
              </tr>
              <tr> 
                <td bgcolor="#CC0033"><img src="pics/pixel.gif" width="1" height="1"><a href="index.php?page=5JahreLeipzigerFussballde.php"></a></td>
              </tr>
              <tr> 
                <td bgcolor="#990033"><div align="center">Teams</div></td>
              </tr>
              <tr> 
                <td bgcolor="#000000"><img src="pics/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td><img src="pics/pixel.gif" width="1" height="11"></td>
              </tr>
              <tr> 
                <td><div align="center"> 
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000">
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td width="90%" bgcolor="#990000"><a href="index.php?page=spieler.php">&nbsp;&nbsp;&nbsp;</a> 1. Mannschaft </td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp;&nbsp; <a href="index.php?page=spieler1.php">Spieler</a></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=ansetzungen1.php">Ansetzungen</a><br><br>
                            <br>
                      </div></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#990000">&nbsp;&nbsp; 2.Mannschaft</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=spieler2.php">Spieler</a></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=ansetzungen2.php">Ansetzungen</a><br>
                        <br></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#990000">&nbsp;&nbsp; Senioren</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp;<a href="index.php?page=spielersenioren.php"> Spieler</a></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=ansetzungensenioren.php">Ansetzungen</a><br>
                        <br></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#990000">&nbsp;&nbsp; SG A-Jugend</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=spielerajugend.php">Spieler</a></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=ansetzungenajugend.php">Ansetzungen</a><br>
                        <br></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#990000">&nbsp;&nbsp;F-Jugend</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=spielervolkssport.php">Spieler</a></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=ansetzungenvolkssport.php">Ansetzungen</a><br>
                        <br></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#990000">&nbsp;&nbsp; Frauen</td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=spielerfrauen.php">Spielerin</a></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033">&nbsp;&nbsp; <a href="index.php?page=ansetzungenfrauen.php">Ansetzungen</a><br>
                        <br></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td bgcolor="#CC0033"><a href="index.php"></a></td>
                      </tr>
                      <tr bgcolor="#cc0033" class="navitxt">
                        <td colspan="2" bgcolor="#990033"><div align="center"><font color="#990033">.</font>Infos</div></td>
                      </tr>
                    </table>
                    <p><a href="http://www.jumpradio.de/build_index.html?/service/inhalt_sms.shtml" target="_blank"><img src="pics/jump.jpg" width="125" height="41" border="0"></a><br>
                      <font size="1"><strong>dieser Service <br>
                      ist Kostenlos !</strong></font><br>
                      <br>
                      <a href="http://www.jumpradio.de/build_index.html?/service/inhalt_sms.shtml" target="_blank">&gt;&gt;&gt;</a></p>
                    <hr>
                    <p></p>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td>&nbsp;</td>
                      </tr>
                    </table>
                    <p><br>
                    </p>
                  </div></td>
              </tr>
            </table></td>
          <td width="506" align="center" valign="top" background="pics/tabbg.gif" class="umenu"> 
            <? include(inc_page($page)); ?>          </td>
          <td width="134" valign="top" bgcolor="#CC0033" class="navitxt"> <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#cc0033" class="navitxt">
              <tr> 
                <td><img src="pics/pixel.gif" width="1" height="6"></td>
              </tr>
              <tr> 
                <td bgcolor="#000000"><img src="pics/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td bgcolor="#990033" align="right"><div align="center">Admincontrol&nbsp;&nbsp;</div></td>
              </tr>
              <tr> 
                <td bgcolor="#000000"><img src="pics/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td><img src="pics/pixel.gif" width="1" height="11"></td>
              </tr>
              <? if ($uid) { ?>
              <tr> 
                <td align="right"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><div align="center"><strong><font color="#FFFFFF" size="1"><a href="index.php?page=netikete.php">Bitte 
                          vorher Lesen </a><br>
                          <br>
                          </font></strong></div></td>
                    </tr>
                  </table>
                  <?=$nickname."&nbsp;&nbsp;";?>                </td>
              </tr>
              <?	if($page=="newswrite.php"){ ?>
              <tr> 
                <td align="right" bgcolor="#FFFFFF"><font color="#990033">News 
                  schreiben&nbsp;&nbsp;</font></td>
              </tr>
              <?	} else { ?>
              <tr> 
                <td align="right"> <a href="index.php?page=newswrite.php">News 
                  schreiben</a>&nbsp;&nbsp;</td>
              </tr>
              <?	} if($page=="tkwrite.php"){ ?>
              <tr> 
                <td align=right bgcolor="#FFFFFF"><font color="#990033">Ticker 
                  schreiben&nbsp;&nbsp;</font></td>
              </tr>
              <?	} else { ?>
              <tr> 
                <td align=right><a href="index.php?page=tkwrite.php">Ticker schreiben</a>&nbsp;&nbsp;</td>
              </tr>
              <?	} if($page=="tabwrite.php"){ ?>
              <?	} else { ?>
              <?	} if($page=="ergwrite.php"){ ?>
              <?	} else { ?>
              <?	} if($page=="berwrite.php"){ ?>
              <?	} else { ?>
              <?	} ?>
              <tr> 
                <td align=center> &nbsp;<br> <form method="post" action="<?=$SCRIPT_NAME?>">
                    <input type=hidden name=action value=logout>
                    <input type="submit" value=" LOGOUT " class="combox">
                  </form></td>
              </tr>
              <? } else { ?>
              <tr> 
                <td align=center> <form method="post" action="<?=$SCRIPT_NAME?>">
                    <input type="text" name="nick" size="14" maxlength="12" class="combox">
                    <br>
                    <input type="password" name="pass" size="14" maxlength="12" class="combox">
                    <br>
                    &nbsp; <br>
                    <input type=hidden name=action value=login>
                    <input type="submit" value=" LOGIN " class="combox">
                  </form></td>
              </tr>
              <tr> 
                <td align=center>&nbsp;</td>
              </tr>
              <tr> 
                <td align=center><table width="107%" height="421" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000">
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#990033"> <div align="center">&nbsp;&nbsp;Sponsoren</div></td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#CC0033"> <div align="center"><br>
                          Sorge &amp; Partner<br>
                          Rochlitzer &amp; R&uuml;bner<br>
                          <a href="http://www.gasthaus-schuetzenhof.de" target="_blank">Gasthaus 
                          Sch&uuml;tzenhof</a><br>
                          <a href="http://www.htr-bau.de/" target="_blank"><font color="#FFFFFF">HTR-Bau 
                          GmbH</font></a><br>
                          <a href="http://www.parkett-schattke.de/" target="_blank">Parkett 
                          Schattke</a><br>
                          K&amp;K Bautenschutz<br>
                          Thurinia Versicherung<br>
                          <br>
                          <hr>
                          <br>
                        </div></td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#990033"> <div align="center">Fu&szlig;ballnews 
                        </div></td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#CC0033"> <hr> <div align="center">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><div align="center"><script type="text/javascript">
var tickerheight = 140;
var tickerwidth = 140;
var bordersize = 0;
var fontspace = 5;
var font = "Verdana";
var speed = 100;
var pause = 2500;
var fontsize = 11;
var rubrik = 5;
var sparte = 4;
var font_underline = 0;
var rollover_underline = 1;
var ticker_stop = 1;
var bordercolor = "#000000";
var tickercolor = "#CC0033";
var fontcolor = "#FFFFFF";
var rollovercolor = "#000000";
var visitedlink = "#ffffff";
var transparent = 1;
var tickertyp = 2;
var u_id = 320909;
</script>
<script type="text/javascript" src="http://newsticker.shortnews.de/de/js/free/2/ticker.js"></script>
</div></td>
                          </tr>
                        </table>
                      </div>
                        <hr> <br> </td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#990033"> <div align="center">Wetter</div></td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td height="82" bgcolor="#CC0033"><hr> <div align="center"><img src="http://www.wetter.com/home/woys/woys.php?,C,1b,WMO,396" border="0" alt=""> 
                        </div>                      </td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#CC0033"><hr></td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#CC0033">&nbsp;</td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#CC0033">&nbsp;</td>
                    </tr>
                    <tr bgcolor="#cc0033" class="navitxt"> 
                      <td bgcolor="#CC0033">&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td align=center>&nbsp;</td>
              </tr>
              <? } ?>
            </table>
            <br> </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td bgcolor="#000000"><img src="pics/pixel.gif" width="1" height="1"></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div align="center"><font color="#CCCCCC" size="1"><strong><font size="2" face="Arial, Helvetica, sans-serif"><br>
        <font color="#FFFFFF">&nbsp; ::</font> <a href="mailto:kontakt@west03-leipzig.de">www.west03-leipzig.de</a> 
        | <font color="#FFFFFF">&copy; 08/2002 by</font></font><font size="2"><a href="mailto:mike-seifert@web.de"> 
        El Mische</a></font></strong><font size="2"><a href="mailto:mike-seifert@web.de"> 
        </a></font></font><font color="#CCCCCC"><font color="#FFFFFF"><strong><font face="Arial, Helvetica, sans-serif"> 
        <font color="#CCCCCC" size="1"><strong><font size="2" face="Arial, Helvetica, sans-serif">|</font></strong></font> 
        <font size="2">Hammerh@rt</font></font></strong></font></font><font color="#CCCCCC" size="2"><font color="#FFFFFF"><strong> 
        </strong></font></font><font color="#CCCCCC" size="1"><font color="#FFFFFF" size="2"><strong>::</strong></font></font></div></td>
  </tr>
</table>
</body>
</html>
 
Das einzige Problem, was ich momentan sehe, ist, dass du der Ansicht bist, hier könnte jemand hellsehen und erraten was die Fehlermeldung besagt und was in scroll.js+_funcs.php steht.
 
Das ist die _funcs.php!
PHP:
<? if (!$_inc_funcs) { $_inc_funcs = 1;

$uid = 0;
session_start();
if (!session_is_registered("uid")) {
	session_destroy();
	$uid = 0;
}

function inc_page($p) {
	if (ereg("^[A-Za-z0-9]+\.[A-Za-z0-9]+$",$p))
		return "include/$p";
	return "include/news.php";
}

function get_kat ($cat) {
	switch ($cat) {
		case 0: return "Allgemein";
		case 1: return "M1";
		case 2: return "M2";
		case 3: return "M3";
		case 4: return "VS";
		case 5: return "SE";
		case 6: return "C1";
		case 7: return "C2";
		case 8: return "F";
	}
}

function tags($s,$t="") {
	return trim(strip_tags($s,$t));
}

}
?>

und das ist die scroll.js!

Code:
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function P7_autoLayers() { //v1.2 by PVII
 var g,b,k,f,args=P7_autoLayers.arguments;
 var a = parseInt(args[0]);if(isNaN(a))a=0;
 if(!document.p7setc) {p7c=new Array();document.p7setc=true;
  for (var u=0;u<10;u++) {p7c[u] = new Array();}}
 for(k=0; k<p7c[a].length; k++) {
  if((g=MM_findObj(p7c[a][k]))!=null) {
   b=(document.layers)?g:g.style;b.visibility="hidden";}}
 for(k=1; k<args.length; k++) {
  if((g=MM_findObj(args[k])) != null) {
   b=(document.layers)?g:g.style;b.visibility="visible";f=false;
   for(j=0;j<p7c[a].length;j++) {
    if(args[k]==p7c[a][j]) {f=true;}}
  if(!f) {p7c[a][p7c[a].length++]=args[k];}}}
}

function P7_moveScroll(co,md,op,dy,cy) { //v2.9 by PVII
 var g,d,dd,x,y,h,w,tt,ff,m=false,pa="";
 op=parseInt(op);cy=parseInt(cy);dy=parseInt(dy);
 if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){pa="px";}
 if((g=MM_findObj(co))==null){return;}
 if((d=MM_findObj(g.p7Scroll))==null){return;}
 var sp=parseInt(sp=g.P7Ssp),fr=parseInt(g.P7Sfr),ff=fr;
 if(op==2){g.p7sCycle=0;g.p7sCycDy=(dy>0)?dy:g.p7sCycDy;dy=0;op=3;}
 if(op==3){g.p7sCycle+=sp;ff=fr;if(parseInt(g.p7sCycle)>cy){
  op=2;g.p7sCycle=0;ff=g.p7sCycDy;}}g.P7Sop=op;if(dy>0){ff=dy;}
 var ti="g.p7Magic=setTimeout(\"P7_moveScroll('"+co+"','"+md+"',"+op+",0,"+cy+")\","+ff+")";
 if(op==2 || dy>0){clearTimeout(g.p7Magic);eval(ti);return;}
 dd=(document.layers)?d:d.style;x=parseInt(dd.left);y=parseInt(dd.top);
 if(document.all || document.getElementById){
  h=parseInt(d.offsetHeight);w=parseInt(d.offsetWidth);
  if(!h){h=parseInt(d.style.pixelHeight);w=parseInt(d.style.pixelWidth);}
 }else if(document.layers){h=parseInt(d.clip.height);w=parseInt(d.clip.width);}
 var st=0,rStart=parseInt(g.p7sStartLeft),tStart=parseInt(g.p7sStartTop);g.p7sH=h;g.p7sW=w;
 if(md=="Down"){tt=y-sp;st=parseInt(g.p7sBot)-h-tStart;
  if(tStart<0 && tt<tStart){dd.top=tStart+pa;
  }else if(tStart>=0 && tt<st){dd.top=st+pa;}else{dd.top=tt+pa;m=true;}}
 if(md=="Up"){tt=sp+y;var rEnd=tStart+h;if(tStart<0 && tt>rEnd){dd.top=rEnd+pa;
  }else if(tStart>=0 && tt>tStart){dd.top=tStart+pa;}else{dd.top=tt+pa;m=true;}}
 if(md=="Right"){tt=x-sp;st=parseInt(g.p7sRight)-w-rStart;
  if(rStart<0 && tt<rStart){dd.left=rStart+pa;
  }else if (rStart>=0 && tt<st){dd.left=st+pa;}else{dd.left=tt+pa;m=true;}}
 if(md=="Left"){tt=x+sp;var rEnd=rStart+w;if(rStart<0 && tt>rEnd){dd.left=rEnd+pa;
  }else if (rStart>=0 && tt>rStart){dd.left=rStart+pa;}else{dd.left=tt+pa;m=true;}}
 if(m && g.toMove){eval(ti);}else{if(g.P7Sflip==1){clearTimeout(g.p7Magic);var tj=0;
  eval("g.p7Magic=setTimeout(\"P7_runScroller('"+co+"','Reverse','Medium',0,0,0,1)\","+tj+")");
 }else{if(op>0 && g.toMove){
  g.p7sCycle=0;dd.top=g.p7sStartTop+pa;dd.left=g.p7sStartLeft+pa;eval(ti);}}}
}

function P7_runScroller(co,md,spd,op,dy,cy,flp) { //v2.9 by PVII
 var g,d,dd,rl=0;rt=0;pa='',sp=2,fr=10,slw=true,kl=true;
 if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){pa="px";}
 if(navigator.userAgent.indexOf("NT")>-1 || navigator.userAgent.indexOf("Windows 2000")>-1 ){slw=false;}
 if((g=MM_findObj(co))!=null){if(g.p7Scroll){
 if((d=MM_findObj(g.p7Scroll))!=null){dd=(document.layers)?d:d.style;
 if(md=="Resume" && g.P7Sspd){spd=g.P7Sspd;md=g.P7Smd;op=g.P7Sop;dy=0;cy=g.P7Scy;flp=g.P7Sflip;kl=false;}
 if(md=="Reverse" && g.P7Sspd){spd=g.P7Sspd;md=g.P7Smd;op=g.P7Sop;flp=g.P7Sflip;dy=0;cy=g.P7Scy;kl=false;g.p7sCycle=0;
  if(g.P7Smd == "Down"){md="Up";if(g.P7Sop>0){g.p7sStartTop=g.p7sStartTop-g.p7sH;}}
  if(g.P7Smd == "Up"){md="Down";if(g.P7Sop>0){g.p7sStartTop=g.p7sStartTop+g.p7sH;}}
  if(g.P7Smd == "Left"){md="Right";if(g.P7Sop>0){g.p7sStartLeft=g.p7sStartLeft+g.p7sW;}}
  if(g.P7Smd == "Right"){md="Left";if(g.P7Sop>0){g.p7sStartLeft=g.p7sStartLeft-g.p7sW;}}}
 if(spd=="Slow"){sp=(slw)?2:1;fr=(slw)?40:30;
 }else if(spd=="Medium"){sp=(slw)?4:1;fr=(slw)?40:10;
 }else{sp=(slw)?8:4;fr=(slw)?40:10;}
 if(md=="Stop"){g.toMove=false;clearTimeout(g.p7Magic);}else if(md=="Reset"){
  g.toMove=false;dd.top=g.p7sStartTop+pa;dd.left=g.p7sStartLeft+pa;
 }else{if(kl){g.P7Ssp=sp;g.P7Sfr=fr;}if(md=="Speed"){return;}
  g.toMove=true;clearTimeout(g.p7Magic);
  g.P7Smd=md;g.P7Sspd=spd;g.P7Sop=op;g.P7Sdy=dy;g.P7Scy=cy;g.P7Sflip=flp;
  eval("P7_moveScroll('"+co+"','"+md+"',"+op+","+dy+","+cy+")");}}}}
}

function P7_setScroller(a,b,x,y) { //v2.9 by PVII
 var g,d,dd,w,ww,pa="";
 if((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1)&& navigator.userAgent.indexOf("Opera")==-1){pa="px";}
 if((g=MM_findObj(a))!=null && (d=MM_findObj(b))!=null){
  if(g.p7Scroll){if((w=MM_findObj(g.p7Scroll))!=null){
   ww=(document.layers)?w:w.style;ww.visibility="hidden";}}
 g.p7Scroll=b;dd=(document.layers)?d:d.style;dd.left=parseInt(x)+pa;
 dd.top=parseInt(y)+pa;dd.visibility="visible";g.p7sCycle=0;
 if(document.layers){g.p7sTop=g.clip.top;g.p7sBot=g.clip.bottom;
  g.p7sRight=g.clip.right;g.p7sLeft=g.clip.left;g.p7sStartTop=parseInt(y);g.p7sStartLeft=parseInt(x);
 }else if(g.style.clip){var tc=g.style.clip;var j=tc.indexOf("(");
  tc=tc.substring(j+1,tc.length-1);var tr=tc.split(" ");
  if(tc.length < 1){tr[0]=0;tr[3]=0;tr[2]=g.style.pixelHeight;tr[1]=g.style.pixelWidth;}
  g.p7sTop=parseInt(tr[0]);g.p7sRight=parseInt(tr[1]);g.p7sBot=parseInt(tr[2]);
  g.p7sLeft=parseInt(tr[3]);g.p7sStartTop=parseInt(y);g.p7sStartLeft=parseInt(x);
 }else{g.p7sTop=0;g.p7sRight=g.offsetWidth;g.p7sBot=g.offsetHeight;
  g.p7sLeft=0;g.p7sStartTop=parseInt(y);g.p7sStartLeft=parseInt(x);}}
  g.toMove=true;
}
function MM_reloadPage(init) {  //Updated by PVII. Reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function P7_tutpic(a) { //v1.0 by PVII
 document.p7tutpic = window.open(a,'thepic','toolbar=no,status=no,scrollbars=no,resizable=no,height=180,width=187');
 document.p7tutpic.focus();
}

function P7_Shop(a) { //v1.0 by PVII
 document.p7shop = window.open(a,'theShop','toolbar=yes,status=yes,scrollbars=yes,resizable=yes,height=440,width=680');
 document.p7shop.focus();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
 

Neue Beiträge

Zurück