function neuladen()
{
	if (document.all)
	{
	top.frames[0].index2.nummer = 0;
	history.go(0)
	}
}


      pig = new Image(93, 54);     // Bildgroesse von
      pig.src = "pigani2.gif";     // pigasus und url

var delay=20;

function moveit(was, startx, starty, endx, endy, steps, wait) {
if (!document.all && !document.layers) document.all=document.getElementsByTagName("*");

	if(wait && wait>0)
		setTimeout('moveit("'+was+'",'+startx+','+starty+','+endx+','+endy+','+steps+','+(wait-1)+')', delay);
	else
	{
		if(document.layers)
		{
			document.layers[was].left=startx;
			document.layers[was].top=starty;
		}
		else
		{
			document.all[was].style.left=startx;
			document.all[was].style.top=starty;
		}

		startx+=(endx-startx)/steps;
		starty+=(endy-starty)/steps;

		if(steps>0)
		setTimeout('moveit("'+was+'",'+startx+','+starty+','+endx+','+endy+','+(steps-1)+')', delay);
	}
}

function init()
{
if (top.frames[0].index2.nummer == 0) {
top.frames[0].index2.nummer = 1;
	if(document.layers)
	{
		var w=innerWidth;				// Anpassung fuer Netscape-Navigator
		var h=innerHeight;
	} else
	{
		var w=document.body.offsetWidth;		// Anpassung fuer Internet-Explorer
		var h=document.body.offsetHeight;
	}

	var mw=w/2;
	var mh=h/2;

	moveit("f1", w+100, h+100, -100, -100, 200, 10);	// kleines Schwein
}}

function framemich()
{
if(top.frames.length == 0) top.location = "frame2.htm"
}

function source(quelle)
{
window.location = (window.location.protocol=="file:") ? "view-source:file:///d:/home-new/" + quelle : "view-source:http://www.pigasus.de/" + quelle
}

function stripeTable(x, y){

	/* (c) 1999 Typo-Form@t-online.de Do not remove this comment! */
if (!document.all && !document.layers) document.all=document.getElementsByTagName("*");
tdList = (document.all)? document.all.tags('TD') : document.layers;
for(i=0;i<tdList.length;i++){
  if(i %x <y)
   if(document.all) tdList[i].style.backgroundColor='lightgrey';
}
}
