﻿function popUp(Mywindow, Navn, bredde, hoejde, scrollbar){
	if (navigator.appName != "Microsoft Internet Explorer")
		window.open(Mywindow,Navn, 'width=' + bredde + ',height=' + hoejde + ',scrollbars='+scrollbar+',toolbar=0,menubar=0,resizable=0');
	else
	if (navigator.appVersion >= "4")
		window.open(Mywindow, Navn, 'width=' + bredde + ',height=' + hoejde + ',scrollbars='+scrollbar+',toolbar=0,menubar=0,resizable=0');
	else
		window.open(Mywindow, Navn, 'width=' + bredde + ',height=' + hoejde + ',scrollbars='+scrollbar+',toolbar=0,menubar=0,resizable=0');
}

// opens the ewire payment window...
function ewire_openpaymentwindow(queryStr) {
	nHeight = 476;
	nWidth = 700;
	nLeft = (screen.width/2) - (nWidth/2)
	nTop = (screen.height/2) - (nHeight/2)
						
	window.open(
		"/betaling/payment_send_toEwire.asp" + queryStr,
		"micropayment",
		"height=" + nHeight + ", width=" + nWidth + ", left=" + nLeft + ", top=" + nTop + ", status=1, location=0,toolbar=0,scrollbars=0,menubar=0"
	);
}		

