function popupShow(w,h,title,divname){
	var width=w-13;
	var fh=h-20;
	var sHTML = "<div id='popup_form' style='width:"+w+"px;height:"+h+"px;padding-top:0px;'><div class='"+divname+"'>"+
	"<table class=\"title-bar-table\"  cellpadding=\"0\" cellspacing=\"0\" ID=\"tblPopup\">" +
	"<col width="+width+"><col width=13>" +
	"<tr>" +
	"<td class=\"title-td left\">" +
	"	<div class=\"title-bar\"> "+title+"</div>" +
	"</td>" +
	"<td class=\"title-td right\" onclick=\"parent._popup.close();\" style='width:20px;padding-right:4px;'>" +
	"	<div class=\"title-bar close\" valign=\"top\" style=\"background:url('/x_icons/silk/cross.png') 4px 4px no-repeat;\">&nbsp;</div>" +
	"</td>" +
	"</tr>" +
	"<tr>" +
	"<td colspan=2 class=\"frame-td\" valign=top style='padding-top:10px;padding-bottom:10px;'>" +
		"<iframe src='/redirect.html' style='width:"+w+"px;height:"+fh+"px; border:none' width="+w+" height="+fh+" name='"+divname+"' id='"+divname+"'></iframe>"+
	"</td>" +
	"</tr>" +
	"</table>" +
	"</div></div>";

	_popup.create({html:sHTML});
}

function timeoutTD(){
	document.forms['TransportDirectPlanningForm'].submit();
}
