var v=parseInt(navigator.appVersion);
isNetscape=navigator.appName.indexOf('Netscape')>=0;
isExplorer=navigator.appName.indexOf('Explorer')>=0;
if (v>=3) self.focus();

function popUp(goLocation,ww,wh) {
	positionCode='';
	if (v>=4) {
		sw=screen.width; sh=screen.height;
		wbx=Math.round((sw-ww)/2); wby=Math.round((sh-wh)/2);
		if (isExplorer) positionCode='left='+wbx+',top='+wby+',';
		if (isNetscape) positionCode='screenX='+wbx+',screenY='+wby+',';
	}
	newWindow=window.open(goLocation,'','width='+ww+',height='+wh+','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=0');
	if (isNetscape && v>=3) newWindow.focus();
}


function mapView(mapURL, wdt, hgt) {
	positionCode='';
	if (v>=4) {
		sw=screen.width; sh=screen.height;
		wbx=Math.round((sw-wdt)/2); wby=Math.round((sh-hgt)/2);
		if (isExplorer) positionCode='left='+wbx+',top='+wby+',';
		if (isNetscape) positionCode='screenX='+wbx+',screenY='+wby+',';
	}

	page=window.open("",'','width='+ wdt +',height='+ hgt +','+positionCode+'toolbar=0,'+'scrollbars=0,'+'resizable=0');
	page.document.open();
pagecode = '<html><title>ÎÎÎ ÁÈÎÝÊÎËÎÃÈß</title></head><BODY STYLE="margin:0px ; padding:0px"><img src='+ mapURL +' border=0></BODY></html>';
page.document.write(pagecode);
page.document.close();
	if (isNetscape && v>=3) newWindow.focus();
}
