/*---------------------------------------------------------*/

function app_DrawRamblerCounters()
{

/*
  <a href="http://top100.rambler.ru/top100/">
  <img src="http://counter.rambler.ru/top100.cnt?213630" alt="Rambler's Top100" width=1 height=1 border=0></a>
*/

/*  this function is not used since 2010-02-01 */
  if ( http_IsInternet() )
  {
    document.write("<a href='http://top100.rambler.ru/cgi-bin/stats_top100.cgi?213630' target='_top'>");
    document.write("<img src='http://images.rambler.ru/top100/banner-88x31-rambler-green2.gif' alt='" + g_RamblerAlt + "' width=88 height=31 border=0></a>");
  }
  else
  {
    document.write("<a href='http://top100.rambler.ru/cgi-bin/stats_top100.cgi?213630' target='_top'>");
    document.write("<img src='images/banner-88x31-rambler-green2.gif' alt='" + g_RamblerAlt + "' width=88 height=31 border=0></a>");
  }
}

/*---------------------------------------------------------*/

function app_DrawTopListCounters()
{
  if ( http_IsInternet() )
  {
    document.write("<a target=_blank href='http://top.list.ru/jump?from=175498'><img src='http://top.list.ru/counter?id=175498;t=30;l=1' border=0 height=31 width=88 alt='" + g_TopListAlt + "'></a>");
  }
  else
  {
    document.write("<a target=_blank href='http://top.list.ru/jump?from=175498'><img src='images/TopList.gif' border=0 height=31 width=88 alt='" + g_TopListAlt + "'></a>");
  }
}

/*---------------------------------------------------------*/

function app_FillBlocks()
{
  var aBlocks = Array ("Topper");
  htm_FillBlocks( aBlocks );
}

/*---------------------------------------------------------*/

function app_GoToOuterTarget()
{
  qs = location.search;

  sTParam = s_GetParamFromQueryString("f", qs );
  if (sTParam != "")
  {
    if (sTParam == "doors_to_sadolin")
    {parent.location = "http://www.sadolin.ru/";}

    if (sTParam == "doors_to_mikro")
    {parent.location = "http://www.micronika.com/";}
    
    if (sTParam == "doors_to_shoecare")
    {parent.location = "http://www.shoe-care.com/";}
    
    if (sTParam == "doors_to_hfp")
    {parent.location = "http://www.hfp.spb.ru/";}
    
    if (sTParam == "doors_to_pitermix")
    {parent.location = "http://www.pitermix.spb.ru/";}

    if (sTParam == "doors_to_psa")
    {parent.location = "http://www.ps-audit.ru/";}
    
    if (sTParam == "doors_to_msofficeext")
    {parent.location = "http://www.microsoft.ru/offext/hall/hall99-00/";}

    if (sTParam == "doors_to_vist")
    {parent.location = "http://www.vist.ru";}

    if (sTParam == "doors_to_anglofil")
    {location = "progs_discounts_anglofil.htm";}

    if (sTParam == "doors_to_umis")
    {parent.location = "progs_discounts_umis.htm";}

    if (sTParam == "doors_to_pizza01")
    {parent.location = "http://www.pizza01.ru/";}

    if (sTParam == "doors_to_eco")
    {parent.location = "http://www.ecostroi.spb.ru/";}
    
    if (sTParam == "doors_to_domains")
    {parent.location = "home.htm#domains";}
    
  }

}  

/*---------------------------------------------------------*/

function app_FillContent( sFileName )
{
  var oFrame = parent.frames['content'];
  if ( oFrame ) { oFrame.location = sFileName; }
  
//    starInVisible('');
}
