// home HEAD script

function news_view() {
var newsList_xmlHttp=null;
try
{
// Firefox, Opera 8.0+, Safari
newsList_xmlHttp=new XMLHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
newsList_xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
newsList_xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
}
    newsList_xmlHttp.onreadystatechange=function() {
      if (newsList_xmlHttp.readyState==4) {
if (newsList_xmlHttp.responseText != "") {
document.getElementById("nlist").innerHTML = newsList_xmlHttp.responseText;
}
};};
	newsList_C = "ajax/newsEdit/nlist.asp";
    newsList_xmlHttp.open("POST",newsList_C,true);
	newsList_xmlHttp.setRequestHeader ("Content-Type", "application/x-www-form-urlencoded");
    newsList_xmlHttp.send();
}

news_view();

function tables() {

var tables_xmlHttp=null;
try
{
// Firefox, Opera 8.0+, Safari
tables_xmlHttp=new XMLHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
tables_xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
tables_xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
}
    tables_xmlHttp.onreadystatechange=function() {
      if (tables_xmlHttp.readyState==4) {
if (tables_xmlHttp.responseText != "") {
document.getElementById("t_view").innerHTML = tables_xmlHttp.responseText;
}
};};
	tables_C = "ajax/tablesEdit/hometables.asp";
    tables_xmlHttp.open("POST",tables_C,true);
	tables_xmlHttp.setRequestHeader ("Content-Type", "application/x-www-form-urlencoded");
    tables_xmlHttp.send();
}

tables();

function viewTable(id) {
document.homepage.lID.value = id;
document.homepage.action = "tables.asp";
document.homepage.submit();	
}
