function stateChangedLoadMe() 
{ 
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
		response=xmlHttp.responseText
		if (response==null)
			responseText="";
		else
			responseText=response;
		//window.alert(response);
		//document.documentElement.innerHTML="<head></head><body></body>";
		//window.alert(document.getElementById("temp1").innerHTML);
		document.getElementById("temp1").innerHTML=responseText;
		//window.alert(document.getElementById("temp1").innerHTML);
		//document.write(responseText);
		//document.recalc(true); 
		Init();
		Display();
	} 
} 

function stateChangedLoadC() 
{ 
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
		response=xmlHttp.responseText
		if (response==null)
			responseText="";
		else
			responseText=response;
		//window.alert(response);
		//document.documentElement.innerHTML="<head></head><body></body>";
		//window.alert(document.getElementById("temp1").innerHTML);
		document.getElementById("OFC").text=responseText;
		//window.alert(document.getElementById("temp1").innerHTML);
		//document.write(responseText);
		//document.recalc(true); 
		Init();
		Display();
	} 
} 

function LoadMe()
{
	//document.location.href="../../Templates/FlashCardTemplateTest.htm";  
	//return;
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		return
	} 
	var url=getServerName() + "/myweblets/kids/ProcessAjax.aspx?ACTION=GETFLASHCARDTEMPLATE";
	//window.alert(url);
	xmlHttp.onreadystatechange=stateChangedLoadMe
	xmlHttp.open("POST",url,true)
	xmlHttp.send("1;ghf;2");
}

function LoadC()
{
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		return
	} 
	var url=getServerName() + "/myweblets/kids/ProcessAjax.aspx?ACTION=GETFLASHCARDJS";
	//window.alert(url);
	xmlHttp.onreadystatechange=stateChangedLoadC
	xmlHttp.open("POST",url,true)
	xmlHttp.send("1;ghf;2");
}


