function WinBig(pict,wid,hei) {
	if (document.all) { var xMax = window.screen.availWidth, yMax = window.screen.availHeight; cur="style.cursor=\'hand\'"	}
	else { var xMax = window.outerWidth, yMax = window.outerHeight; cur="style.cursor=\'pointer\'" }
	var xOffset = (xMax - wid)/2, yOffset = (yMax - hei)/2;
	var ccc = '<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"><td align="center" valign="middle"><img src="' + pict + '" border="0" width=' + wid + ' height=' + hei + ' onmouseover="'+cur+'" onClick="window.close()" alt="Закрыть окно"></td></table>'; 
	var wwww = "width="+wid+", height="+hei+", top=" + yOffset + ", left=" + xOffset + " scrollbars=no, resizable=no, menubar=no, location=no, status=no, toolbar=no"; 
	var bigFrame = open("", "BigPict", wwww);
	bigFrame.document.write('<html><head><title></title></head><body bgcolor="#000000" leftmargin="0" topmargin="0">'+ccc+'</body></html>');
}

function WinMap() {
	if (document.all) { var xMax = window.screen.availWidth, yMax = window.screen.availHeight; cur="style.cursor=\'hand\'"	}
	else { var xMax = window.outerWidth, yMax = window.outerHeight; cur="style.cursor=\'pointer\'" }
	var xOffset = (xMax - 580)/2, yOffset = (yMax - 350)/2;
	var ccc = '<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"><td align="center" valign="middle"><iframe width=580 height=350 frameborder=0 scrolling=no marginheight=0 marginwidth=0 src=\"http://maps.google.ru/maps?f=q&amp;hl=ru&amp;geocode=&amp;q=%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0,+%D1%83%D0%BB.+%D0%91%D1%83%D1%82%D0%BB%D0%B5%D1%80%D0%BE%D0%B2%D0%B0,+17%D0%91&amp;sll=55.354135,40.297852&amp;sspn=23.158484,54.140625&amp;ie=UTF8&amp;ll=55.654444,37.544231&amp;spn=0.011139,0.026436&amp;z=14&amp;iwloc=addr&amp;output=embed&amp;s=AARTsJqKDFFBrhn0HY1ptIOcW2dA80DtMA\"></iframe><br /><small><a href=\"http://maps.google.ru/maps?f=q&amp;hl=ru&amp;geocode=&amp;q=%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0,+%D1%83%D0%BB.+%D0%91%D1%83%D1%82%D0%BB%D0%B5%D1%80%D0%BE%D0%B2%D0%B0,+17%D0%91&amp;sll=55.354135,40.297852&amp;sspn=23.158484,54.140625&amp;ie=UTF8&amp;ll=55.654444,37.544231&amp;spn=0.011139,0.026436&amp;z=14&amp;iwloc=addr&amp;source=embed\" style=\"color:#0000FF;text-align:left\">Просмотреть увеличенную карту</a></small></td></table>'; 
	var wwww = "width="+580+", height="+350+", top=" + yOffset + ", left=" + xOffset + " scrollbars=no, resizable=no, menubar=no, location=no, status=no, toolbar=no"; 
	var bigFrame = open("", "BigPict", wwww);
	bigFrame.document.write('<html><head><title>Схема проезда в Издательство «Флинта»</title></head><body bgcolor="#000000" leftmargin="0" topmargin="0">'+ccc+'</body></html>');
}
