  var newslist=new Array();
  //var cnt=0;			// current news item
  var curr0 = "";
  var curr1 = "";
  var curr2 = "";
  var curr3 = "";
  var curr4 = "";
  var i=-1;			// current letter being typed
  var j=-1;
  var k=-1;
  var l=-1;
  var m=-1;

  newslist[0]=new Array("!!! neues Homepagedesign !!!","#");
  newslist[1]=new Array("!!! Photovoltaikanlagen !!!","Photovoltaikanlagen();");
  //newslist[2]=new Array("News Text 3","t_todolist.html");
  //newslist[3]=new Array("News Text 4","t_register.html");
  //newslist[4]=new Array("News Text 5","t_greetings.html");

function news()
{
  setTimeout('newsticker0(0)',0);
  setTimeout('newsticker1(1)',0);
  //setTimeout('newsticker2(2)',80);
  //setTimeout('newsticker3(3)',120);
  //setTimeout('newsticker4(4)',160);
}

function newsticker0(cnt)
{
	// next character of current item
	if (i < newslist[cnt][0].length - 1)
	{
		i++;
		temp0 = newslist[cnt][0];	
		temp0 = temp0.split('');	
  	curr0 = curr0+temp0[i];
		temp1 = newslist[cnt][1];	
    try
    {
  	  document.getElementById("mtxt").innerHTML = "<small><font style='font-family:Arial; color:white;'>"+curr0+"_</small></font><br><br>";      
    }
    catch(err)
    {
    }
    setTimeout('newsticker0(0)',1);
		return;
	}

	// new item
	i = -1; curr0 = "";
	setTimeout('newsticker0(0)',3000);
}

function newsticker1(cnt)
{
	// next character of current item
	if (j < newslist[cnt][0].length - 1)
	{
		j++;
		temp2 = newslist[cnt][0];	
		temp2 = temp2.split('');	
  	curr1 = curr1+temp2[j];
		temp3 = newslist[cnt][1];	
    try
    {
  	  document.getElementById("mtxt1").innerHTML = "<small><a href='#' onclick="+temp3+" style='font-family:Arial; color:white;'><font color='#FFFFFF'>"+curr1+"_</small></font></a><br><br>";      
    }
    catch(err)
    {
    }  
    setTimeout('newsticker1(1)',1);
		return;
	}

	// new item
	j = -1; curr1 = "";
	setTimeout('newsticker1(1)',3000);
}

function newsticker2(cnt)
{
	// next character of current item
	if (k < newslist[cnt][0].length - 1)
	{
		k++;
		temp4 = newslist[cnt][0];	
		temp4 = temp4.split('');	
  	curr2 = curr2+temp4[k];
		temp5 = newslist[cnt][1];	
    try
    {
  	  document.getElementById("mtxt2").innerHTML = "<small><a href='#' onclick="+temp5+" style='font-size=9px; font-family:Arial; color:white;'><font color='#FFFFFF'>"+curr2+"_</small></font></a><br><br>";      
    }
    catch(err)
    {
    }
    setTimeout('newsticker2(2)',20);
		return;
	}

	// new item
	k = -1; curr2 = "";
	setTimeout('newsticker2(2)',3000);
}

function newsticker3(cnt)
{
	// next character of current item
	if (l < newslist[cnt][0].length - 1)
	{
		l++;
		temp6 = newslist[cnt][0];	
		temp6 = temp6.split('');	
  	curr3 = curr3+temp6[l];
		temp7 = newslist[cnt][1];	
    try
    {
  	  document.getElementById("mtxt3").innerHTML = "<small><a href='#' onclick="+temp7+" style='font-size=9px; font-family:Arial; color:white;'><font color='#FFFFFF'>"+curr3+"_</small></font></a><br><br>";      
    }
    catch(err)
    {
    }
    setTimeout('newsticker3(3)',20);  
		return;
	}

	// new item
	l = -1; curr3 = "";
	setTimeout('newsticker3(3)',3000);
}

function newsticker4(cnt)
{
	// next character of current item
	if (m < newslist[cnt][0].length - 1)
	{
		m++;
		temp8 = newslist[cnt][0];	
		temp8 = temp8.split('');	
  	curr4 = curr4+temp8[m];
		temp9 = newslist[cnt][1];	
    try
    {
  	  document.getElementById("mtxt4").innerHTML = "<small><a href='#' onclick="+temp9+" style='font-size=9px; font-family:Arial; color:white;'><font color='#FFFFFF'>"+curr4+"_</small></font></a><br><br>";
    }
    catch(err)
    {
    }
    setTimeout('newsticker4(4)',20);
		return;
	}

	// new item
	m = -1; curr4 = "";
	setTimeout('newsticker4(4)',3000);
}


function ueberblenden(step,step2)
{  

  var imgs = document.getElementsByTagName("img");

  step = step || 0;
  step2 = step2 || 100;
  
  imgs[5].style.filter = "alpha(opacity=" + step + ")"; // IE
  imgs[5].style.opacity = step/100;
  imgs[5].style.MozOpacity = step/100;
  imgs[5].style.opacity = step/100;
  
  step = step + 2;
  step2 = step2 - 2;

  if (step <= 100) {
    window.setTimeout(function () { ueberblenden(step,step2); }, 80);
  }
  else
  {  
    //ueberblenden1();
    window.setTimeout(function () { ueberblenden1(); }, 4000);
  }
  
}

function ueberblenden1(step,step2)
{  

  var imgs = document.getElementsByTagName("img");

  step = step || 100;
  step2 = step2 || 0;
  
  imgs[5].style.filter = "alpha(opacity=" + step + ")"; // IE
  imgs[6].style.filter = "alpha(opacity=" + step2 + ")"; // IE
  imgs[5].style.opacity = step/100;
  imgs[6].style.opacity = step2/100;
  imgs[5].style.MozOpacity = step/100;
  imgs[6].style.MozOpacity = step2/100;
  imgs[5].style.opacity = step/100;
  imgs[6].style.opacity = step2/100;

  step = step - 2;
  step2 = step2 + 2;

  if (step >= 2) {
    window.setTimeout(function () { ueberblenden1(step,step2); }, 80);
  }
  else
  { 
    window.setTimeout(function () { ueberblenden2(); }, 4000);
  }
  
}

function ueberblenden2(step,step2)
{  

  var imgs = document.getElementsByTagName("img");

  step = step || 100;
  step2 = step2 || 0;
  
  imgs[6].style.filter = "alpha(opacity=" + step + ")"; // IE
  imgs[7].style.filter = "alpha(opacity=" + step2 + ")"; // IE
  imgs[6].style.opacity = step/100;
  imgs[7].style.opacity = step2/100;
  imgs[6].style.MozOpacity = step/100;
  imgs[7].style.MozOpacity = step2/100;
  imgs[6].style.opacity = step/100;
  imgs[7].style.opacity = step2/100;

  step = step - 2;
  step2 = step2 + 2;

  if (step >= 2) {
    window.setTimeout(function () { ueberblenden2(step,step2); }, 80);
  }
  else
  { 
    window.setTimeout(function () { ueberblenden3(); }, 4000);
  }
  
}

function ueberblenden3(step,step2)
{  

  var imgs = document.getElementsByTagName("img");

  step = step || 100;
  step2 = step2 || 0;

  
  imgs[7].style.filter = "alpha(opacity=" + step + ")"; // IE
  imgs[7].style.opacity = step/100;
  imgs[7].style.MozOpacity = step/100;
  imgs[7].style.opacity = step/100;  

  step = step - 2;
  step2 = step2 + 2;

  if (step >= 2) {
    window.setTimeout(function () { ueberblenden3(step,step2); }, 80);
  }
  else
  { 
    window.setTimeout(function () { ueberblenden(); }, 4000);
  }
  
}
