function mover (tr)
{tr.style.backgroundColor='#ededed'}
function mout (tr)
{tr.style.backgroundColor='#ffffff'}

var FRONTEND_PRESENTATION_DIR='/_presentation';
var _SERVER_HOST='ru.forvo.com';
//var _flash_supported = getFlashVersion().split(',').shift()>6?true:false;
var player_path='/_presentation/swf/play.swf';


function Play(id, path_mp3, path_ogg) {
  var path_mp3='http://'+_SERVER_HOST+'/player-mp3Handler.php?path='+path_mp3;
  var path_ogg='http://'+_SERVER_HOST+'/player-oggHandler.php?path='+path_ogg;
  if (navigator.userAgent.toLowerCase().indexOf('iphone')!=-1) {
    window.location.href=path_mp3;
    return false;
  }
  var container=document.getElementById('player');
  var html='<audio autoplay="true">' + 
  '<source src="'+ path_mp3 +'">' +  
  '<source src="'+ path_ogg + '">' +  
	'<object type="application/x-shockwave-flash" data="'+player_path+'" width="1" height="1">'+
	'<param name="movie" value="'+player_path+'" />'+
	'<param name="flashvars" value="path='+path_mp3+'&amp;_SERVER_HTTP_HOST='+_SERVER_HOST+'" />'+
	'</object>' +  
  '</audio>';
  container.innerHTML=html;
  return true;
}

function show(id)
{
	if (document.getElementById(id).style.display == "")
	{
		document.getElementById(id).style.display = "none";
		document.getElementById(id+"_b").innerHTML = "[+]";
	}
	else
	{
		document.getElementById(id).style.display = "";
		document.getElementById(id+"_b").innerHTML = "[-]";
	}
}
