	
	function showboxstart(boxi){
		Effect.Appear("boxinfo0", {duration: 1});
	}

	function showboxinfo(boxi){
		for(i=0;i<phpi;i++){
			document.getElementById("boxinfo"+i).style.display = "none";
		}
		Effect.Appear(boxi, {duration: 1});
	}
	
	function showthumbinfo (id){
		document.getElementById(id).style.display = "";
	}
	function hidethumbinfo (id){
		document.getElementById(id).style.display = "none";
	}
	
	var xpos = 0;
	var stopscroll = 0;
	var weit = 385-phpweit;
	
	function stopscroller(){
		stopscroll = 1;
	}
	
	
	function scrollleft() {
		if(xpos>weit){
			xpos = xpos-2;
			document.getElementById("teamscroller").style.marginLeft = xpos;
			document.getElementById("scrollerlinks").src = "fileadmin/images/team_links.gif";
			document.getElementById("scrollerrechts").src = "fileadmin/images/team_rechts_h.gif";
		}else{
			document.getElementById("scrollerrechts").src = "fileadmin/images/team_rechts_i.gif";
		}
		
		if (stopscroll==0){
			setTimeout("scrollleft()",10);
		}else{
			if(document.getElementById("scrollerrechts").src.indexOf("rechts_i.gif")==-1){
				document.getElementById("scrollerrechts").src = "fileadmin/images/team_rechts.gif";
			}
			stopscroll = 0;
		}
	}			
	function scrollright() {
		if(xpos<0){
			xpos = xpos+2;
			document.getElementById("teamscroller").style.marginLeft = xpos;
			document.getElementById("scrollerrechts").src = "fileadmin/images/team_rechts.gif";
			document.getElementById("scrollerlinks").src = "fileadmin/images/team_links_h.gif";
		}else{
			document.getElementById("scrollerlinks").src = "fileadmin/images/team_links_i.gif";
		}
		if (stopscroll==0){
			setTimeout("scrollright()",10);
		}else{
			if(document.getElementById("scrollerlinks").src.indexOf("links_i.gif")==-1){
				document.getElementById("scrollerlinks").src = "fileadmin/images/team_links.gif";
			}
			stopscroll = 0;
		}
	}			

