var xhr0, xhr1;
function viewMovie(url){ 	XHRCall(xhr0, url + "text_content.php", textContentReturn); 	XHRCall(xhr1, url + "flash_content.php", flashContentReturn); 
} 
function textContentReturn(xhr){
	document.getElementById('text_content').innerHTML = xhr.responseText;}
function flashContentReturn(xhr){
	document.getElementById('flash_content').innerHTML = xhr.responseText;}
function XHRCall(xhr, url, returnFunction){	if (document.getElementById('loading'))		document.getElementById('loading').style.display = 'block';	try {
		xhr = new ActiveXObject('Msxml2.XMLHTTP');
	}	catch (e) 	{		try {
			xhr = new ActiveXObject('Microsoft.XMLHTTP');
		}		catch (e2) 		{			try 
			{
				xhr = new XMLHttpRequest();
			}			catch (e3) 
			{
				xhr = false;
			}		}	}	xhr.onreadystatechange  = function()	{ 		if(xhr.readyState  == 4)		{			if(xhr.status  == 200) 			{				returnFunction(xhr);				if (document.getElementById('loading'))				document.getElementById('loading').style.display = 'none';			}			/*else 			document.ajax.dyn="Error code " + xhr.status;*/		}	}; 	xhr.open("GET", url, true); 	xhr.send(null);}
