	function popInvoice(iDealerId, sOrderType, iId, bPrint)
	{
		sUrl = "/dealer/invoice.php?dealer=" + iDealerId + "&type=" + sOrderType + "&id=" + iId;
		if (typeof(bPrint) != "undefined" && bPrint == true) {
			sUrl += "&print=1";
		}
		open(sUrl, "rd_invoice", "width=550,height=500,resizable=yes,menubar=yes,scrollbars=yes");
	}

	// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
function	PopImage( picName ){
	var	newWin;
	newWin = window.open("/popupimage.php?picName=" + picName, "newWin", "width=20,height=20,scrollbars=no,menubar=no,resizable=yes" );
	newWin.focus();
}

function	PopImage1( picName ){
	var	newWin;
	newWin = window.open("/popupimage_test.php?picName=" + picName, "newWin", "width=20,height=20,scrollbars=no,menubar=no,resizable=yes" );
	newWin.focus();
}
