
<!--
var bigpicWin = null;
function showbigimage(description, url, picwidth, picheight)
{
  if (!bigpicWin || bigpicWin.closed)
  {
    usrwidth = screen.width;
    usrheight = screen.height;
    winwidth = picwidth+0;
    winheight = picheight+0;
    var X = (usrwidth - winwidth) / 2;
    var Y = (usrheight - winheight) / 2;
    properties = "toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width="+winwidth+",height="+winheight+",";
    checkie = navigator.appName.indexOf("icrosoft");
    if (checkie == -1)
    {
      properties = properties+"screenX="+X+",screenY="+Y;
    }
    else
    {
      properties = properties+"left="+10+",top="+10;
    }
    bigpicWin = window.open('','bigpicWin',properties);
    bigpicWin.document.open();
    bigpicWin.document.write('<html><head><TITLE>'+"Российская Марка"+'</TITLE><LINK href=img/styles.css type=text/css rel=stylesheet><meta http-equiv="imagetoolbar" content="no"></head><BODY background=img/bg_template.gif style="BACKGROUND-POSITION: right bottom;  BACKGROUND-REPEAT: no-repeat;" bgcolor=#ffffff rightmargin=0 leftMargin=0 topMargin=0 bottommargin=0 MARGINHEIGHT=0 MARGINWIDTH=0><table width=100% border=0 cellpadding=0 cellspacing=0><tr><td bgcolor=#990003 background=img/bg_title_2.gif><table width=481 border=0 cellspacing=0 cellpadding=0 align=left> <tr><td  align=left valign=top><img src=img/title_1_1_2.jpg width=61 height=80 border=0></td><td  align=left valign=top><img src=img/title_2_2.gif width=420 height=70 border=0></td></tr></table></td></tr><tr><td align=center><table width=100% border=0 cellspacing=0 cellpadding=0 align=center><tr><td><img src=img/0.gif width=20 height=61 border=0></td><td align=left width=95%><BR>');
    bigpicWin.document.write('<A HREF="JavaScript:self.close()"><P style=\"font-weight: normal\">'+description+'</P><P align=center><IMG SRC="'+url+'" HSPACE="0" VSPACE="0" BORDER="0"></A><BR><BR><BR></P>');
    bigpicWin.document.write('</td><td><img src=img/0.gif width=12 height=61 border=0></td><td width=50  valign=top><div align=right><BR><BR><A href=index.php target=_blank alt=Home><img src=img/red_home.gif width=50 height=45 border=0></a><A href=faq.html target=_blank><img src=img/red_quest.gif width=50 height=50 border=0 alt=FAQ></a><a href=mailto:info@markarus.ru><img src=img/red_email.gif width=50 height=50 border=0></a></div></td></tr></table><BR><BR><BR></td></tr></table></body></html>');
    bigpicWin.document.close()

    bigpicWin.focus();
  }
  else
  {
    bigpicWin.focus();
  }
}
//--->


<!---
var bigpicWin = null;
function showbigimage2(description, url, picwidth, picheight)
{
  if (!bigpicWin || bigpicWin.closed)
  {
    usrwidth = screen.width;
    usrheight = screen.height;
    winwidth = picwidth;
    winheight = picheight;
    var X = (usrwidth - winwidth) / 2;
    var Y = (usrheight - winheight) / 2;
    properties = "toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width="+winwidth+",height="+winheight+",";
    checkie = navigator.appName.indexOf("icrosoft");
    if (checkie == -1)
    {
      properties = properties+"screenX="+X+",screenY="+Y;
    }
    else
    {
      properties = properties+"left="+X+",top="+Y;
    }
    bigpicWin = window.open('','bigpicWin',properties);
    bigpicWin.document.open();
    bigpicWin.document.write('<html><head><TITLE>'+"Российская Марка"+'</TITLE><LINK href=../img/styles.css type=text/css rel=stylesheet><meta http-equiv="imagetoolbar" content="no"></head><BODY background=../img/bg_template.gif style="BACKGROUND-POSITION: right bottom;  BACKGROUND-REPEAT: no-repeat;" bgcolor=#ffffff rightmargin=0 leftMargin=0 topMargin=0 bottommargin=0 MARGINHEIGHT=0 MARGINWIDTH=0><table width=100% border=0 cellpadding=0 cellspacing=0><tr><td bgcolor=#990003 background=../img/bg_title_2.gif><table width=481 border=0 cellspacing=0 cellpadding=0 align=left> <tr><td  align=left valign=top><img src=../img/title_1_1_2.jpg width=61 height=80 border=0></td><td  align=left valign=top><img src=../img/title_2_2.gif width=420 height=70 border=0></td></tr></table></td></tr><tr><td align=center><table width=100% border=0 cellspacing=0 cellpadding=0 align=center><tr><td><img src=../img/0.gif width=20 height=61 border=0></td><td align=left width=95%><BR>');
    bigpicWin.document.write('<A HREF="JavaScript:self.close()"><P>'+description+'</P><P align=center><IMG SRC="'+url+'" HSPACE="0" VSPACE="0" BORDER="0"></A><BR><BR><BR></P>');
    bigpicWin.document.write('</td><td><img src=../img/0.gif width=12 height=61 border=0></td><td width=50  valign=top><div align=right><BR><BR><A href=../index.php target=_blank alt=Home><img src=../img/red_home.gif width=50 height=45 border=0></a><A href=../faq.html target=_blank><img src=../img/red_quest.gif width=50 height=50 border=0 alt=FAQ></a><a href=mailto:info@markarus.ru><img src=../img/red_email.gif width=50 height=50 border=0></a></div></td></tr></table><BR><BR><BR></td></tr></table></body></html>');
    bigpicWin.document.close()

    bigpicWin.focus();
  }
  else
  {
    bigpicWin.focus();
  }
}
//--->


    function Open_Cit(text)
    {
     var str1 = "<html><head><LINK href=img/styles.css type=text/css rel=stylesheet></head><body bgcolor=#ffffff ><table  align=center><tr><td style=FONT-WEIGHT: bold; COLOR: #dee6ee width=85% class=sm><p align=justify class=sm>";
     var str2 = "</td></tr></table></body></html>";


     pop1=window.open("","", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=yes,width=350,height=400");
     pop1.focus();
     pop1.document.write(str1);
     pop1.document.write(text);
     pop1.document.write(str2);
    }//Open_Cit
	
    function Open_Popup(picture)
    {
     var str11 = "<html><head><LINK href=img/styles.css type=text/css rel=stylesheet></head><BODY background=img/bg_template.gif style=\"BACKGROUND-POSITION: right bottom;  BACKGROUND-REPEAT: no-repeat;\" bgcolor=#ffffff rightmargin=0 leftMargin=0 topMargin=0 bottommargin=0 MARGINHEIGHT=0 MARGINWIDTH=0><table width=100% border=0 cellpadding=0 cellspacing=0><tr><td bgcolor=#990003 background=img/bg_title_2.gif><table width=481 border=0 cellspacing=0 cellpadding=0 align=left> <!-- начало таблицы шапки --><tr><td  align=left valign=top><A href=index.php><img src=img/title_1_1_2.jpg width=61 height=80 border=0></A></td><td  align=left valign=top><A href=index.php><img src=img/title_2_2.gif width=420 height=70 border=0></A></td></tr></table></td></tr><tr><td align=center><table width=100% border=0 cellspacing=0 cellpadding=0 align=center><tr><td><img src=img/0.gif width=20 height=61 border=0></td><td align=left width=95%><BR><BR>";
     var str22 = "		</td><td><img src=img/0.gif width=12 height=61 border=0></td><td width=50  valign=top><div align=right><BR><BR><A href=index.php><img src=img/red_home.gif width=50 height=45 border=0 alt=На главную></a><A href=faq.html><img src=img/red_quest.gif width=50 height=50 border=0 alt=Часто задаваемые вопросы></a><a href=mailto:info@markarus.ru><img src=img/red_email.gif width=50 height=50 border=0 alt=Написать письмо></a></div></td></tr></table><BR><BR><BR></td></tr></table></body></html>";


     pop11=window.open("","", "toolbar=no,location=no,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=yes,width=700,height=600");
     pop11.focus();
     pop11.document.write(str11);
     pop11.document.write(picture);
     pop11.document.write(str22);
    }//Open_Popup
	
	    function Open_Popup_News(news)
    {
     var str111 = "<html><head><LINK href=img/styles.css type=text/css rel=stylesheet></head><BODY background=img/bg_template.gif style=\"BACKGROUND-POSITION: right bottom;  BACKGROUND-REPEAT: no-repeat;\" bgcolor=#ffffff rightmargin=0 leftMargin=0 topMargin=0 bottommargin=0 MARGINHEIGHT=0 MARGINWIDTH=0><table width=100% border=0 cellpadding=0 cellspacing=0><tr><td bgcolor=#990003 background=img/bg_title_2.gif><table width=481 border=0 cellspacing=0 cellpadding=0 align=left> <!-- начало таблицы шапки --><tr><td  align=left valign=top><A href=index.php><img src=img/title_1_1_2.jpg width=61 height=80 border=0></A></td><td  align=left valign=top><A href=index.php><img src=img/title_2_2.gif width=420 height=70 border=0></A></td></tr></table></td></tr><tr><td align=center><table width=100% border=0 cellspacing=0 cellpadding=0 align=center><tr><td><img src=img/0.gif width=20 height=61 border=0></td><td align=justify width=95%><BR><BR>";
     var str222 = "		<BR><BR><BR><BR><BR></td><td><img src=img/0.gif width=12 height=61 border=0></td><td width=50  valign=top><div align=right><BR><BR><A href=index.php><img src=img/red_home.gif width=50 height=45 border=0 alt=На главную></a><A href=faq.html><img src=img/red_quest.gif width=50 height=50 border=0 alt=Часто задаваемые вопросы></a><a href=mailto:info@markarus.ru><img src=img/red_email.gif width=50 height=50 border=0 alt=Написать письмо></a></div></td></tr></table><BR><BR><BR></td></tr></table></body></html>";


     pop111=window.open("","", "toolbar=no,location=no,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=yes,width=500,height=500");
     pop111.focus();
     pop111.document.write(str111);
     pop111.document.write(news);
     pop111.document.write(str222);
    }//Open_Popup_News

    function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function expandDiv(tahw) {
  table_contract = new Image(1,1);
  table_contract.src = "t-open.gif";
  table_expand = new Image(1,1);
  table_expand.src = "t-close.gif";
  what  = tahw + "_menu"
  where = tahw + "_table"
  gotox  = tahw + "_link"
  if (document.getElementById(what).style.display == "none") {
    document.getElementById(what).style.display = "";
    where.src = table_expand.src;
    gotox.href = "http://soladesign.net/set.php?t=" + tahw + "&value=1"
  } else {
    document.getElementById(what).style.display = "none";
    where.src = table_contract.src;
    gotox.href = "http://soladesign.net/set.php?t=" + tahw + "&value=0"
  }
}
