// Mach.js


function PopUp(URL) {

	PopUpSize(URL, 300, 230, false)
	return


}

function PopUpSize(URL, Width, Height, ScrollBars) {

	var strType

	if (ScrollBars)
		strType = 'scrollbars=yes'
	else
		strType = 'scrollbars=no'
			
	strType += ',resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,'
	strType += 'width=' + Width
	strType += ',height=' + Height
	
	window.open(URL, '', strType)
	return
}



function ConfirmOpenURL(URL, Msg) {
	if (confirm(Msg))
		location.replace(URL)
	return
}

