function exec_ajax(dv,strURL){
var xmlHttp;
//	load_init(dv);
	if(window.XMLHttpRequest){ // For Mozilla, Safari, ...
		var xmlHttp = new XMLHttpRequest();
	}
	else if(window.ActiveXObject){ // For Internet Explorer
		var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlHttp.open('POST', strURL, true);
	xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	xmlHttp.onreadystatechange = function(){
		if (xmlHttp.readyState == 4){
			process(dv,xmlHttp.responseText);
		}
	}
	xmlHttp.send(strURL);
}

function process(dv,str){
	div = document.getElementById(dv);
	div.innerHTML = str;
}

function shpdf()
{
    var field1=document.pdftest.f1.value
    var field2=document.pdftest.f2.value


    process('pdf_list','Please wait while loading ...');
    exec_ajax('pdf_list','/test3support.php?field1=' + field1 + '&field2=' + field2);
}
