
/* alert('in this file:'); */

function testJS(id) {
//	alert('testJS:'.id);
	}

function getDBContent(id) {
/* 	alert('getPhoto'); */
	
	
	
	var df = new net.ContentLoader('/Faculty/getFacPubs.php5?f_id='+id,setPubs,null,'GET',null,null,'dbPubs');
	
//	var dg = new net.ContentLoader('/Faculty/getFacPresAll.php5?f_id='+id,setPres,null,'GET',null,null,'dbPres');
	
}

function setPubs()  {
/* 	alert('PlacePhoto: '+this.req.responseText); */
	if(this.req.responseText.length > 10) {
		heading = '<h2 class="facultyHeader">Selected publications<\/h2>';
		document.getElementById('dbPubs').innerHTML =  heading + this.req.responseText;
	}
}	


function setPres()  {
/* 	alert('PlacePhoto: '+this.req.responseText); */
	if(this.req.responseText.length > 10) {
		heading = '<h2 class="facultyHeader">Selected presentations<\/h2>';
		document.getElementById('dbPres').innerHTML = heading + this.req.responseText;
	}	
}	