var pgnum = 0;
   
   	function getXmlHttp(){
			var xmlhttp;
			try {
				xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
				try {
					xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				} catch (E) {
					xmlhttp = false;
				}
			}
			if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
				xmlhttp = new XMLHttpRequest();
			}
			return xmlhttp;
		}
function showContent(link) {  
  
    var cont = document.getElementById('contentBody');  
    var loading = document.getElementById('loading');  
		pgnum = pgnum + 10; 
   
     var http = getXmlHttp();  
		if(http) {  
            
			http.open('get', link);  
            http.onreadystatechange = function () {  
                 
				 if(http.readyState == 4) {  
                    
					cont.innerHTML = cont.innerHTML + http.responseText;  
                
				}  
            
			}  
            
			http.send(null);      
         
		} else {  
            
			document.location = link;  
        
		}  
    }  
