

var p;
function showimg(u,wd,hg)
                                        {
                                                s = window.open('','Pic','toolbar=no,location=no,directoties=no,status=no,scrollbars=no,menubar=no,resizable=yes,top=20, left=20,width='+(wd+16)+',height='+(hg+16));
                                                s.document.open();
                                                s.document.writeln('<html><head><title>photo</title></head><body bgcolor=ffffff onload="window.self.focus();return true;" leftMargin="0" topMargin="0" marginheight="0" marginwidth="0"><table cellcpacing=0 cellpadding=5 border=0 width=100% height=100%><tr><td align=center><a href=javascript:window.close()><img src="' + u + '" border="0" width="' + wd + '" height="' + hg + '" alt="close"></a></td></tr></table></body></html>');
                                                s.document.close();
                                                s.focus();
                                        }
function podpiska(url) {
  myWin= open(url, "",
    "height=532, width=469,status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=no");
}

var p;
function showimg(u,wd,hg)
                                        {
                                                s = window.open('','Pic','toolbar=no,location=no,directoties=no,status=no,scrollbars=no,menubar=no,resizable=yes,top=20, left=20,width='+(wd+16)+',height='+(hg+16));
                                                s.document.open();
                                                s.document.writeln('<html><head><title>photo</title></head><body bgcolor=ffffff onload="window.self.focus();return true;" leftMargin="0" topMargin="0" marginheight="0" marginwidth="0"><table cellcpacing=0 cellpadding=5 border=0 width=100% height=100%><tr><td align=center><a href=javascript:window.close()><img src="' + u + '" border="0" width="' + wd + '" height="' + hg + '" alt="close"></a></td></tr></table></body></html>');
                                                s.document.close();
                                                s.focus();
                                        }
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

// появляющееся меню

function menuOn() {
		var smenu = document.getElementById('submenu');
		smenu.style.display = "block";
	}