<!--//

function displayPageContent(sText) {
            var divpageContent =  document.getElementById('selRight');
            divpageContent.innerHTML = sText;
			
}


function requestPageContents(){
	
	var oXmlHttp = zXmlHttp.createRequest();
	var cID = document.sForm.catID.options[document.sForm.catID.selectedIndex].value;
	oXmlHttp.open("get", "fetch_article_details.php?cID=" + cID, true );
	oXmlHttp.onreadystatechange = function(){		
		if(oXmlHttp.readyState >= 3){				
			if(oXmlHttp.status==200){					
				displayPageContent(oXmlHttp.responseText);	
				
			} else {
				displayPageContent("An error occurred: " + oXmlHttp.statusText);					
			}		
		}	
	};
	oXmlHttp.send(null);
	
}


//-->