function getDispatchTable(oid){
	var path=document.getElementById('pathForDP').value;
	url=path+"?action=18&oid="+oid;
	sendAjaxRequest(url,processGetDispatchTable);
}
function processGetDispatchTable(){
	if(req.readyState == 4&&req.status == 200){
		document.getElementById("allFrame").innerHTML=req.responseText;
		document.getElementById('versand_background').style.display='block';
		document.getElementById('allFrameBox').style.display='block';
	}else if(req.readyState == 4){
		alert("Request Fail:"+req.statustext+" "+req.status);
	}
}
function closeDispatch(){
	document.getElementById('versand_background').style.display='none';
	document.getElementById('allFrameBox').style.display='none';
}
function set_bgblackDP(){
	var bodyhight=document.getElementsByTagName('body')[0].scrollHeight;
	var bodywidth=document.getElementsByTagName('body')[0].scrollWidth;
	document.getElementById('versand_background').style.width=bodywidth+'px';
	document.getElementById('versand_background').style.height=bodyhight+'px';
}

