// JavaScript Document

function throbber_show() {
var loadx = 0, loady = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    loadx = window.innerWidth / 2;
    loady = window.innerHeight / 2;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    loadx = document.documentElement.clientWidth / 2;
    loady = document.documentElement.clientHeight / 2;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    loadx = document.body.clientWidth / 2;
    loady = document.body.clientHeight / 2;
  }
document.getElementById('loading').style.top=(loady-50) +'px';
document.getElementById('loading').style.left=(loadx-60) +'px';
document.getElementById('loading').style.display='';
	
}


function throbber_hide() {	document.getElementById('loading').style.display='none';}


function GetXmlHttpObject(){
var xmlHttp=null;
var browser = navigator.appName;
if(browser == "Microsoft Internet Explorer"){
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}else{ xmlHttp = new XMLHttpRequest();
} return xmlHttp; }






