<!--

var butt1a=new Image(); butt1a.src='/img/bull_3.gif';

function show(a){
a.style.visibility='visible';
}
function hide(a){
a.style.visibility='hidden';
}

function loadpic(foto,wdth,hght) {
  size = "top=10,left=10, width=" + loadpic.arguments[1] + ", height=380 width=700,toolbar=no,status=no,fullscreen=no,";
  var aboutwindow = window.open("","ampliacion", size);
  aboutwindow.document.open();
  aboutwindow.document.write("<TITLE>Схема проезда</TITLE>");
  aboutwindow.document.write('<BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0" bottonmargin="0" marginwidth="0" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" marginheight="0" onload="window.focus()"><table align=center width=100% height=100% ><tr><td valign=middle><center><img src="'+foto+'" width="'+wdth+'" height="'+hght+'" border="0"></center></td></tr><tr><td><center><input type="button" onClick="window.close(self)" value="Закрыть окно"></td></tr></table></BODY>');
  aboutwindow.document.close();
}

function loadpickremlin(foto,wdth,hght) {
  size = "top=10,left=10, width=" + loadpickremlin.arguments[1] + ", height=520 width=680,toolbar=no,status=no,fullscreen=no,";
  var aboutwindow = window.open("","ampliacion", size);
  aboutwindow.document.open();
  aboutwindow.document.write("<TITLE>Кремль - Кутафья башня</TITLE>");
  aboutwindow.document.write('<BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0" bottonmargin="0" marginwidth="0" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" marginheight="0" onload="window.focus()"><table align=center width=100% height=100% ><tr><td valign=middle><center><img src="'+foto+'" width="'+wdth+'" height="'+hght+'" border="1"></center></td></tr><tr><td><center><input type="button" onClick="window.close(self)" value="Закрыть окно"></td></tr></table></BODY>');
  aboutwindow.document.close();
}

function blast(url)
	{
		windowName = ""
		properties_V = "width=687,"
			+ "height=780,"
			+ "location=0,"
			+ "menubar=0,"
			+ "resizable=0,"
			+ "scrollbars=1,"
			+ "status=0,"
			+ "titlebar=0,"
			+ "toolbar=0,"
			+ "hotkeys=0,"
			+ "screenx=100,"
			+ "screeny=10,"
			+ "left=100,"
			+ "top=10";
		newWindow = open(url, windowName, properties_V);
		newWindow.focus();
		return;
	}
	
	function blastex(url)
	{
		windowName = ""
		properties_V = "width=500,"
			+ "height=500,"
			+ "location=0,"
			+ "menubar=0,"
			+ "resizable=0,"
			+ "scrollbars=1,"
			+ "status=0,"
			+ "titlebar=0,"
			+ "toolbar=0,"
			+ "hotkeys=0,"
			+ "screenx=100,"
			+ "screeny=10,"
			+ "left=100,"
			+ "top=10";
		newWindow = open(url, windowName, properties_V);
		newWindow.focus();
		return;
	}
	
	function blastexm(url)
	{
		windowName = ""
		properties_V = "width=741,"
			+ "height=700,"
			+ "location=0,"
			+ "menubar=0,"
			+ "resizable=0,"
			+ "scrollbars=0,"
			+ "status=0,"
			+ "titlebar=0,"
			+ "toolbar=0,"
			+ "hotkeys=0,"
			+ "screenx=100,"
			+ "screeny=10,"
			+ "left=10,"
			+ "top=10";
		newWindow = open(url, windowName, properties_V);
		newWindow.focus();
		return;
	}

	function loadpiccommon(foto,wdth,hght) {
  size = "top=10,left=10, width=" + (loadpiccommon.arguments[1]+20) + ", height=" + (loadpiccommon.arguments[2]+100) + ", toolbar=no,status=no,fullscreen=no,";
  var aboutwindow = window.open("","ampliacion", size);
  aboutwindow.document.open();
  aboutwindow.document.write("<head><TITLE>"+loadpiccommon.arguments[3]+"</TITLE><link rel=stylesheet type=text/css href='/abmnu.css'></head>");
  aboutwindow.document.write('<BODY bgcolor="#FFFFFF" background="/img/background.gif" leftmargin="0" topmargin="0" bottonmargin="0" marginwidth="0" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" marginheight="0" onload="window.focus()"><table align=center width=100% height=100% ><tr><td valign=middle><br><h3 class="popup">'+loadpiccommon.arguments[3]+'</h3><p></p><center><img src="'+foto+'" width="'+wdth+'" height="'+hght+'" border="1"></center></td></tr><tr><td><center><input type="button" onClick="window.close(self)" value="Закрыть окно"></td></tr></table></BODY>');
  aboutwindow.document.close();
}

function printit(){  
if (NS) {
    window.print() ;  
} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);
	//Use a 1 vs. a 2 for a prompting dialog box 
	//WebBrowser1.outerHTML = "";  
}
}
