
function fullImage(object) {

 lastIndex=object.getAttribute('src').lastIndexOf('/');
 dot=object.getAttribute('src').lastIndexOf('.');
 secondImNumber=object.getAttribute('src').substring(lastIndex,dot);
 extention=object.getAttribute('src').substr(dot);
 resultName=object.getAttribute('src').substring(0,lastIndex)+secondImNumber+'a'+extention;
  browserWidth=document.body.clientWidth;
 browserHeight=document.body.clientHeight;
  fullImageLoad = window.open('','fullImage','width=700,height=600,titlebar=no,scrollbars=no,toolbar=no,status=,location=no,menubar=no');
 

 fullImageLoad.document.write("<html><title></title><body onclick='self.close()' style='color:#c9daea;margin:0px;background:#c9daea;font-weight:bold;'><table cellpadding=0 cellspacing=0 id='second' style='width:100%;height:100%;vertical-align:middle;text-align:center;'><tr style='width:100%;height:100%;vertical-align:middle;'><td style='width:100%;height:100%;vertical-align:middle;'><span style='position:absolute;z-index:-1;top:220px;left:220px;color:black;'>Загрузка...</span><img id='secondImg' src='",resultName,"'></td></tr></table></body>");
 


 fullImageLoad.moveTo((browserWidth-400)/2,browserHeight/4);

}