Hi Waghuldey,
Since you want to apply the webcam plugin to the pnlCamera and display captured image in pnlCaptured in image control you have to modify the below lines.
jQuery("#webcam").webcam({
with
jQuery("#pnlCamera").webcam({
and
$("[id*=imgCapture]").css("visibility", "visible");
$("[id*=imgCapture]").attr("src", r.d);
with
$("[id*=img1]").attr("src", r.d);