var linkArray = new Array();
linkArray[0] = '<a href="news/believe.htm">Marcus Believes</a>'
linkArray[1] = '<a href="news/worddocs/Art_Contest_Rules2009.pdf" target="_blank">MLK Art Contest</a> <a href="news/worddocs/Essay_Contest_Rules2009.pdf" target="_blank">MLK Essay Contest</a>'
linkArray[2] = '<a href="activit/worddocs/santa.pdf">Pictures With Santa!<img src="weblib/pdf.gif" width="16" height="16" border="0"></a>'
linkArray[3] = '<a href="news/news005.htm">More Info</a>'
linkArray[4] = '<a href="news/worddocs/h1n1_update.pdf">H1N1 News Letter<img src="weblib/pdf.gif" width="16" height="16" border="0"></a>'
linkArray[5] = '<a href="news/worddocs/ParentHandout.pdf">Parent Handout<img src="weblib/pdf.gif" width="16" height="16" border="0"></a>'
linkArray[6] = '&nbsp'
linkArray[7] = '&nbsp'
linkArray[8] = '<a href="info/worddocs/psatinstruc.pdf" target="_blank">Understanding PSAT Results</a>'

function ajaxFunctionMain()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_main.asp",true);
xmlhttp.send(null);
document.Image1.src="images/TEA_EXEMPLARY_SEALsmall.jpg";
document.Image1.title="TEA Exemplary Seal";
contentBox.innerHTML = linkArray[0];
}

function ajaxFunction1()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_1.asp",true);
xmlhttp.send(null);
document.Image1.src="images/shieldcolor.jpg";
document.Image1.title="Open House";
contentBox.innerHTML = linkArray[8];
}


function ajaxFunction2()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_2.asp",true);
xmlhttp.send(null);
document.Image1.src="images/ribbon.gif";
contentBox.innerHTML = linkArray[1];
}

function ajaxFunction3()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_3.asp",true);
xmlhttp.send(null);
document.Image1.src="news/images/taks.gif";
document.Image1.title="TAKS";
contentBox.innerHTML = linkArray[7];
}


function ajaxFunction4()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_4.asp",true);
xmlhttp.send(null);
document.Image1.src="images/SAT_prep.gif";
document.Image1.title="SAT_prep";
contentBox.innerHTML = linkArray[3];
}


function ajaxFunction5()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_8.asp",true);
xmlhttp.send(null);
document.Image1.src="images/dentoncounty.jpg";
document.Image1.title="Denton County, TX Logo";
contentBox.innerHTML = linkArray[4];
}


function ajaxFunction6()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_6.asp",true);
xmlhttp.send(null);
document.Image1.src="news/images/ap.jpg";
document.Image1.title="AP Exam Registration";
contentBox.innerHTML = linkArray[7];
}


/* Script Not In Use


function ajaxFunction7()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_6.asp",true);
xmlhttp.send(null);
document.Image1.src="images/ptsa_beauty.gif";
contentBox.innerHTML = linkArray[5];
}

*/

function ajaxFunction8()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_7.asp",true);
xmlhttp.send(null);
document.Image1.src="images/shieldcolor.jpg";
document.Image1.title="Drop Off/Pick Up Notice";
contentBox.innerHTML = linkArray[6];
}

function ajaxFunction9()
{
var xmlhttp;
var contentBox = document.getElementById("link");
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  alert("Your browser does not support XMLHTTP!");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState==4)
  {
  document.myForm.time.value=xmlhttp.responseText;
  }
}
xmlhttp.open("GET","news_items/newsitem_5.asp",true);
xmlhttp.send(null);
document.Image1.src="images/drug_aware.jpg";
document.Image1.title="Drug Awareness Meeting";
contentBox.innerHTML = linkArray[5];
}