function ajaxFunction(name)
  {  
  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.getElementById("item81").innerHTML = xmlHttp.responseText;  // Relplace "video" with the name of your div. xmlHttp.responseText is what is returned by the server page
    }
 }
    xmlHttp.open("GET","/ajaxreturn.php?id_web="+name,true); // Path of PHP Page
    xmlHttp.send(null);  
                //scroll(0,0)        
}

function vidHide()
{
                //Hide the video when its finished playing
                document.getElementById("video").style.display = "none";
                if (document.getElementById("vid_back") != null)
                {
                                document.getElementById("vid_back").style.display = "none";
                }
}

