function mailru(){
d=document;a='';a+=';r='+escape(d.referrer);js=10;
if(navigator){if(navigator.javaEnabled()){a+=';j='+navigator.javaEnabled();js=11;}}
if(screen){s=screen;a+=';s='+s.width+'*'+s.height;a+=';d='+(s.colorDepth?s.colorDepth:s.pixelDepth);js=12;}
js=13;
d.write('<img src="http://top.list.ru/counter?id=81187;js='+js+a+';rand='+Math.random()+'" height=1 width=1>');
}
function ya_poisk(zapros){
var yandex_ad_fontSize = 0.8;
var yandex_direct_showType = 1;
var yandex_direct_fontColor = '000000';
var yandex_direct_BorderColor = 'FFFFFF';
var yandex_direct_BgColor = 'FFFFFF';
var yandex_direct_headerBgColor = 'FFFFFF';
var yandex_direct_titleColor = '00008b';
var yandex_direct_siteurlColor = '000000';
var yandex_direct_linkColor = '444444';
function yandex_direct_print(){ }
var yandex_r = Math.round(Math.random() * 100000);
document.write('<sc'+'ript type="text/javascript" src="http://an.yandex.ru/code/35364?rnd=' + yandex_r + '&text='+zapros+'&page-no=1"></'+'sc'+'ript>');
}
function ya_price(){
document.write('<div style="width:750px;text-align:center;font-size:10pt;margin:10 0 20 0">')
yandex_partner_id = 35363;
yandex_stat_id = 4;
yandex_site_bg_color = 'FFFFFF';
yandex_site_charset = 'windows-1251';
yandex_ad_format = 'direct';
yandex_font_size = 0.8;
yandex_direct_type = 'horizontal';
yandex_direct_border_type = 'ad';
yandex_direct_limit = 3;
yandex_direct_bg_color = 'ffffff';
yandex_direct_border_color = '336699';
yandex_direct_header_bg_color = 'ffffff';
yandex_direct_title_color = '336699';
yandex_direct_url_color = '003366';
yandex_direct_all_color = '555555';
yandex_direct_text_color = '000000';
yandex_direct_hover_color = '0066FF';
document.write('<sc'+'ript type="text/javascript" src="http://an.yandex.ru/resource/context.js?rnd=' + Math.round(Math.random() * 100000) + '"></sc'+'ript>');
document.write('</div>')
}
function ya_prep(){
document.write('<div style="width:750px;text-align:center;font-size:10pt;margin:10 0 20 0">')
yandex_partner_id = 35363;
yandex_stat_id = 1;
yandex_site_bg_color = 'FFFFFF';
yandex_site_charset = 'windows-1251';
yandex_ad_format = 'direct';
yandex_font_size = 0.9;
yandex_direct_type = 'horizontal';
yandex_direct_border_type = 'ad';
yandex_direct_limit = 3;
yandex_direct_bg_color = 'ffffff';
yandex_direct_border_color = '336699';
yandex_direct_header_bg_color = 'ffffff';
yandex_direct_title_color = '336699';
yandex_direct_url_color = '003366';
yandex_direct_all_color = '555555';
yandex_direct_text_color = '000000';
yandex_direct_hover_color = '0066FF';
yandex_direct_favicon = true;
document.write('<sc'+'ript type="text/javascript" src="http://an.yandex.ru/resource/context.js?rnd=' + Math.round(Math.random() * 100000) + '"></sc'+'ript>');
document.write('</div>')
}
function rmbn(){
var userid = 165085;var page = 1;var rndnum = Math.round(Math.random() * 10000);
document.write('<center><A HREF="http://ad.rmbn.bb.ru/bb.cgi?cmd=go&pubid=' + userid + '&pg=' + page + '&vbn=112&num=1&w=468&h=60&nocache=' + rndnum + '" target="_top">');
document.write('<IMG SRC="http://ad.rmbn.bb.ru/bb.cgi?cmd=ad&pubid=' + userid + '&pg=' + page + '&vbn=112&num=1&w=468&h=60&nocache=' + rndnum + '" width=468 height=60 Alt="Russian Medical Banner Network" border=0></A><BR></center>');
document.write('<center><A HREF="http://www.rusmedserv.com" target = "_top" style="font-size:9px">Russian Medical Banner Network</A></center>');
}
function topmen(){
document.write('<hr><table width="100%" bgcolor=#f5f5f5 cellspacing=0 cellpadding=3 border=0><tr><td align=middle>'+
'<A target=_top href="/index.htm">[Главная/Поиск]</A> <A href="/main0.shtml">[Производители]</A> '+ 
'<A href="/main1.shtml">[Москва]</A> <A href="/main2.shtml">[С-Пб]</A> <A href="/main3.shtml">[Другие]</A> '+
'<A href="/cgi-bin/obsch/zero.pl">[Общий]</a> <A href="/za/za.shtml">[Заявки]</A> <A href="/prep/prep.shtml">[Выборка]</A>'+ 
'</td></tr></table><hr>');
}
function loadmen(){if(document.referrer){if(document.referrer.indexOf("sgg")==-1){v=document.location.href.substring(22);vv=v.split(".");document.location.href="/index.htm?"+v;}}
}
function f(adr){document.write("<a href='mailto:"+adr.replace(/!/g,"@")+"?subj=From_www.med.sgg.ru' class=adr>[Email]</a> ");
}
var b2bctb_,b2bctb_rand;
function b2b_poisk(sw,kvo)
{
if(typeof(b2bctb_) == 'undefined') b2bctb_ = new Array();
 b2bctb_rand = parseInt(100000000 * Math.random());
b2bctb_[b2bctb_rand] = new Array();
b2bctb_[b2bctb_rand].type = 1;
b2bctb_[b2bctb_rand].w = '100%';
b2bctb_[b2bctb_rand].direction = 2;
b2bctb_[b2bctb_rand].count = kvo;
b2bctb_[b2bctb_rand].background = 'FFFFFF';
b2bctb_[b2bctb_rand].pre_header_location = '6';
b2bctb_[b2bctb_rand].pre_header_background = 'white';
b2bctb_[b2bctb_rand].pre_header_family = 'arial';
b2bctb_[b2bctb_rand].pre_header_size = '10';
b2bctb_[b2bctb_rand].pre_header_weight = 'normal';
b2bctb_[b2bctb_rand].pre_header_color = '999999';
b2bctb_[b2bctb_rand].elem_spacing = '5px';
b2bctb_[b2bctb_rand].elem_background = 'FFFFFF';
b2bctb_[b2bctb_rand].elem_border = '1px solid #006699';
b2bctb_[b2bctb_rand].header_family = 'arial';
b2bctb_[b2bctb_rand].header_size = '14';
b2bctb_[b2bctb_rand].header_weight = 'bold';
b2bctb_[b2bctb_rand].header_color = '993300';
b2bctb_[b2bctb_rand].header_hover_color = 'FF3300';
b2bctb_[b2bctb_rand].header_line_h = '1';
b2bctb_[b2bctb_rand].text_family = 'arial';
b2bctb_[b2bctb_rand].text_size = '12';
b2bctb_[b2bctb_rand].text_weight = 'normal';
b2bctb_[b2bctb_rand].text_color = '000000';
b2bctb_[b2bctb_rand].text_line_h = '1.2';
b2bctb_[b2bctb_rand].url_family = 'arial';
b2bctb_[b2bctb_rand].url_size = '10';
b2bctb_[b2bctb_rand].url_weight = 'normal';
b2bctb_[b2bctb_rand].url_color = '003399';
b2bctb_[b2bctb_rand].links_family = 'arial';
b2bctb_[b2bctb_rand].links_size = '10';
b2bctb_[b2bctb_rand].links_weight = 'normal';
b2bctb_[b2bctb_rand].links_color = '003399';
b2bctb_[b2bctb_rand].favicon = 1;
var cod='<scr' + 'ipt type="text/javascript" src="http://b2bcontext.ru/services/advertisement/getblock?only_word='+sw+'&id=' + b2bctb_rand + '"></scr' + 'ipt>'
document.write (cod);
}
