function getArtistInfo(pic, name, infofile) {
  $.get("/templates/artistinfo.php", { "pic": pic, "name": name, "if": infofile  },
        function(data) { 
		  document.getElementById("artistinfo").innerHTML=data; 
          $("a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
		});
}


