
	var xmlhttp=false;

/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
// and security blocked creation of the objects.

 	try
 	{
  		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
 	}
 	catch (e)
 	{
  		try
  		{
  			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  		}
  		catch (E)
		{
			xmlhttp = false;
		}
 	}

@end @*/

	if (!xmlhttp && typeof XMLHttpRequest!='undefined')
	{
		try
		{
			xmlhttp = new XMLHttpRequest();
		}
		catch (e)
		{
			xmlhttp=false;
		}
	}
	if (!xmlhttp && window.createRequest)
	{
		try
		{
			xmlhttp = window.createRequest();
		}
		catch (e)
		{
			xmlhttp=false;
		}
	}


	function sendRequest(method, url, el)
	{
		if (el == "1")
		{
			el = "content";
			url= "./ajax/vmarkcontent.ajax.php?"+url;
		}
		if (el == "2")
		{
			el = "flashplayer";
			url= "./ajax/flashplayer.ajax.php?"+url;
		}
		if (el == "3")
		{
			el = "content";
			url = "./ajax/vodvmarkcontent.ajax.php?"+url;
		}

 		xmlhttp.open(method, url ,true);
 		xmlhttp.onreadystatechange=function()
 		{
  			if (xmlhttp.readyState==4)
  			{
   				//alert(xmlhttp.responseText)
   				document.getElementById(el).innerHTML = xmlhttp.responseText;
  			}
 		}
 		xmlhttp.send(null)
	}