 function show_load()
  {
   var loading=document.getElementById("loading");
   var loading1=document.getElementById("loading1");

	loading.style.width=getDocumentWidth()+"px";
	loading.style.height=getDocumentHeight()+"px";
loading1.style.position='absolute';
loading1.style.zIndex=2;
loading1.style.top=getClientCenterY()+"px";
loading1.style.left=getClientCenterX()+"px";
    loading.style.display="block";
    loading1.style.display="block";
  }

 function show_no()
  {
    document.getElementById("loading").style.display="none";
   document.getElementById("loading1").style.display="none";
  }

function getDocumentHeight()
{
	return (document.body.scrollHeight > document.body.offsetHeight)?document.body.scrollHeight:document.body.offsetHeight;
}

function getDocumentWidth()
{
	return (document.body.scrollWidth > document.body.offsetWidth)?document.body.scrollWidth:document.body.offsetWidth;
}


function getBodyScrollTop()
{
	return self.pageYOffset || (document.documentElement && document.documentElement.scrollTop) || (document.body && document.body.scrollTop);
}

function getBodyScrollLeft()
{
	return self.pageXOffset || (document.documentElement && document.documentElement.scrollLeft) || (document.body && document.body.scrollLeft);
}


function getClientWidth()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
}

function getClientHeight()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight;
}


function getClientCenterX()
{
	return parseInt(getClientWidth()/2)+getBodyScrollLeft()-50;
}

function getClientCenterY()
{
	return parseInt(getClientHeight()/2)+getBodyScrollTop()-100;
}
