// JavaScript Document
var xmlHttp 

//start function
function show_detail_fiv_dim(int)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="five_dim_of_education.asp";
//url=url+"?q="+int;
//url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("post",url,true);
xmlHttp.send(null);
}
//end function

//start function
function show_detail_art_of_parenting(int)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="art_of_parenting.asp";
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("post",url,true);
xmlHttp.send(null);
}
//end function

//start function
function show_detail_meditation_camp(int)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="meditationcamp.asp";
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("post",url,true);
xmlHttp.send(null);
}
//end function

//start function
function show_detail_children_creativity(int)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="children_creativity.asp";
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("post",url,true);
xmlHttp.send(null);
}
//end function

//start function
function show_detail_amazing_facts(int)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="amazing_facts.asp";
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("post",url,true);
xmlHttp.send(null);
}
//end function

//start function
function show_detail_secret_of_education(int)
{ 
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="secret_of_education.asp";
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.open("post",url,true);
xmlHttp.send(null);
}
//end function



function stateChanged() 
{ 
if (xmlHttp.readyState==4)
{ 
document.getElementById("change_txt").innerHTML=xmlHttp.responseText;
}
}

function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}

