<!--
function newWin(nameImg,width,height)
        {
                win=open("","","width="+width+"px ,height="+height+"px");
                win.document.write('<html><head><title>Увеличенное изображение</title><meta HTTP-EQUIV="Content-Type" content="text/html; charset=windows-1251"></head><body bgcolor="#ffffff" marginheight=0 marginwidth=0 topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 >');
                win.document.write('<table cellpadding=0 cellspacing=0 border=0><tr><td><img src="'+nameImg+'" style="cursor:hand;" onclick="window.close();" alt="Закрыть окно"></td></tr></table></body></html>');
                
        }

function openWindow(url, w, h) {                        
        window.open(url,"_blank","width="+w+",height="+h+",scrollbars=1,resizable=1,menubar=0,toolbar=0");
}

function getGIS(s) {
        var a = new Array();
        a=s.split("-");
//        openWindow("http://gis.bn.ru/wmap_asp/main4.asp?lay="+a[0]+"&id="+a[1],500,500);
	openWindow("http://www.emls.ru/spb/term/admin/mapg/adresonmap.phtml?lay="+a[0]+"&id="+a[1],500,500);
};
//-->
