<!--//
/** PR Page **/
function displayPageContent(sText) {
            var divpageContent = document.getElementById("portfolioDetails");
            divpageContent.innerHTML = sText;
}

function requestPageContents(pageID){
	var oXmlHttp = zXmlHttp.createRequest();
	oXmlHttp.open("get", "fetch_clients.php?pID=" + pageID, 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);
}

/** PR Page **/

function displayPRContent(sText) {
            var divpageContent = document.getElementById("prDetails");
            divpageContent.innerHTML = sText;
	    
}


function requestPRContents(pageID){
	var oXmlHttp = zXmlHttp.createRequest();
	oXmlHttp.open("get", "fetch_pr.php?prID=" + pageID, true );
	oXmlHttp.onreadystatechange = function(){		
		if(oXmlHttp.readyState >= 3){				
			if(oXmlHttp.status==200){					
				displayPRContent(oXmlHttp.responseText);	
				
			} else {
				displayPRContent("An error occurred: " + oXmlHttp.statusText);					
			}		
		}	
	};
	oXmlHttp.send(null);
}



//-->
