  /* Функция скрытия или открытия блока */
function showDiv(n)
{
  var el1=document.getElementById('blck'+n);
  if (el1.style.display!='block')
    el1.style.display = 'block'
  else {el1.style.display = '';}
}

  /* Функция открытия окна с большим рисунком */
function ShowImgWindow(src, width, height)
			{
				obj = window.open("", "", "scrollbars=0,dialog=0,minimizable=1,modal=1,width="+width+",height="+height+",resizable=0");
				obj.document.write("<body style='margin:0; padding:0;' onblur=\"window.close();\">");
				obj.document.write("<img src=\""+src+"\" />");
				obj.document.write("</body>");
			}
//copyring
				var bbb=1;
				function rf(){ return false }    
				if(document.layers || (window.captureEvents && !(document.all))){
				  document.captureEvents(Event.MOUSEDOWN);
				  document.onmousedown=rf;
				  self.blur
				  bbb=2;
				  }
				else if (window.captureEvents){
				  document.write("<input type=Text style='visibility:hidden;position:absolute' id=ht onblur='this.focus()'>"); 
				  ht.focus();     
				}
				else if(document.all)
				  document.onselectstart=rf;  
				
				document.oncontextmenu=rf;