function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i function OpenWindow(url,x,y) { window.status=""; strFeatures= "top=100, left=100, width="+x+", height="+y+", scrollbars=yes, toolbar=no,"+" menubar=no, location=no, directories=no"; objNewWindow=window.open(url, "MyWin", strFeatures); window.status="Opened a new browser window."; } function show_img(img,img_width,img_height) { var wnd=window.open('', '',"width="+img_width+",height="+img_height+",scrollbars=no,resizable=no,left=20,top=20,menubar=no,location=no,directories=no"); wnd.document.write('Изображение
Закрыть окно
'); }