function tpl118_207(json_data){
try{
   var data_arr = JSON.parse(json_data);
}
catch(e){
   var data_arr = eval('('+json_data+')');
}
  function my_cut(str, _len){
    res=str;
    if (str.length>_len){
      res=str.substr(0, _len);
      last_sim=res.lastIndexOf(' ')
      if (last_sim!=-1){
        res=res.substr(0, last_sim);
      }
      if (res[res.length]=='.' || res[res.length]==',') res=res.substr(0, res[res.length]-1);
      res=res+'&nbsp;...';
    }
  return res;
  }
   str='';
   str+='<table class="TOhor90">';
   str+='<tr id="TOhor90_tr"><td class="TOhor90_td"><div class="TOhor90_cont">';
   for (var i=0;i<data_arr.length;i++){
       str+=' <div class="TOhor90_item">';
       str+='  <div class="TOhor90_img">';
       str+='   <a href="'+data_arr[i][2]+'" target="_blank">';
       str+='    <img class="TOhor90_image" src="'+data_arr[i][3]+'2'+data_arr[i][4]+'" width="60"  height="60" border="0" title="'+data_arr[i][0]+'" alt="'+data_arr[i][0]+'" />';
       str+='   </a>';
       str+='   <div class="TOhor90_price">';
       str+='    <a class="TOhor90_plink" href="'+data_arr[i][2]+'" target="_blank">';
       str+='     '+data_arr[i][5]+'';
       str+='    </a>';
       str+='   </div>';
       str+='  </div>';
       str+='  <div class="TOhor90_header">';
       str+='   <a class="TOhor90_hlink" href="'+data_arr[i][2]+'" target="_blank">';
       str+='    '+data_arr[i][0]+'';
       str+='   </a>	';
       str+='  </div>';
       str+='  <div class="TOhor90_text">';
       str+='   <a class="TOhor90_tlink" href="'+data_arr[i][2]+'" target="_blank">';
       str+='    '+data_arr[i][1]+'';
       str+='   </a>';
       str+='  </div>';
       str+='  <div class="TOhor90_dom">';
       str+='   <a class="TOhor90_dlink" href="'+data_arr[i][2]+'" target="_blank">';
       str+='    '+data_arr[i][6]+'';
       str+='   </a>';
       str+='  </div>';
       str+=' </div>	';
   }
   str+='</td></tr>';
   str+='</table>';
   document.getElementById('tradeone_118.207').innerHTML=str;
}

var cnt=0;
var c_name='tradeone';
if (document.cookie.length>0)
  {
  c_start=document.cookie.indexOf(c_name + "=");
  if (c_start!=-1)
    {
    c_start=c_start + c_name.length+1;
    c_end=document.cookie.indexOf(";",c_start);
    if (c_end==-1) c_end=document.cookie.length;
    cnt=unescape(document.cookie.substring(c_start,c_end));
    }
  }
var css="<style type='text/css'>";
css += ".TOhor90{";
css += "    background-color:#fff !important;";
css += "    width:auto;";
css += "    height:90px;";
css += "    overflow:hidden;";
css += "    font-family:Tahoma, Geneva, sans-serif;";
css += "    margin: 0 auto;   ";
css += "}";
css += "#TOhor90_tr{";
css += "    border-left:none !important;";
css += "    border-right:none !important;";
css += "}";
css += "td.TOhor90_td{";
css += "    padding:0 !important; ";
css += "    background-color:#ffffff !important;";
css += "}";
css += ".TOhor90_cont{";
css += "    width:auto;";
css += "    height:90px;";
css += "    overflow:hidden;";
css += "}";
css += ".TOhor90_item{";
css += "    width:240px;";
css += "    height:88px;";
css += "    float:left;";
css += "    overflow:hidden;   ";
css += "}";
css += ".TOhor90_img{";
css += "    width:77px;";
css += "    height:83px;";
css += "    float:left;";
css += "    padding-top:5px;";
css += "    text-align:center;";
css += "}";
css += ".TOhor90_image{";
css += "    border:0 !important;";
css += "}";
css += ".TOhor90_price{";
css += "    background:url('http://tradeone.com.ua/s/inf_img/ppn/90x730/btn.png') no-repeat top left;";
css += "    width:65px;";
css += "    height:15px;";
css += "    text-align:center;";
css += "    line-height:13px;";
css += "    margin-left:5px;";
css += "}";
css += "a.TOhor90_plink{";
css += "    color:#fff !important;";
css += "    font-size:10px !important;";
css += "    font-weight:bold !important;";
css += "    text-decoration:none !important;";
css += "}";
css += ".TOhor90_header{";
css += "    width:160px !important;";
css += "    height:30px !important;";
css += "    overflow:hidden !important;";
css += "    margin-top:3px !important;";
css += "    text-align:left !important;";
css += "}";
css += "a.TOhor90_hlink{";
css += "    color:#494949 !important;";
css += "    font-size:12px !important;";
css += "    font-weight:bold !important;";
css += "    text-decoration:underline !important;";
css += "}";
css += "a.TOhor90_hlink:hover{ ";
css += "    text-decoration:none !important;";
css += "}";
css += ".TOhor90_text{";
css += "    width:160px !important;";
css += "    height:28px !important;";
css += "    overflow:hidden !important;";
css += "    margin-top:3px !important;";
css += "    text-align:left !important;";
css += "    line-height:12px !important;";
css += "}";
css += "a.TOhor90_tlink{";
css += "    color:#5c5c5c !important;";
css += "    font-size:11px !important;";
css += "    text-decoration:none !important;";
css += "    line-height:13px !important;";
css += "}";
css += ".TOhor90_dom{";
css += "    width:150px;";
css += "    height:14px;";
css += "    overflow:hidden;";
css += "    margin-top:2px;";
css += "    text-align:left;";
css += "    padding-left:10px;";
css += "}";
css += "a.TOhor90_dlink{";
css += "    color:#197b30 !important;";
css += "    font-size:11px !important;";
css += "    text-decoration:underline !important;";
css += "}";
css += "a.TOhor90_dlink:hover{";
css += "    text-decoration:none !important;";
css += "}";
css += "</style>";
document.write(css);
var url="http://data.tradeone.com.ua/fjyphj6ynvuohiqtm6sc13ufdmdv9ygaitfxp4r5wc4cx05l1ni64gptjuok3esm5dn7rrlypdox1yn56kdr6t/118/207/5/"+cnt+".js";
document.write('<scr'+'ipt language="javascript" type="text/javascript" src="'+url+'"><'+'/scr'+'ipt>');
