function backloader(aspfile,value)
{

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.responseText);
	  setHeight();
	  
      }
    }
	var savedata;
	xmlHttp.open("GET",aspfile + ".asp?value=" + value + "&ar=true",true);

  xmlHttp.send(null);
  }


function contentloader(area,aspfile,value)
{

//document.getElementById('displaybox').height = document.getElementById('themenu').height;
//alert(document.getElementById('themenu').height)

if (navigator.appName != 'Netscpage') {
if (area == 'video') {
if (document.applets.vxmPlayer)
{ 
//document.applets.vxmPlayer.stop_playback();
}
}
}
//alert(navigator.appName);

//document.getElementById('loading').innerHTML='<img src="images/loading.gif" />';
	  

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(area).innerHTML=xmlHttp.responseText;
	  setHeight();
	  
      }
    }
	var savedata;
	xmlHttp.open("GET",aspfile + ".asp?value=" + value + "&ar=true",true);

  xmlHttp.send(null);
  }
  
  
  function searchfunc(i)
	{
	var phrase = document.getElementById('search').value
    contentloader('menu','/pieces/results',phrase)
    }
	
function largecontentloader(area,aspfile,value1,value2,value3)
{

if (navigator.appName != 'Netscpage') {
if (area == 'video') {
if (document.applets.vxmPlayer)
{ 
//document.applets.vxmPlayer.stop_playback();
}
}
}
//alert(navigator.appName);

//document.getElementById('loading').innerHTML='<img src="images/loading.gif" />';
	  

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(area).innerHTML=xmlHttp.responseText;
	  setHeight();
	  
      }
    }
	var savedata;
	xmlHttp.open("GET",aspfile + ".asp?value1=" + value1 + "&value2=" + value2 + "&value3=" + value3 + "&ar=true",true);

  xmlHttp.send(null);
  }