Hi Pat,
ja also nach Deiner Befehlsfolge wird als HTML-Code
<img src=bild>
Aber das ist wohl nicht Deine Absicht. Sondern vielmehr willst Du ja den Inhalt der Variable Bild. Deshalb ändere mal Deine zweite Zeile in:
document.write("<img src="+bild+">");