function openflv(file, width, height) {
  var w = width || 320, h = height || 240,
      p = "/flvplayer.swf?file="+file;
  var str = '<html><head><title>chelmed.ru</title></head><body style="margin:0">'+
   '<object width="'+w+'" height="'+h+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"' +
   ' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0">'+
   '<param name="movie" value="'+p+'" />'+
   '<param name="allowFullScreen" value="true" />'+
   '<embed src="'+p+'" type="application/x-shockwave-flash" wmode="transparent"'+
   ' width="'+w+'" height="'+h+'" allowFullScreen="true"></embed></object></body></html>';

  var wnd=window.open("","flv","toolbar=no,menubar=no,resize=no,width="+w+",height="+h);
  wnd.document.write(str);
  wnd.document.close();
}

function vvid(filen)
{
  w=window.open("","vvid","toolbar=yes,menubar=yes,width=350,height=320");
  w.document.write('<embed type="video/x-ms-wmv" src='+filen+' width="320" height="280"></embed>');
  w.document.close();
}

function search_t()
{
   a=this.document.getElementById('searcharea');
   if (a.value=='поиск') {a.value='';}

}

function gogo()
{

var e=0;
while((!google.feeds) && (e<10000000)) {e++;};
nc = new Array();
nc[0]=document.getElementById("nc0");
nc[1]=document.getElementById("nc1");
nc[2]=document.getElementById("nc2");
var feedpointer=new google.feeds.Feed("http://www.medlinks.ru/ultramode.xml");
var thisfeed="";
feedpointer.setNumEntries(3);
feedpointer.load(
  function(res)  {
    thisfeed=(!res.error)? res.feed.entries : "";
    if (thisfeed) {

      for(var i=0; i<3; i++) {
        var idt=new Date(thisfeed[i].publishedDate);
        nn='<td width="33%"><div class="n_n"><div class="n_date">'+idt.getDate()+' | '+idt.getMonth()+' | '+idt.getFullYear()+'</div>';
        nn+='<div class="n_title">'+thisfeed[i].title+'</div>';
        nn+='<div class="n_snipp"><a href="'+thisfeed[i].link+'">'+thisfeed[i].contentSnippet+'</a></div>';
        nn+='</div></td>';
        nc[i].innerHTML+=nn;
      }
      //nc.innerHTML+='<div class="br"></div>';
      //nc.innerHTML+='';
    }
  }
);

}
