// @version $Id: merchant.js,v 1.3 2004/02/18 09:45:00 mholl Exp $
//
// Function to enable use of the Valista system.  The function below opens a Payment
// Panel with the dimensions required by Valista.  These dimensions have been
// widely distributed - pages to be displayed within the pop-up window are
// optimized for display at this size.  This function can be used either
// directly as the action of a link, or within other JavaScript which prepares a
// URL for display.  In either case, this function should be used as the last
// step to actually access the Payment Panel.
//
// Within an html page, this script can be accessed simply by including it via a
// line of the following form:
//		<script language="JavaScript" src="<PATH>/MerchantJavaScript.js"></script>
//
// @param url - A single URL which will be used as the contents of a pop-up
// 							window.  This URL can have parameters which will be interpreted
//							by the resource identified by the URL.
//
function openPanel(url) {
	//alert(url);
 	var win = window.open(url, 'valista_PaymentPanel','width=544,height=600,left=10,top=10,status');
}
