// JavaScript Document
var xmlHttp = false;
form="";
try 
{
  xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} 
catch (e) 
{
  try 
  {
    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
  } 
  catch (e2) 
  {
    xmlHttp = false;
  }
}
if (!xmlHttp && typeof XMLHttpRequest != 'undefined') 
{
  xmlHttp = new XMLHttpRequest();
}
 function call_ajax_functions(url,prm,crm,eve) 
{
URL=escape(url)+'?prm='+escape(prm)+'&crm='+escape(crm)+'&eve='+eve;
//alert(URL);
 xmlHttp.open("GET", URL, true);
 xmlHttp.onreadystatechange = returnmovievalue;
 xmlHttp.send(null);
}
 
function returnmovievalue() 
{
  if (xmlHttp.readyState == 4) 
  {
    var response = xmlHttp.responseText;
 if(response!='') 
 {
 // alert(response);
  arr=response.split("|");
  document.getElementById('showcalender').innerHTML=arr[0];
  document.getElementById('eventlist').innerHTML=arr[1];
  return false;
 }
  }
}

