

function Update_player_counter()
	{
		
	//alert("B4 ajax..");
	var xmlHttp;
	
	try
	  {
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
	  }
	catch (e)
	  {
	  // Internet Explorer
	  try
		{
		xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
	  catch (e)
		{
		try
		  {
		  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		  }
		catch (e)
		  {
		  alert("Your browser does not support AJAX!");
		  return false;
		  }
		}
	  }
	  xmlHttp.onreadystatechange=function()
		{
		if(xmlHttp.readyState==4)
		  {
			  //alert(xmlHttp.readyState);
			  //alert(xmlHttp.status);
			if(xmlHttp.status == 200) 
				{
					//document.myForm.time.value=xmlHttp.responseText;
				  //alert(xmlHttp.readyState);
				  //document.getElementById('player').innerHTML=xmlHttp.responseText;				 
				  //alert(xmlHttp.responseText);
				}		  
		  }
		}
		
	  xmlHttp.open("GET","Video_counter.asp",true);
	  xmlHttp.send(null);
	  }




/*
function LoadVideofile(param)
{
var xmlHttp;

try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4)
      {
      //document.myForm.time.value=xmlHttp.responseText;
	  //alert(xmlHttp.responseText);
	  //document.getElementById('player').innerHTML=xmlHttp.responseText;
	  //alert(xmlHttp.responseText);
      }
    }
	
  xmlHttp.open("GET","Video_counter.asp",true);
  xmlHttp.send(null);
  }
*/


function LoadVideofile1(param)
{
var xmlHttp;

try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4)
      {
      //document.myForm.time.value=xmlHttp.responseText;
	  //alert(xmlHttp.responseText);
	  document.getElementById('player').innerHTML=xmlHttp.responseText;
	  //alert(xmlHttp.responseText);
      }
    }
	
  xmlHttp.open("GET","file_load1.asp?src=" + param,true);
  xmlHttp.send(null);
  }


function VideoMute(param)
	{
	/*alert ("hello");*/
	var xmlHttp;
	
	try
	  {
	  // Firefox, Opera 8.0+, Safari
	  xmlHttp=new XMLHttpRequest();
	  }
	catch (e)
	  {
	  // Internet Explorer
	  try
		{
		xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
	  catch (e)
		{
		try
		  {
		  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		  }
		catch (e)
		  {
		  alert("Your browser does not support AJAX!");
		  return false;
		  }
		}
	  }
	  xmlHttp.onreadystatechange=function()
		{
		if(xmlHttp.readyState==4)
		  {
		  //document.myForm.time.value=xmlHttp.responseText;
		  alert(xmlHttp.responseText);
		  
		  document.getElementById('video_container').innerHTML=xmlHttp.responseText;
		  //alert(xmlHttp.responseText);
		  }
		}
		
	  xmlHttp.open("GET","video/file_load2.asp?volume=" + param,true);
	  xmlHttp.send(null);
	  }


