Here comes my code:


function addAlbum(){
var attr;
var parent;
var newelement;

/*image*/
newelement = document.createElement("img");