document.writeln("<script type=\"text\/javascript\">");
document.writeln("var dynimages=new Array()");
document.writeln("dynimages[0]=[\"pic\/d1.jpg\", \"#\"]");
document.writeln("dynimages[1]=[\"pic\/d2.jpg\", \"#\"]");
document.writeln("dynimages[2]=[\"pic\/d3.jpg\", \"#\"]");
document.writeln("dynimages[3]=[\"pic\/d4.jpg\", \"#\"]");
document.writeln("dynimages[4]=[\"pic\/d5.jpg\", \"#\"]");
document.writeln("dynimages[5]=[\"pic\/d6.jpg\", \"#\"]");
document.writeln("dynimages[6]=[\"pic\/d7.jpg\", \"\"]");
document.writeln("dynimages[7]=[\"pic\/d8.jpg\", \"\"]");
document.writeln("dynimages[8]=[\"pic\/d9.jpg\", \"\"]");
document.writeln("dynimages[9]=[\"pic\/d10.jpg\", \"\"]");
document.writeln("dynimages[10]=[\"pic\/d11.jpg\", \"\"]");
document.writeln("dynimages[11]=[\"pic\/d12.jpg\", \"\"]");
document.writeln("");
document.writeln("var preloadimg=\"no\"");
document.writeln("");
document.writeln("var optlinktarget=\"\"");
document.writeln("");
document.writeln("var imgborderwidth=0");
document.writeln("");
document.writeln("var filterstring=\"progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=0.7)\"");
document.writeln("");
document.writeln("if (preloadimg==\"yes\"){");
document.writeln("for (x=0; x<dynimages.length; x++){");
document.writeln("var myimage=new Image()");
document.writeln("myimage.src=dynimages[x][0]");
document.writeln("}");
document.writeln("}");
document.writeln("");
document.writeln("function returnimgcode(theimg){");
document.writeln("var imghtml=\"\"");
document.writeln("if (theimg[1]!=\"\")");
document.writeln("imghtml=\'<a href=\"\'+theimg[1]+\'\" target=\"\'+optlinktarget+\'\">\'");
document.writeln("imghtml+=\'<img src=\"\'+theimg[0]+\'\" border=\"\'+imgborderwidth+\'\">\'");
document.writeln("if (theimg[1]!=\"\")");
document.writeln("imghtml+=\'<\/a>\'");
document.writeln("return imghtml");
document.writeln("}");
document.writeln("");
document.writeln("function modifyimage(loadarea, imgindex){");
document.writeln("if (document.getElementById){");
document.writeln("var imgobj=document.getElementById(loadarea)");
document.writeln("if (imgobj.filters && window.createPopup){");
document.writeln("imgobj.style.filter=filterstring");
document.writeln("imgobj.filters[0].Apply()");
document.writeln("}");
document.writeln("imgobj.innerHTML=returnimgcode(dynimages[imgindex])");

document.writeln("imgobj.filters[0].Play()");
document.writeln("return false");
document.writeln("}");
document.writeln("}");
document.writeln("");
document.writeln("<\/script>");