function GetImg(i,pid) {
    var img = document.getElementById("pic");
    var img_a = document.getElementById("pic_a");
    img.src = "Attachments/Image/" + pid + "/l" + i + ".jpg";
    img_a.href = "Attachments/Image/"+pid+"/" + i + ".jpg"
  }