shown=''
function show_avi(url, pict, wd, ht) {
var prm = 'width=' + wd + ',height=' + ht + ',left=80,top=80' ;
msg=window.open("","msg",prm);
msg.document.write("<html><title>Просмотр avi файла</title>");
msg.document.write("<body bgcolor='white' onblur=window.close()>");
msg.document.write("<center>");
msg.document.write("<img dynsrc=\"" + url + "\" src=\"" + pict + "\" start=\"fileopen\" CONTROLS loop=\"5\" loopdelay=\"5000000\"") ;

msg.document.write("<br><br>");
msg.document.write("Просмотр фрагмента будет возможен после загрузки файла. Наберитесь терпения, это может затянуться на долго ):");
msg.document.write("</center>");
msg.document.write("</body></html>");

}