// ¾ÆÀÌµð Áßº¹ Ã¼Å©
function send_ajax(url, target, pfunc) {
//  var url = "./duplicatID.php";

  var req = req_xmlhttp();
   req.open("GET", url+((url.indexOf('?') != -1)? "&": "?")+"nocache="+new Date().getTime(), true);
    if (pfunc) {
		req.onreadystatechange = function() {
			if (req.readyState == 4 && req.status == 200) {
				pfunc(target, req);
			}
		}
	}
	req.send(null);
}

function req_xmlhttp() {
	var obj = null;
    if (window.ActiveXObject) {
        obj = new ActiveXObject("Msxml2.XMLHTTP");
        if (!obj) obj = new ActiveXObject("Microsoft.XMLHTTP");
    }
    else if (window.XMLHttpRequest) obj = new XMLHttpRequest();

    return obj;
};