document.writeln("<script language=javascript src=\"images.js\"></script>");

function picture(fn,aln) {

p_style = "margin-top:14px; margin-bottom:";

switch(aln) {
case "r": p_align = "right"; p_style += "6px; margin-left:14px; "; break;
case "l": p_align = "left"; p_style += "6px; margin-right:14px; "; break;
case "c": p_align = "center"; p_style += "12px;"; break;
}

x=0; while(images[x]!=fn) x+=4;
width = images[x+1]; height = images[x+2];

if(fn.indexOf("=")+1) fn = "../" + fn.substring(0,fn.indexOf("=")) + "/img/" + fn.substring(fn.indexOf("=")+1);
else fn = "img/" + fn;

rpx = "<table cellspacing=0 cellpadding=0 align=" + p_align + " style=\"" + p_style + "\">"
+ "<tr><td><table cellpadding=0 cellspacing=1 bgcolor=black style=\"margin-bottom:6px\">"
+ "<tr><td bgcolor=white background=\"" + fn + ".jpg\" width="
+ width + " height=" + height + "><img src=\"../picture.gif\" width="
+ width + " height=" + height + "></td></tr></table></td></tr>";

if(images[x+3]) rpx += ("<tr><td align=center width=" + (width+2)
+ " style=\"font-size:9pt; font-family:Times New Roman;\">" + images[x+3] + "</td></tr>");

rpx += "</table>";

document.writeln(rpx);

}
