var rowSpeed = 4;var barposition = 15;var slidebar = document.getElementById('divPicRow');var imgWidth = 80;var barMin = 15;var barWidth = imgWidth * pCnt;document.getElementById('divPicRow').style.width = (barWidth + 40) + "px";var aktiv;function slideLeft(){	//document.title = barposition + " - " + barmax + "-" + slidebar.style.left;		aktiv = window.setInterval("slideRowToLeft()", rowSpeed);}function slideRowToLeft(){	//document.title = pCnt + " - " + barposition + " - " + barWidth + " - " + slidebar.style.left;	if(pCnt > 3)	{				// 240 passt bei 11 Artikeln : http://www.wttag.de/shop/product_info.php?info=p146_KML---8211--Feldanzug.html		// 260 passt bei 5 Artikeln : http://www.wttag.de/shop/product_info.php?info=p333_OBOROTEN---8211--Schneetarnanzug.html						var adj = 260 - ((pCnt - 5) * 3);				if (barposition <= -(barWidth - adj)) {			barposition = -(barWidth - adj);		} else {			barposition = barposition - 1;		}		slidebar.style.left =  barposition + 'px';  	}}function slideRight(){	//document.title = barposition + " - " + barWidth + "-" + slidebar.style.left;		aktiv = window.setInterval("slideRowToRight()", rowSpeed);}function slideRowToRight(){	//document.title = barposition + " - " + barWidth + "-" + slidebar.style.left;	if (barposition >= barMin) {		barposition = barMin;	} else {		barposition = barposition + 1;	}	slidebar.style.left =  barposition + 'px';  }function stopSlide() {	window.clearInterval(aktiv);}
