function afronden()
	{
	var pic = $(".afrondbaar");
	for (i=0;i<pic.length;i++)
		{
		breed = $(pic[i]).attr("width");
		if (breed==0) breed = $(pic[i]).attr("breed");
		//if (breed==0) {breed=320;alert('0-picture:width')}
		hoog = $(pic[i]).attr("height");
		if (hoog==0) hoog=$(pic[i]).attr("hoog");
		source = $(pic[i]).attr("src");
		$(pic[i])
			.replaceWith("<div style='position:relative;width:"+breed+"px;height:"+hoog+"px;'>"
						+"<div class='roundleft'>"
							+"<img alt='' class='lb' src='"+standaardPix+"border_tl.png'/><br/>"
							+"<img alt='' class='lo' src='"+standaardPix+"border_bl.png'/><br/>"
						+"</div>"
						+"<img alt='' src='"+source+"' width='"+breed+"' height='"+hoog+"'>"
						+"<div class='roundright'>"
							+"<img alt='' class='rb' src='"+standaardPix+"border_tr.png'/><br/>"
							+"<img alt='' class='ro' src='"+standaardPix+"border_br.png'/><br/>"
				    	+"</div>"
					+"</div>"
					);
		}
	}
