function swap() {
	imgNr = Math.floor( Math.random() * 4 );
	picNr = Math.ceil( Math.random() * picCnt );
	str = picNr < 10 ? "0"+picNr : picNr;
	url = "http://www.germany-electric.ru/img/front/slideshow/"+str+".jpg";

	b[imgNr].src = url;
}


function init() {
	for( i=0; i<=3; ++i ) {
		picNr = Math.ceil( Math.random() * picCnt );
		str = picNr < 10 ? "0"+picNr : picNr;
		url = "http://www.germany-electric.ru/img/front/slideshow/"+str+".jpg";
		b[i].src = url;
	}
}

