wname = 1; function cmfshowpic(image,title) { w = 400; h = 300; params = "'toolbar=no,location=no,directories=no,menubar=no,resizable=1,width=" + w +",height=" + h; if(document.all) params += ",left=175,top=200'"; else params += ",screenX=175,screenY=200'"; d = new Date(); winname = d.getTime(); winname = window.open("",wname,params); winname.document.open(); winname.document.writeln ("" + title + ""); winname.document.writeln ("
"); winname.document.writeln (""); winname.document.writeln ("
"); if(pic.arguments[2]){ winname.document.writeln ("" + pic.arguments[2] + "
"); } winname.document.writeln ("
close window
"); winname.document.writeln (""); winname.document.writeln (""); winname.document.close(); winname.focus(); setTimeout('resizeWindow()',500); } function resizeWindow() { if (document.images) { if (winname.document.images.length!=0) { if (document.layers) winname.resizeTo(winname.document.images[0].width+20,winname.document.images[0].height+75) else if (document.all) winname.resizeTo(winname.document.images[0].width+30,winname.document.images[0].height+75) else if (document.getElementById) winname.resizeTo(winname.document.images[0].width+40,winname.document.images[0].height+85) } else setTimeout('resizeWindow()',1000); } }