Hey, I want to have <img src="asdf.jpg" alt="asdf">, but I can't generate an alt tag for some odd reason. Here is my code which is fairly simple, but I just can't figure out why it won't display (wont even generate the tag). Code I'm having trouble with is in bold.

function galleryWidget () {
// Set variable to 0 and begin blog counting
var image = 0;
if (image < 3)
var i = image;
while (i < 3) {
// Access standard entries
project=xmlDoc.getElementsByTagName("project")[i];

// Grab blog values
description=project.getElementsByTagName("description")[0].childNodes[0].nodeValue;
thumbnail=project.getElementsByTagName("thumbnail2")[0].childNodes[0].nodeValue;

// Organize blog values
descriptionDisplay="alt=" + description;
thumbnailDisplay="<img src=" + thumbnail + descriptionDisplay + " />";


// Display blog values
document.write(thumbnailDisplay);
i++;
}
}