// JScript source code

       
 //Function for ajax loading                        
function loadContent(page,nyear)
 {  

  var xmlhttpN;
  document.getElementById("year"+nyear+"").style.height="500px";
var inttxt="<table width='100%' height='100%'><tr ><td height='100px' width='200px'  style='text-align:center' valign='middle' >";
inttxt+="<img align='CENTER' src='../../../../images/india/animated_preloader.gif' />";
inttxt+="</td></tr></table>";
document.getElementById("year"+nyear+"").innerHTML=inttxt;
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttpN=new XMLHttpRequest();
  }
else if (window.ActiveXObject)
  {
  // code for IE6, IE5
  xmlhttpN=new ActiveXObject("Microsoft.XMLHTTP");
  }
else
  {
  //window.location="unsuscribedetails.asp?emailid="+document.getElementById("txtEmail").value+"";
  //alert("Your browser does not support XMLHTTP!");
  }
  xmlhttpN.onreadystatechange=function()
  {
  if(xmlhttpN.readyState==4)
  {
  document.getElementById("year"+nyear+"").innerHTML=xmlhttpN.responseText;
  document.getElementById("year"+nyear+"").style.height="100%"
  }
  
 
  }
xmlhttpN.open("GET","escan_news20"+nyear+".asp?page="+page+"",true);
xmlhttpN.send(null);


 }
