It just uses commas by the looks so if you replace that comma with an image, youare away laughing.I have marked them in blue, note you can omit the surrounding font tags too..
if (ns4up) {
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"1\" "

;
document.write("top=\"1\" visibility=\"show\"><font color=\"blue\">"

;
document.write("
,</font></layer>"

;
}
else {
document.write("<layer name=\"dot"+ i +"\" left=\"1\" "

;
document.write("top=\"1\" visibility=\"show\"><font color=\"blue\">"

;
document.write("
,</font></layer>"

;
}
}
else
if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "

;
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "

;
document.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">"

;
document.write("
,</font></div>"

;
}
else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "

;
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "

;
document.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">"

;
document.write("
,</font></div>"

;
}
}
}
"Alright whatever man, I'll hook up the hair, but I aint touchin the ring...Cause I'm still a pla--yer"