	var xmlHttp //variable
	
	//send the content
	function dynamicContent(state)
	{ 
		xmlHttp=GetXmlHttpObject()
		if (xmlHttp==null)
		  { alert ("Please update your browser");
		  return;
		  } 
		  
		if (state=="none")
		{var url="/cliffordbebig/promise/process.asp?from=all";
		xmlHttp.onreadystatechange=stateChanged1;
		}
		else
		{var url="/cliffordbebig/promise/process.asp?from=state&st=" + state;
		xmlHttp.onreadystatechange=stateChanged2;
		}
		
		xmlHttp.open("GET",url,true);
		xmlHttp.send(null);
	} 
	
	function EmailAll(URL)
	{ 
		xmlHttp=GetXmlHttpObject()
		if (xmlHttp==null)
		  { alert ("Please update your browser");
		  return;
		  } 
		  
		var url="/cliffordbebig/promise/process.asp?from=emailall&" + URL;
		xmlHttp.onreadystatechange=stateChanged3;
		xmlHttp.open("GET",url,true);
		xmlHttp.send(null);
	} 
	
	
	function ScrollText()
	{ 
		xmlHttp=GetXmlHttpObject()
		if (xmlHttp==null)
		  { alert ("Please update your browser");
		  return;
		  } 
		  
		var url="/cliffordbebig/promise/process.asp?from=scrolltext";
		xmlHttp.onreadystatechange=stateChanged4;
		xmlHttp.open("GET",url,true);
		xmlHttp.send(null);
	} 
	
	//if it is complete, send the data to the ID
	function stateChanged1() 
	{ 	if (xmlHttp.readyState==4)
		{	setupDigits1(xmlHttp.responseText);
			ScrollText();
		}
	}
	
	function stateChanged2() 
	{ 	if (xmlHttp.readyState==4)
		{	setupDigits2(xmlHttp.responseText);
		}
	}
	
	function stateChanged3() 
	{ 	if (xmlHttp.readyState==4)
		{	bbShowThanks();
		}
	}
	
	function stateChanged4() 
	{	if (xmlHttp.readyState==4)
		{	tiker(xmlHttp.responseText);
		}
	}
	
	
	//Creat XML http Object
	function GetXmlHttpObject()
	{	var xmlHttp=null;
		try
		  {xmlHttp=new XMLHttpRequest();}
		catch (e)
		  { try
			{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
		  catch (e)
			{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}
		  }
		return xmlHttp;
	}
	


