var sliderwidth = 160; // Breite des Sliders
var sliderheight = 370; // Höhe des Sliders
var slidespeed = 1; // Geschwindigkeit des Sliders
var leftrightslide = new Array();
var copyspeed = slidespeed;
var i = 0;

/* HIER DIE LINKS UND BILDER ANPASSEN*/
leftrightslide[i++] = '<div><a href="http://www.presslerinvestments.com" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_pressler.gif" alt="Pressler Investments"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.karlgross.de" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_karlgross.gif" height="55px" width="155px"  alt="Karl Gross Internationale Spedition GmbH"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.roedl.com" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_roedl.gif" height="55px" width="155px"  alt="R&ouml;dl &amp; Partner Internationale Anwaltssoziet&auml;t"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.sdv.com" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_sdv.gif" height="55px" width="155px" alt="SDV Geis Logistics"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.trina-thai.com" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_trina.gif"  height="55px" width="155px"  alt="Trina Thailand"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.vietnam-german-know-how.com" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_vgkn.gif"  height="55px" width="155px" alt="Vietnam-German Know-how Company"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.ariadne-immobilien.de" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_ariadne.gif"  height="55px" width="155px" alt="Ariadne Immobilien"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.logwin-logistics.com" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_logwin.gif"  height="55px" width="155px" alt="Logwin Logistics"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.exyne.com/en/index.htm" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_wasser.gif"  height="55px" width="155px" alt="exYne GmbH - Elektronik für die Industrie"></a></div>';
leftrightslide[i++] = '<div><a href="http://www.alphacargo.de" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_alpha.gif"  height="55px" width="155px" alt="Alpha Express & Kuriersystem GmbH "></a></div>';
leftrightslide[i++] = '<div><a href="http://www.bayern-international.de/aktiv-in-bayern/key-technologies-in-bavaria.html" target="_blank">'+
                      '<img  class="banner" src="../../images/banner/banner_bayern.gif"  height="55px" width="155px" alt="Bayern International"></a></div>';
					
					  
/*  ORIGINAL VERSION
//leftrightslide = leftrightslide.join("");
//var iedom = document.all || document.getElementById;
//if (iedom)
	document.write('<span id="temp" style="visibility:hidden;position:absolute;left:-100px;top:-3000px">' + leftrightslide + '</span>');
//var actualheight = '';
//var cross_slide, ns_slide;
*/							  
					  
/* AB HIER NICHTS MEHR ÄNDERN */
leftrightslide = leftrightslide.join("");
var iedom = document.all || document.getElementById;
if (iedom)
	document.write('<span id="temp" style="visibility:hidden;position:absolute;">' + leftrightslide + '</span>');
var actualheight = '';
var cross_slide, ns_slide;

//**********************************************************************************************
function bannerkunden(){
	if (iedom){
		cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2;
		cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3;
		cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide;
		actualheight=document.all? cross_slide.offsetHeight : document.getElementById("temp").offsetHeight;
		cross_slide2.style.top=actualheight+20+"px";
	}
	else if (document.layers){
		ns_slide=document.ns_slidemenu.document.ns_slidemenu2;
		ns_slide2=document.ns_slidemenu.document.ns_slidemenu3;
		ns_slide.document.write(leftrightslide);
		ns_slide.document.close();
		actualheight=ns_slide.document.height;
		ns_slide2.top=actualheight+20;
		ns_slide2.document.write(leftrightslide);
		ns_slide2.document.close();
	}
    lefttime=setInterval("slidedown()",60);     // Geschwindigkeit 60 ist halb so schnell wie 30
}

//**********************************************************************************************
function slidedown(){
	if (iedom){
		if (parseInt(cross_slide.style.top)<(actualheight-8))
			cross_slide.style.top=parseInt(cross_slide.style.top)+copyspeed+"px";
		else
			cross_slide.style.top=parseInt(cross_slide2.style.top)-actualheight+"px";

		if (parseInt(cross_slide2.style.top)<(actualheight-8))
			cross_slide2.style.top=parseInt(cross_slide2.style.top)+copyspeed+"px";
		else
			cross_slide2.style.top=parseInt(cross_slide.style.top)-actualheight+"px";
	}
	else if (document.layers){
		if (ns_slide.top>(actualheight*(-1)+8))
			ns_slide.top-=copyspeed;
		else
			ns_slide.top=ns_slide2.top+actualheight;

		if (ns_slide2.top>(actualheight*(-1)+8))
			ns_slide2.top=copyspeed;
		else
			ns_slide2.top=ns_slide.top+actualheight;
	}
}

//**********************************************************************************************

if (iedom||document.layers){
	with (document){
	    document.write('<div id="rechtsbanner">');
		document.write('<table border="0" cellspacing="0" cellpadding="0"><td>');
		if (iedom){
			document.write('<div style="position:relative; width:' + sliderwidth + 'px;height:' + sliderheight + 'px;overflow:hidden;">');
			document.write('<div style="position:absolute; width:' + sliderwidth + 'px; height:' + sliderheight + 'px; "onmouseover="copyspeed=0" onmouseout="copyspeed=slidespeed">');
			document.write('<div id="test2" style="position:absolute; left:0px; top:0px;"></div>');
			document.write('<div id="test3" style="position:absolute; top:-1000px; left:0px;"></div>');
			document.write('</div></div>');
	}
		else if (document.layers){
			document.write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>');
			document.write('<layer name="ns_slidemenu2" left=0 top=0 "onmouseover="copyspeed=0" onmouseout="copyspeed=slidespeed"></layer>');
			document.write('<layer name="ns_slidemenu3" left=0 top=0 "onmouseover="copyspeed=0" onmouseout="copyspeed=slidespeed"></layer>');
			document.write('</ilayer>');
		}
		document.write('</td></table>');
		document.write ('</div>');
	}
}

//**********************************************************************************************