function createRequestObject()
{
   var ro;
   var browser = navigator.appName;
   
   if(browser == "Microsoft Internet Explorer")
   {
      ro = new ActiveXObject("Microsoft.XMLHTTP");
   }
   else
   {
      ro = new XMLHttpRequest();
   }
   
   return ro;
}

var http = createRequestObject();

function sndReq(action)
{
   http.open('get', action);
   http.onreadystatechange = handleResponse;
   http.send(null);
}

function handleResponse()
{
   if(http.readyState == 4)
   {
      var response = http.responseText;
      var update = new Array();

      if(response.indexOf('|') != -1)
      {
         update = response.split('|');
         document.getElementById(update[0]).innerHTML = update[1];
      }
   }
}

function openWin(page)
{
   window.open(page,"win","width=400,height=350,status=0,scrollbars=0,resizable=0")
}

function openWinTxt(page)
{
   window.open(page,"winTxt","width=370,height=700,status=0,scrollbars=1")
}

function openWinTxtSmall(page)
{
   window.open(page,"winTxtSmall","width=350,height=220,status=0,scrollbars=0,resizable=0")
}

function openWinMov(page)
{
   window.open(page,"win","width=958,height=682,status=0,scrollbars=0,resizable=0")
}

function adjustIndex(status)
{
//   if (!(navigator.appName == "Microsoft Internet Explorer"))
//   {
      if (status == "over")
      {
         document.getElementById('holder').style.zIndex = 0;
      }
      else if (status == "out")
      {
         document.getElementById('holder').style.zIndex = 3;
      }
//   }
}


