function go_pic(pic_url, pic_width, pic_height, alt_text)
{
	var params = 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, copyhistory=0, width=' + pic_width + ', height=' + pic_height;
	foto = window.open('', '', params);
	foto.document.write("<html><head><title>" + alt_text + "</title></head><body bgcolor='#FFFFFF' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><table width=100% height=100% border='0' cellspacing='0' cellpadding='0'><tr><td align=center valign=center><img src='" + pic_url + "'  onclick='window.close(); opener.focus()' alt='" + alt_text + "'></td></tr></table></body></html>");
	foto.focus();


}

function go_pic_print(pic_url, pic_width, pic_height, alt_text)
{
	var params = 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, copyhistory=0, width=' + pic_width + ', height=' + pic_height;
	foto = window.open('', '', params);
	foto.document.write("<html><head><title>" + alt_text + "</title></head><body bgcolor='#FFFFFF' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><table width=100% height=100% border='0' cellspacing='0' cellpadding='0'><tr><td align=center valign=center><img src='" + pic_url + "'  onclick='window.close(); opener.focus()' alt='" + alt_text + "'></td></tr></table></body></html>");
	foto.focus();
	foto.window.print();
}

function OnCopy(te)
{
if (te!="Контакты")
{
	var TextMessage = "Копирование любой информации и изображений, несанкционированное воспроизведение всего или любой части ресурса www.ANTIvor.ru запрещается. (С) АНТИвор - Комплексные системы безопасности. Все Права Защищены.";
	window.event.returnValue=false;
	alert(TextMessage);
}
}
function send_mail(adr,dom)
{
	var params = 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, copyhistory=0, width=410, height=450';
	//mail = window.open('/SendMail.aspx?adr=' + adr, 'sendmail', params);
	mail = window.open('/SendMail4.aspx?adr=' + adr + '&dom=' + dom, 'sendmail', params);
	mail.focus();
}
