// variables
var xmlHttp






// function to get course
function getContent1()
{ 
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	 {
		 alert ("Browser does not support HTTP Request")
		 return
	 }
	var url="oracle_admin_1.php"
	//url=url+"&sid="+Math.random()
	xmlHttp.onreadystatechange=stateChanged1 
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
}

function getContent2()
{ 
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	 {
		 alert ("Browser does not support HTTP Request")
		 return
	 }
	var url="oracle_admin_2.php"
	//url=url+"&sid="+Math.random()
	xmlHttp.onreadystatechange=stateChanged2 
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
}

function getContent3()
{ 
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	 {
		 alert ("Browser does not support HTTP Request")
		 return
	 }
	var url="program_with_pl_sql.php"
	//url=url+"&sid="+Math.random()
	xmlHttp.onreadystatechange=stateChanged3 
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
}
function getContent4()
{ 
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	 {
		 alert ("Browser does not support HTTP Request")
		 return
	 }
	var url="sql_tuning.php"
	//url=url+"&sid="+Math.random()
	xmlHttp.onreadystatechange=stateChanged4 
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
}








function stateChanged1() 
{ 
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	 { 
	 	document.getElementById("txt1").innerHTML=xmlHttp.responseText 
	 } 
}
function stateChanged2() 
{ 
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	 { 
	 	document.getElementById("txt2").innerHTML=xmlHttp.responseText 
	 } 
}
function stateChanged3() 
{ 
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	 { 
	 	document.getElementById("txt3").innerHTML=xmlHttp.responseText 
	 } 
}
function stateChanged4() 
{ 
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	 { 
	 	document.getElementById("txt4").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;
}